Port MCP (Model Context Protocol) Infrastructure #132

Closed
opened 2026-01-30 21:29:24 +00:00 by jason.woltje · 0 comments
Owner

Port MCP Phase 1 infrastructure from jarvis r1 for agent tool integration.

Objective: Implement MCP hub and tool registry for agent skill discovery.

Tasks:

  • Port mcp-hub.service.ts from jarvis r1
  • Port stdio-transport.ts for process communication
  • Create tool-registry.ts for tool catalog
  • Create mcp.controller.ts for MCP endpoints
  • Connect to Brain query API (issue #22)
  • Port existing MCP tests (26 tests)
  • Document MCP integration in docs/3-architecture/mcp-integration.md

MCP Components:

  • MCP Hub: Central registry for MCP servers
  • STDIO Transport: Process-based communication
  • Tool Registry: Available tools catalog
  • Server lifecycle management

Acceptance Criteria:

  • MCP servers can register/unregister
  • Tools discoverable by agents
  • Brain query accessible via MCP
  • All 26 tests pass
  • Documentation complete

Related: Epic #121, Phase 4 MCP Integration
Integrates with: #22 Brain query API, #23-27 Skills
Depends on: #126 (LLM Manager)

Port MCP Phase 1 infrastructure from jarvis r1 for agent tool integration. Objective: Implement MCP hub and tool registry for agent skill discovery. Tasks: - Port mcp-hub.service.ts from jarvis r1 - Port stdio-transport.ts for process communication - Create tool-registry.ts for tool catalog - Create mcp.controller.ts for MCP endpoints - Connect to Brain query API (issue #22) - Port existing MCP tests (26 tests) - Document MCP integration in docs/3-architecture/mcp-integration.md MCP Components: - MCP Hub: Central registry for MCP servers - STDIO Transport: Process-based communication - Tool Registry: Available tools catalog - Server lifecycle management Acceptance Criteria: - MCP servers can register/unregister - Tools discoverable by agents - Brain query accessible via MCP - All 26 tests pass - Documentation complete Related: Epic #121, Phase 4 MCP Integration Integrates with: #22 Brain query API, #23-27 Skills Depends on: #126 (LLM Manager)
jason.woltje added the p0apiphase-4api labels 2026-01-30 21:29:24 +00:00
jason.woltje added this to the M4-LLM (0.0.4) milestone 2026-01-30 23:40:48 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaic/stack#132