Module mcp_client
Expand description
MCP (Model Context Protocol) client — connects to external tool servers. Supports multiple transports: stdio (spawn local process), HTTP, and SSE.
Structs§
- McpRegistry
- Registry of all connected MCP servers, with a flat tool index.
- McpServer
- A live connection to one MCP server (any transport).
- McpServer
Capabilities - Server-advertised MCP capabilities parsed from the
initializeresult. Sub-flagssubscribe/listChangedare captured but currently unused (reserved for a future subscriptions spec).