@hiveai/mcp 0.8.0 → 0.9.2

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.
package/README.md CHANGED
@@ -8,11 +8,15 @@ Connect your AI coding tools to a shared, version-controlled knowledge base. Eve
8
8
 
9
9
  ## Install
10
10
 
11
+ **Recommended:** install only `@hiveai/cli`. The MCP server is **bundled** inside `haive` — configure clients with `command: "haive"` and `args: ["mcp", "--stdio"]` (see `@hiveai/cli` README).
12
+
13
+ Standalone package (legacy / advanced):
14
+
11
15
  ```bash
12
16
  npm install -g @hiveai/mcp
13
17
  ```
14
18
 
15
- Also install the CLI to manage memories:
19
+ You usually still want the CLI for `haive init`, `haive sync`, etc.:
16
20
 
17
21
  ```bash
18
22
  npm install -g @hiveai/cli
@@ -50,8 +54,8 @@ Add to `~/.claude.json` (global) or `.claude/settings.json` (per-project):
50
54
  {
51
55
  "mcpServers": {
52
56
  "haive": {
53
- "command": "haive-mcp",
54
- "args": ["--root", "/absolute/path/to/your/project"]
57
+ "command": "haive",
58
+ "args": ["mcp", "--stdio", "--root", "/absolute/path/to/your/project"]
55
59
  }
56
60
  }
57
61
  }
@@ -65,8 +69,8 @@ Add to `~/.cursor/mcp.json`:
65
69
  {
66
70
  "mcpServers": {
67
71
  "haive": {
68
- "command": "haive-mcp",
69
- "args": ["--root", "/absolute/path/to/your/project"]
72
+ "command": "haive",
73
+ "args": ["mcp", "--stdio", "--root", "/absolute/path/to/your/project"]
70
74
  }
71
75
  }
72
76
  }
@@ -75,7 +79,7 @@ Add to `~/.cursor/mcp.json`:
75
79
  ### VS Code
76
80
 
77
81
  ```bash
78
- code --add-mcp '{"name":"haive","command":"haive-mcp","args":["--root","/absolute/path/to/project"]}'
82
+ code --add-mcp '{"name":"haive","command":"haive","args":["mcp","--stdio","--root","/absolute/path/to/project"]}'
79
83
  ```
80
84
 
81
85
  ### Project-scoped (auto-detected)
@@ -86,8 +90,9 @@ Add a `.mcp.json` at the project root:
86
90
  {
87
91
  "mcpServers": {
88
92
  "haive": {
89
- "command": "haive-mcp",
90
- "args": ["--root", "."]
93
+ "command": "haive",
94
+ "args": ["mcp", "--stdio"],
95
+ "env": { "HAIVE_PROJECT_ROOT": "/absolute/path/to/your/project" }
91
96
  }
92
97
  }
93
98
  }