@grec0/memory-bank-mcp 0.1.13 → 0.1.15

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
@@ -53,6 +53,12 @@ With Memory Bank, AIs:
53
53
  - **📊 Progress Tracking**: Manages tasks, milestones, and blockers
54
54
  - **📡 MCP Resources**: Direct read-only access to documents via URIs
55
55
 
56
+ ### Multi-Agent Coordination (Team Sync) 🤖
57
+ - **🚦 Traffic Control**: Prevents multiple agents from modifying the same files simultaneously
58
+ - **📌 Agent Board**: Centralized view of active agents, claimed tasks, and locked files
59
+ - **🆔 Identity Management**: Tracks who is doing what (GitHub Copilot, Cursor, etc.)
60
+ - **🔒 Atomic Locks**: File-system based locking safe across different processes/IDEs
61
+
56
62
  ## 📋 Requirements
57
63
 
58
64
  - **Node.js** >= 18.0.0
@@ -221,20 +227,6 @@ Edit your MCP configuration file:
221
227
 
222
228
  Memory Bank includes an intelligent documentation system that generates and maintains structured knowledge about your project using AI with reasoning capabilities.
223
229
 
224
- ## 🤖 Multi-Agent Coordination
225
-
226
- Memory Bank includes a **Coordination Layer** to support multiple agents (e.g., in different IDEs or parallel sessions) working on the same project without conflicts.
227
-
228
- ### Workflow
229
- 1. **Check Board**: Agents consult the `Agent Board` before starting work.
230
- 2. **Claim Resource**: Agents "lock" files or tasks they are working on.
231
- 3. **Release**: Agents release locks when finished.
232
-
233
- This prevents race conditions and duplicated work across the team.
234
-
235
- ### Tools
236
- - `memorybank_manage_agents`: Register, claim/release locks, view board.
237
-
238
230
  ### How Does It Work?
239
231
 
240
232
  1. **Code Analysis**: The system analyzes indexed code using semantic search
@@ -318,6 +310,58 @@ If you configure `MEMORYBANK_AUTO_UPDATE_DOCS=true`, documents will be automatic
318
310
 
319
311
  ---
320
312
 
313
+ ## 🤖 Multi-Agent Coordination
314
+
315
+ Memory Bank includes a **Coordination Layer** to support multiple agents (e.g., in different IDEs, parallel sessions, or team members) working on the same project without conflicts.
316
+
317
+ ### Why is this needed?
318
+ When you have multiple AI agents (e.g., one in VS Code, one in Cursor, one in Windsurf) or multiple developers working on the same codebase, they often collide:
319
+ - Modifying the same file simultaneously
320
+ - Duplicating work
321
+ - Halucinating that a task is "todo" when someone else is already doing it
322
+
323
+ ### How It Works
324
+
325
+ 1. **Agent Board (`agentBoard.md`)**: A central "whiteboard" in the `.memorybank/` folder that tracks active agents and locks.
326
+ 2. **Protocol**: Agents follow a strict "Check -> Claim -> Work -> Release" protocol.
327
+ 3. **Atomic Locks**: Uses file-system based locking (`.lock` directories) to ensure safety even across different processes and machines accessing the same filesystem.
328
+
329
+ ### Workflow
330
+
331
+ 1. **Check Board**: Agents consult the `Agent Board` before starting work.
332
+ 2. **Register Identity**: Agents identify themselves (e.g., `Dev-VSCode-GPT4-8A2F`).
333
+ 3. **Claim Resource**: Agents "lock" files or tasks they are working on.
334
+ 4. **Work & Release**: Agents work on the task and release the lock when finished (or when the lock expires/stales).
335
+
336
+ ### New Tool: `memorybank_manage_agents`
337
+
338
+ This tool allows agents to interact with the board:
339
+
340
+ ```json
341
+ // Register on the board
342
+ {
343
+ "projectId": "my-project",
344
+ "action": "register",
345
+ "agentId": "Dev-VSCode-GPT4-8A2F"
346
+ }
347
+
348
+ // See what others are doing
349
+ {
350
+ "projectId": "my-project",
351
+ "action": "get_board"
352
+ }
353
+
354
+ // Claim a task/file
355
+ {
356
+ "projectId": "my-project",
357
+ "action": "claim_resource",
358
+ "agentId": "Dev-VSCode-GPT4-8A2F",
359
+ "resource": "src/auth/login.ts"
360
+ }
361
+ ```
362
+
363
+ ---
364
+
321
365
  ## 🔀 Multi-Project: Cross-Project Queries
322
366
 
323
367
  A powerful feature of Memory Bank is the ability to **query any indexed project from any workspace**.
@@ -1,2 +1,2 @@
1
1
  // Version of the MCP Kanban server
2
- export const VERSION = "0.1.0";
2
+ export const VERSION = "0.1.15";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grec0/memory-bank-mcp",
3
- "version": "0.1.13",
3
+ "version": "0.1.15",
4
4
  "description": "MCP server for semantic code indexing with Memory Bank - AI-powered codebase understanding",
5
5
  "license": "MIT",
6
6
  "author": "@grec0",