Module mcp

Module mcp 

Source
Expand description

MCP JSON-RPC protocol bridge.

Adapts the existing ToolRegistry / AgentRegistry and REST API into a proper MCP Streamable HTTP endpoint that Cursor and other MCP clients can connect to using the standard JSON-RPC protocol.

  • Tools are exposed as MCP tools via list_tools / call_tool.
  • Agents are exposed as MCP prompts via list_prompts / get_prompt.

Structsยง

McpBridge
Bridges the existing registries to the MCP JSON-RPC protocol.