@agentbrain/mcp-server 1.3.1 → 1.3.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 +32 -87
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -27,20 +27,7 @@ npm install -g @agentbrain/mcp-server
|
|
|
27
27
|
|
|
28
28
|
### 🟣 Claude Desktop
|
|
29
29
|
|
|
30
|
-
#### Step 1:
|
|
31
|
-
|
|
32
|
-
```bash
|
|
33
|
-
which agentbrain-mcp
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
**Example output:**
|
|
37
|
-
```
|
|
38
|
-
/Users/yourname/.nvm/versions/node/v20.19.4/bin/agentbrain-mcp
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
**Copy this exact path** - you'll need it in the next step.
|
|
42
|
-
|
|
43
|
-
#### Step 2: Edit Claude Desktop Config
|
|
30
|
+
#### Step 1: Edit Claude Desktop Config
|
|
44
31
|
|
|
45
32
|
**macOS:**
|
|
46
33
|
```bash
|
|
@@ -57,22 +44,21 @@ nano ~/Library/Application\ Support/Claude/claude_desktop_config.json
|
|
|
57
44
|
%APPDATA%\Claude\claude_desktop_config.json
|
|
58
45
|
```
|
|
59
46
|
|
|
60
|
-
#### Step
|
|
47
|
+
#### Step 2: Add AgentBrain to Config
|
|
61
48
|
|
|
62
|
-
Add this configuration
|
|
49
|
+
Add this configuration:
|
|
63
50
|
|
|
64
51
|
```json
|
|
65
52
|
{
|
|
66
53
|
"mcpServers": {
|
|
67
54
|
"agentbrain": {
|
|
68
|
-
"command": "
|
|
55
|
+
"command": "npx",
|
|
56
|
+
"args": ["-y", "@agentbrain/mcp-server"]
|
|
69
57
|
}
|
|
70
58
|
}
|
|
71
59
|
}
|
|
72
60
|
```
|
|
73
61
|
|
|
74
|
-
**⚠️ Important:** Use the **absolute path** you got from `which agentbrain-mcp`.
|
|
75
|
-
|
|
76
62
|
**If you have other MCP servers already:**
|
|
77
63
|
```json
|
|
78
64
|
{
|
|
@@ -82,13 +68,14 @@ Add this configuration (use the path from Step 1):
|
|
|
82
68
|
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/path/to/allowed/files"]
|
|
83
69
|
},
|
|
84
70
|
"agentbrain": {
|
|
85
|
-
"command": "
|
|
71
|
+
"command": "npx",
|
|
72
|
+
"args": ["-y", "@agentbrain/mcp-server"]
|
|
86
73
|
}
|
|
87
74
|
}
|
|
88
75
|
}
|
|
89
76
|
```
|
|
90
77
|
|
|
91
|
-
#### Step
|
|
78
|
+
#### Step 3: Restart Claude Desktop
|
|
92
79
|
|
|
93
80
|
**Completely quit** Claude Desktop (don't just close the window):
|
|
94
81
|
- macOS: `Cmd + Q` or Claude → Quit Claude
|
|
@@ -119,15 +106,7 @@ Claude will automatically use the AgentBrain tools!
|
|
|
119
106
|
|
|
120
107
|
### 🔵 Cursor
|
|
121
108
|
|
|
122
|
-
#### Step 1:
|
|
123
|
-
|
|
124
|
-
```bash
|
|
125
|
-
which agentbrain-mcp
|
|
126
|
-
```
|
|
127
|
-
|
|
128
|
-
Copy the output path.
|
|
129
|
-
|
|
130
|
-
#### Step 2: Open Cursor MCP Settings
|
|
109
|
+
#### Step 1: Open Cursor MCP Settings
|
|
131
110
|
|
|
132
111
|
1. Open Cursor
|
|
133
112
|
2. Press `Cmd + Shift + P` (macOS) or `Ctrl + Shift + P` (Windows/Linux)
|
|
@@ -150,30 +129,31 @@ code ~/.config/Cursor/User/globalStorage/saoudrizwan.claude-dev/settings/cline_m
|
|
|
150
129
|
code %APPDATA%\Cursor\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
|
|
151
130
|
```
|
|
152
131
|
|
|
153
|
-
#### Step
|
|
132
|
+
#### Step 2: Add AgentBrain Configuration
|
|
154
133
|
|
|
155
134
|
```json
|
|
156
135
|
{
|
|
157
136
|
"mcpServers": {
|
|
158
137
|
"agentbrain": {
|
|
159
|
-
"command": "
|
|
138
|
+
"command": "npx",
|
|
139
|
+
"args": ["-y", "@agentbrain/mcp-server"]
|
|
160
140
|
}
|
|
161
141
|
}
|
|
162
142
|
}
|
|
163
143
|
```
|
|
164
144
|
|
|
165
|
-
#### Step
|
|
145
|
+
#### Step 3: Restart Cursor
|
|
166
146
|
|
|
167
147
|
Completely quit and reopen Cursor.
|
|
168
148
|
|
|
169
|
-
#### Step
|
|
149
|
+
#### Step 4: Verify
|
|
170
150
|
|
|
171
151
|
1. Open a project in Cursor
|
|
172
152
|
2. Open the Cursor chat (usually `Cmd + L` or `Ctrl + L`)
|
|
173
153
|
3. Type `@` and you should see MCP tools available
|
|
174
154
|
4. Or check the MCP panel in settings
|
|
175
155
|
|
|
176
|
-
#### Step
|
|
156
|
+
#### Step 5: Use It
|
|
177
157
|
|
|
178
158
|
In Cursor chat:
|
|
179
159
|
```
|
|
@@ -186,15 +166,7 @@ Cursor will automatically use the MCP tools!
|
|
|
186
166
|
|
|
187
167
|
### 🟢 Windsurf
|
|
188
168
|
|
|
189
|
-
#### Step 1:
|
|
190
|
-
|
|
191
|
-
```bash
|
|
192
|
-
which agentbrain-mcp
|
|
193
|
-
```
|
|
194
|
-
|
|
195
|
-
Copy the output path.
|
|
196
|
-
|
|
197
|
-
#### Step 2: Open Windsurf Settings
|
|
169
|
+
#### Step 1: Open Windsurf Settings
|
|
198
170
|
|
|
199
171
|
**Method 1: Via UI**
|
|
200
172
|
1. Open Windsurf
|
|
@@ -219,23 +191,24 @@ code ~/.config/Windsurf/User/globalStorage/windsurf-mcp/settings.json
|
|
|
219
191
|
code %APPDATA%\Windsurf\User\globalStorage\windsurf-mcp\settings.json
|
|
220
192
|
```
|
|
221
193
|
|
|
222
|
-
#### Step
|
|
194
|
+
#### Step 2: Add AgentBrain
|
|
223
195
|
|
|
224
196
|
```json
|
|
225
197
|
{
|
|
226
198
|
"mcpServers": {
|
|
227
199
|
"agentbrain": {
|
|
228
|
-
"command": "
|
|
200
|
+
"command": "npx",
|
|
201
|
+
"args": ["-y", "@agentbrain/mcp-server"]
|
|
229
202
|
}
|
|
230
203
|
}
|
|
231
204
|
}
|
|
232
205
|
```
|
|
233
206
|
|
|
234
|
-
#### Step
|
|
207
|
+
#### Step 3: Restart Windsurf
|
|
235
208
|
|
|
236
209
|
Quit completely and reopen.
|
|
237
210
|
|
|
238
|
-
#### Step
|
|
211
|
+
#### Step 4: Verify & Use
|
|
239
212
|
|
|
240
213
|
Look for MCP tools in the Windsurf interface, then ask:
|
|
241
214
|
```
|
|
@@ -355,30 +328,24 @@ Agent: "Handoff saved to agentbrain/handoff.md!
|
|
|
355
328
|
|
|
356
329
|
### "AgentBrain not showing up in my agent"
|
|
357
330
|
|
|
358
|
-
**1.
|
|
359
|
-
```bash
|
|
360
|
-
which agentbrain-mcp
|
|
361
|
-
# Copy this exact path to your config
|
|
362
|
-
```
|
|
363
|
-
|
|
364
|
-
**2. Verify config file location:**
|
|
331
|
+
**1. Verify config file location:**
|
|
365
332
|
|
|
366
333
|
**Claude Desktop (macOS):**
|
|
367
334
|
```bash
|
|
368
335
|
cat ~/Library/Application\ Support/Claude/claude_desktop_config.json
|
|
369
336
|
```
|
|
370
337
|
|
|
371
|
-
**
|
|
338
|
+
**2. Check for JSON syntax errors:**
|
|
372
339
|
- Missing commas between entries
|
|
373
340
|
- Missing quotes
|
|
374
341
|
- Invalid path format
|
|
375
342
|
|
|
376
|
-
**
|
|
343
|
+
**3. Restart completely:**
|
|
377
344
|
- Don't just close the window
|
|
378
345
|
- Actually quit the application (Cmd+Q / Ctrl+Q)
|
|
379
346
|
- Reopen
|
|
380
347
|
|
|
381
|
-
**
|
|
348
|
+
**4. Check logs:**
|
|
382
349
|
|
|
383
350
|
**Claude Desktop:**
|
|
384
351
|
- Go to Help → Show Logs (or Developer → Show Logs)
|
|
@@ -412,40 +379,16 @@ ls /path/to/your/project
|
|
|
412
379
|
|
|
413
380
|
---
|
|
414
381
|
|
|
415
|
-
### "Command not found: agentbrain-mcp"
|
|
416
|
-
|
|
417
|
-
```bash
|
|
418
|
-
# Reinstall
|
|
419
|
-
npm install -g @agentbrain/mcp-server
|
|
420
|
-
|
|
421
|
-
# Verify
|
|
422
|
-
which agentbrain-mcp
|
|
423
|
-
```
|
|
424
|
-
|
|
425
|
-
---
|
|
426
|
-
|
|
427
|
-
### "Getting 'permission denied' errors"
|
|
428
|
-
|
|
429
|
-
```bash
|
|
430
|
-
# Check file permissions
|
|
431
|
-
ls -la $(which agentbrain-mcp)
|
|
432
|
-
|
|
433
|
-
# Should be executable (has 'x' in permissions)
|
|
434
|
-
# If not, fix it:
|
|
435
|
-
chmod +x $(which agentbrain-mcp)
|
|
436
|
-
```
|
|
437
|
-
|
|
438
|
-
---
|
|
439
|
-
|
|
440
382
|
## Configuration Examples
|
|
441
383
|
|
|
442
|
-
### Minimal Configuration
|
|
384
|
+
### Minimal Configuration (Recommended)
|
|
443
385
|
|
|
444
386
|
```json
|
|
445
387
|
{
|
|
446
388
|
"mcpServers": {
|
|
447
389
|
"agentbrain": {
|
|
448
|
-
"command": "
|
|
390
|
+
"command": "npx",
|
|
391
|
+
"args": ["-y", "@agentbrain/mcp-server"]
|
|
449
392
|
}
|
|
450
393
|
}
|
|
451
394
|
}
|
|
@@ -457,7 +400,8 @@ chmod +x $(which agentbrain-mcp)
|
|
|
457
400
|
{
|
|
458
401
|
"mcpServers": {
|
|
459
402
|
"agentbrain": {
|
|
460
|
-
"command": "
|
|
403
|
+
"command": "npx",
|
|
404
|
+
"args": ["-y", "@agentbrain/mcp-server"],
|
|
461
405
|
"env": {
|
|
462
406
|
"ANTHROPIC_API_KEY": "sk-ant-..."
|
|
463
407
|
}
|
|
@@ -476,7 +420,8 @@ chmod +x $(which agentbrain-mcp)
|
|
|
476
420
|
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/Users/me/projects"]
|
|
477
421
|
},
|
|
478
422
|
"agentbrain": {
|
|
479
|
-
"command": "
|
|
423
|
+
"command": "npx",
|
|
424
|
+
"args": ["-y", "@agentbrain/mcp-server"]
|
|
480
425
|
},
|
|
481
426
|
"github": {
|
|
482
427
|
"command": "npx",
|
package/package.json
CHANGED