@yuihub/mcp-server 1.0.0-beta.4 → 1.0.0-beta.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +84 -0
  2. package/package.json +2 -2
package/README.md ADDED
@@ -0,0 +1,84 @@
1
+ # @yuihub/mcp-server
2
+
3
+ **YuiHub MCP Protocol Adapter**
4
+
5
+ Model Context Protocol (MCP) を通じて YuiHub のセマンティックメモリ機能を AI エージェント (Antigravity, Cursor, Claude Desktop) に提供。
6
+
7
+ ## クイックスタート
8
+
9
+ ```bash
10
+ # stdio モードで起動
11
+ npx @yuihub/mcp-server
12
+
13
+ # グローバルインストール
14
+ npm install -g @yuihub/mcp-server
15
+ yuihub-mcp
16
+ ```
17
+
18
+ ## 設定
19
+
20
+ ### Antigravity
21
+
22
+ `~/.gemini/antigravity/mcp_config.json`:
23
+
24
+ ```json
25
+ {
26
+ "mcpServers": {
27
+ "yuihub": {
28
+ "command": "npx",
29
+ "args": ["-y", "@yuihub/mcp-server"]
30
+ }
31
+ }
32
+ }
33
+ ```
34
+
35
+ ### Cursor
36
+
37
+ `~/.cursor/mcp.json`:
38
+
39
+ ```json
40
+ {
41
+ "mcpServers": {
42
+ "yuihub": {
43
+ "command": "npx",
44
+ "args": ["-y", "@yuihub/mcp-server"]
45
+ }
46
+ }
47
+ }
48
+ ```
49
+
50
+ ## 前提条件
51
+
52
+ `@yuihub/server` が起動している必要があります:
53
+
54
+ ```bash
55
+ npx @yuihub/server
56
+ ```
57
+
58
+ ## MCP ツール
59
+
60
+ | ツール | 説明 |
61
+ | :------------------ | :------------------- |
62
+ | `save_thought` | メモリに保存 |
63
+ | `search_memory` | セマンティック検索 |
64
+ | `start_session` | セッション作成 |
65
+ | `fetch_context` | コンテキスト取得 |
66
+ | `create_checkpoint` | チェックポイント作成 |
67
+
68
+ ## MCP リソース
69
+
70
+ | URI | 説明 |
71
+ | :----------------------- | :----------- |
72
+ | `yuihub://recent` | 最近のメモリ |
73
+ | `yuihub://system/status` | システム状態 |
74
+
75
+ ## 環境変数
76
+
77
+ | 変数 | デフォルト | 説明 |
78
+ | :--------------- | :---------------------- | :-------------- |
79
+ | `YUIHUB_API_URL` | `http://localhost:4182` | Backend API URL |
80
+ | `YUIHUB_TOKEN` | (自動取得) | 認証トークン |
81
+
82
+ ## ライセンス
83
+
84
+ MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuihub/mcp-server",
3
- "version": "1.0.0-beta.4",
3
+ "version": "1.0.0-beta.7",
4
4
  "description": "YuiHub MCP Server - Protocol Adapter for Semantic Memory",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -28,7 +28,7 @@
28
28
  "dependencies": {
29
29
  "@modelcontextprotocol/sdk": "^1.25.2",
30
30
  "zod": "^4.3.5",
31
- "@yuihub/core": "1.0.0-beta.4"
31
+ "@yuihub/core": "1.0.0-beta.7"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@types/node": "^25.0.9",