@agentbrain/mcp-server 1.4.19 → 1.4.20
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 +41 -4
- package/dist/index.js +13 -0
- package/dist/index.js.map +1 -1
- package/dist/tools/detect-doom-loop.d.ts +30 -0
- package/dist/tools/detect-doom-loop.d.ts.map +1 -0
- package/dist/tools/detect-doom-loop.js +41 -0
- package/dist/tools/detect-doom-loop.js.map +1 -0
- package/dist/tools/save-handoff.js +2 -2
- package/dist/tools/save-handoff.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,6 +8,7 @@ This MCP server lets **Claude Desktop**, **Cursor**, and **Windsurf** access Age
|
|
|
8
8
|
|
|
9
9
|
- 🔍 Scan your repository structure
|
|
10
10
|
- 📖 Load comprehensive codebase context
|
|
11
|
+
- 📝 Load task specifications
|
|
11
12
|
- 📋 Read coding standards
|
|
12
13
|
- 💾 Save session handoffs
|
|
13
14
|
|
|
@@ -87,9 +88,10 @@ Then reopen it.
|
|
|
87
88
|
|
|
88
89
|
1. Start a new conversation in Claude Desktop
|
|
89
90
|
2. Look for the **🔌 icon** in the toolbar or bottom of the chat
|
|
90
|
-
3. Click it - you should see "agentbrain" with
|
|
91
|
+
3. Click it - you should see "agentbrain" with 5 tools:
|
|
91
92
|
- `scan_repo`
|
|
92
93
|
- `load_context`
|
|
94
|
+
- `load_spec`
|
|
93
95
|
- `load_standards`
|
|
94
96
|
- `save_handoff`
|
|
95
97
|
|
|
@@ -219,7 +221,7 @@ Look for MCP tools in the Windsurf interface, then ask:
|
|
|
219
221
|
|
|
220
222
|
## Available Tools
|
|
221
223
|
|
|
222
|
-
Once configured, your agent can use these
|
|
224
|
+
Once configured, your agent can use these 5 tools:
|
|
223
225
|
|
|
224
226
|
### 1. `scan_repo` - Analyze Repository Structure
|
|
225
227
|
|
|
@@ -251,7 +253,41 @@ Once configured, your agent can use these 4 tools:
|
|
|
251
253
|
|
|
252
254
|
---
|
|
253
255
|
|
|
254
|
-
### 3. `
|
|
256
|
+
### 3. `load_spec` - Load Task Specification
|
|
257
|
+
|
|
258
|
+
**What it does:** Loads a task specification file by name, or lists all available specs if no task is specified.
|
|
259
|
+
|
|
260
|
+
**Parameters:**
|
|
261
|
+
- `repoPath` (required): Path to repository
|
|
262
|
+
- `task` (optional): Task description or slug (e.g., "add-oauth-authentication")
|
|
263
|
+
|
|
264
|
+
**Example prompts:**
|
|
265
|
+
- "Load the spec for add-oauth-authentication"
|
|
266
|
+
- "Show me available specs"
|
|
267
|
+
- "Load the task spec for user authentication"
|
|
268
|
+
|
|
269
|
+
**Returns:**
|
|
270
|
+
If task specified: The spec content
|
|
271
|
+
If no task: List of all available specs in agentbrain/specs/
|
|
272
|
+
|
|
273
|
+
**Cost:** Free - reads from disk
|
|
274
|
+
|
|
275
|
+
**Note:** Specs must be created first using `agentbrain spec` CLI command.
|
|
276
|
+
|
|
277
|
+
**Example usage:**
|
|
278
|
+
```typescript
|
|
279
|
+
// List all specs
|
|
280
|
+
load_spec({ repoPath: "/path/to/project" })
|
|
281
|
+
// Returns: "Available specs:\n\n- add-oauth-authentication\n- implement-notifications"
|
|
282
|
+
|
|
283
|
+
// Load specific spec
|
|
284
|
+
load_spec({ repoPath: "/path/to/project", task: "add-oauth-authentication" })
|
|
285
|
+
// Returns: Full spec content with problem, approach, acceptance criteria, etc.
|
|
286
|
+
```
|
|
287
|
+
|
|
288
|
+
---
|
|
289
|
+
|
|
290
|
+
### 4. `load_standards` - Load Coding Standards
|
|
255
291
|
|
|
256
292
|
**What it does:** Loads the coding standards file for your specific agent (CLAUDE.md, .cursor/rules, or .windsurfrules).
|
|
257
293
|
|
|
@@ -266,7 +302,7 @@ Once configured, your agent can use these 4 tools:
|
|
|
266
302
|
|
|
267
303
|
---
|
|
268
304
|
|
|
269
|
-
###
|
|
305
|
+
### 5. `save_handoff` - Save Session Handoff
|
|
270
306
|
|
|
271
307
|
**What it does:** Analyzes your recent git changes and creates a handoff document for the next session.
|
|
272
308
|
|
|
@@ -484,6 +520,7 @@ This gives your agent full project awareness immediately.
|
|
|
484
520
|
**Q: Does this cost money?**
|
|
485
521
|
A: Depends on the tool:
|
|
486
522
|
- `scan_repo` - Free
|
|
523
|
+
- `load_spec` - Free
|
|
487
524
|
- `load_standards` - Free
|
|
488
525
|
- `load_context` (cached) - Free
|
|
489
526
|
- `load_context` (first time) - ~$0.02-0.05
|
package/dist/index.js
CHANGED
|
@@ -8,6 +8,7 @@ import { loadStandards, loadStandardsSchema } from './tools/load-standards.js';
|
|
|
8
8
|
import { loadContext, loadContextSchema } from './tools/load-context.js';
|
|
9
9
|
import { saveHandoff, saveHandoffSchema } from './tools/save-handoff.js';
|
|
10
10
|
import { loadSpecTool, loadSpecSchema } from './tools/load-spec.js';
|
|
11
|
+
import { detectDoomLoop, detectDoomLoopSchema } from './tools/detect-doom-loop.js';
|
|
11
12
|
// Create MCP server
|
|
12
13
|
const server = new Server({
|
|
13
14
|
name: 'agentbrain',
|
|
@@ -25,6 +26,7 @@ server.setRequestHandler(ListToolsRequestSchema, async () => {
|
|
|
25
26
|
loadStandardsSchema,
|
|
26
27
|
loadContextSchema,
|
|
27
28
|
loadSpecSchema,
|
|
29
|
+
detectDoomLoopSchema,
|
|
28
30
|
saveHandoffSchema,
|
|
29
31
|
],
|
|
30
32
|
};
|
|
@@ -70,6 +72,17 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
|
|
70
72
|
],
|
|
71
73
|
};
|
|
72
74
|
}
|
|
75
|
+
case 'detect_doom_loop': {
|
|
76
|
+
const result = await detectDoomLoop(args);
|
|
77
|
+
return {
|
|
78
|
+
content: [
|
|
79
|
+
{
|
|
80
|
+
type: 'text',
|
|
81
|
+
text: JSON.stringify(result, null, 2),
|
|
82
|
+
},
|
|
83
|
+
],
|
|
84
|
+
};
|
|
85
|
+
}
|
|
73
86
|
case 'save_handoff': {
|
|
74
87
|
const result = await saveHandoff(args);
|
|
75
88
|
return {
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA,wBAAwB;AAExB,OAAO,EAAE,MAAM,EAAE,MAAM,2CAA2C,CAAA;AAClE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAA;AAChF,OAAO,EACL,qBAAqB,EACrB,sBAAsB,GACvB,MAAM,oCAAoC,CAAA;AAE3C,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAE/D,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAA;AAE9E,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAExE,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAExE,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA,wBAAwB;AAExB,OAAO,EAAE,MAAM,EAAE,MAAM,2CAA2C,CAAA;AAClE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAA;AAChF,OAAO,EACL,qBAAqB,EACrB,sBAAsB,GACvB,MAAM,oCAAoC,CAAA;AAE3C,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAE/D,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAA;AAE9E,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAExE,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAExE,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAEnE,OAAO,EAAE,cAAc,EAA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AI,KAAK,CAAC,iBAAiB,IAAI,EAAE,CAAC,CAAA;QAC5C,CAAC;IACH,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,MAAM,OAAO,GAAG,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,eAAe,CAAA;QACxE,OAAO;YACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,OAAO,EAAE,EAAE,CAAC;YACtD,OAAO,EAAE,IAAI;SACd,CAAA;IACH,CAAC;AACH,CAAC,CAAC,CAAA;AAEF,eAAe;AACf,KAAK,UAAU,IAAI;IACjB,MAAM,SAAS,GAAG,IAAI,oBAAoB,EAAE,CAAA;IAC5C,MAAM,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAA;IAE/B,oEAAoE;IACpE,OAAO,CAAC,KAAK,CAAC,wCAAwC,CAAC,CAAA;AACzD,CAAC;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE;IACrB,OAAO,CAAC,KAAK,CAAC,cAAc,EAAE,KAAK,CAAC,CAAA;IACpC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;AACjB,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { DoomLoopResult } from '@agentbrain/core';
|
|
2
|
+
export interface DetectDoomLoopInput {
|
|
3
|
+
repo_path: string;
|
|
4
|
+
commit_count?: number;
|
|
5
|
+
threshold?: number;
|
|
6
|
+
}
|
|
7
|
+
export declare function detectDoomLoop(input: DetectDoomLoopInput): Promise<DoomLoopResult>;
|
|
8
|
+
export declare const detectDoomLoopSchema: {
|
|
9
|
+
name: string;
|
|
10
|
+
description: string;
|
|
11
|
+
inputSchema: {
|
|
12
|
+
type: string;
|
|
13
|
+
properties: {
|
|
14
|
+
repo_path: {
|
|
15
|
+
type: string;
|
|
16
|
+
description: string;
|
|
17
|
+
};
|
|
18
|
+
commit_count: {
|
|
19
|
+
type: string;
|
|
20
|
+
description: string;
|
|
21
|
+
};
|
|
22
|
+
threshold: {
|
|
23
|
+
type: string;
|
|
24
|
+
description: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
required: string[];
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=detect-doom-loop.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"detect-doom-loop.d.ts","sourceRoot":"","sources":["../../src/tools/detect-doom-loop.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AActD,MAAM,WAAW,mBAAmB;IAClC,SAAS,EAAE,MAAM,CAAA;IACjB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,wBAAsB,cAAc,CAAC,KAAK,EAAE,mBAAmB,GAAG,OAAO,CAAC,cAAc,CAAC,CAMxF;AAED,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;CAsBhC,CAAA"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
// MCP tool: detect_doom_loop - detect files modified repeatedly
|
|
2
|
+
import { analyzeDoomLoop } from '@agentbrain/core';
|
|
3
|
+
import { homedir } from 'node:os';
|
|
4
|
+
import { resolve } from 'node:path';
|
|
5
|
+
/**
|
|
6
|
+
* Expand path: handles ~, relative paths, etc.
|
|
7
|
+
*/
|
|
8
|
+
function expandPath(path) {
|
|
9
|
+
if (path.startsWith('~/') || path === '~') {
|
|
10
|
+
return path.replace('~', homedir());
|
|
11
|
+
}
|
|
12
|
+
return resolve(path);
|
|
13
|
+
}
|
|
14
|
+
export async function detectDoomLoop(input) {
|
|
15
|
+
const { repo_path, commit_count = 10, threshold = 4 } = input;
|
|
16
|
+
const expandedPath = expandPath(repo_path);
|
|
17
|
+
return await analyzeDoomLoop(expandedPath, commit_count, threshold);
|
|
18
|
+
}
|
|
19
|
+
export const detectDoomLoopSchema = {
|
|
20
|
+
name: 'detect_doom_loop',
|
|
21
|
+
description: 'Detect doom loops by analyzing git history for files modified repeatedly in recent commits. Returns files appearing in 4+ of last 10 commits.',
|
|
22
|
+
inputSchema: {
|
|
23
|
+
type: 'object',
|
|
24
|
+
properties: {
|
|
25
|
+
repo_path: {
|
|
26
|
+
type: 'string',
|
|
27
|
+
description: 'Absolute path to the repository',
|
|
28
|
+
},
|
|
29
|
+
commit_count: {
|
|
30
|
+
type: 'number',
|
|
31
|
+
description: 'Number of recent commits to analyze (default: 10)',
|
|
32
|
+
},
|
|
33
|
+
threshold: {
|
|
34
|
+
type: 'number',
|
|
35
|
+
description: 'Minimum commits for a file to be flagged (default: 4)',
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
required: ['repo_path'],
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
//# sourceMappingURL=detect-doom-loop.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"detect-doom-loop.js","sourceRoot":"","sources":["../../src/tools/detect-doom-loop.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAEhE,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAElD,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AACjC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAEnC;;GAEG;AACH,SAAS,UAAU,CAAC,IAAY;IAC9B,IAAI,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,IAAI,KAAK,GAAG,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,OAAO,EAAE,CAAC,CAAA;IACrC,CAAC;IACD,OAAO,OAAO,CAAC,IAAI,CAAC,CAAA;AACtB,CAAC;AAQD,MAAM,CAAC,KAAK,UAAU,cAAc,CAAC,KAA0B;IAC7D,MAAM,EAAE,SAAS,EAAE,YAAY,GAAG,EAAE,EAAE,SAAS,GAAG,CAAC,EAAE,GAAG,KAAK,CAAA;IAE7D,MAAM,YAAY,GAAG,UAAU,CAAC,SAAS,CAAC,CAAA;IAE1C,OAAO,MAAM,eAAe,CAAC,YAAY,EAAE,YAAY,EAAE,SAAS,CAAC,CAAA;AACrE,CAAC;AAED,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,IAAI,EAAE,kBAAkB;IACxB,WAAW,EACT,+IAA+I;IACjJ,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,iCAAiC;aAC/C;YACD,YAAY,EAAE;gBACZ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,mDAAmD;aACjE;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,uDAAuD;aACrE;SACF;QACD,QAAQ,EAAE,CAAC,WAAW,CAAC;KACxB;CACF,CAAA"}
|
|
@@ -35,13 +35,13 @@ export async function saveHandoff(input) {
|
|
|
35
35
|
await writeFile(filePath, result.doc.content, 'utf-8');
|
|
36
36
|
return {
|
|
37
37
|
content: result.doc.content,
|
|
38
|
-
filePath: 'agentbrain/handoff.md',
|
|
38
|
+
filePath: '.agentbrain/handoff.md',
|
|
39
39
|
tokensUsed: result.tokenCount,
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
42
|
export const saveHandoffSchema = {
|
|
43
43
|
name: 'save_handoff',
|
|
44
|
-
description: 'Generate and save handoff document from git diff and recent commits. Creates agentbrain/handoff.md with session summary.',
|
|
44
|
+
description: 'Generate and save handoff document from git diff and recent commits. Creates .agentbrain/handoff.md with session summary.',
|
|
45
45
|
inputSchema: {
|
|
46
46
|
type: 'object',
|
|
47
47
|
properties: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"save-handoff.js","sourceRoot":"","sources":["../../src/tools/save-hando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