CRITICAL FIX:
- Removed auto-registration during initialization that was causing crashes
- Fixed pattern match error with Inbox.start_link (already_started case)
- Changed architecture to require explicit agent registration with unique IDs
MULTI-AGENT SUPPORT:
- Agents must now register themselves with unique identifiers (e.g., 'Green Platypus')
- register_agent tool now works without requiring prior agent_id
- All other tools require agent_id parameter to identify the calling agent
- Proper error handling for missing agent_id in tool calls
ARCHITECTURE CHANGE:
- One MCP server instance serves multiple agents (as per VS Code design)
- Removed auto-registration of 'GitHub Copilot' agent during initialization
- Each agent must explicitly call register_agent before using other tools
This fixes the VS Code connection error:
MatchError: no match of right hand side value: {:error, {:already_started, #PID<0.215.0>}}
51 lines
1.3 KiB
JSON
51 lines
1.3 KiB
JSON
{
|
|
"servers": {
|
|
"mcp_context7": {
|
|
"type": "stdio",
|
|
"command": "bunx",
|
|
"args": [
|
|
"-y",
|
|
"@upstash/context7-mcp"
|
|
],
|
|
"auto_restart": true,
|
|
"description": "Context7 library documentation server"
|
|
},
|
|
"mcp_filesystem": {
|
|
"type": "stdio",
|
|
"command": "bunx",
|
|
"args": [
|
|
"-y",
|
|
"@modelcontextprotocol/server-filesystem",
|
|
"/home/ra"
|
|
],
|
|
"auto_restart": true,
|
|
"description": "Filesystem operations server with heartbeat coverage"
|
|
},
|
|
"mcp_memory": {
|
|
"type": "stdio",
|
|
"command": "bunx",
|
|
"args": [
|
|
"-y",
|
|
"@modelcontextprotocol/server-memory"
|
|
],
|
|
"auto_restart": true,
|
|
"description": "Memory and knowledge graph server"
|
|
},
|
|
"mcp_sequentialthinking": {
|
|
"type": "stdio",
|
|
"command": "bunx",
|
|
"args": [
|
|
"-y",
|
|
"@modelcontextprotocol/server-sequential-thinking"
|
|
],
|
|
"auto_restart": true,
|
|
"description": "Sequential thinking and reasoning server"
|
|
}
|
|
},
|
|
"config": {
|
|
"startup_timeout": 30000,
|
|
"heartbeat_interval": 10000,
|
|
"auto_restart_delay": 1000,
|
|
"max_restart_attempts": 3
|
|
}
|
|
} |