Skip to main content

Module mcp_client

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).
McpServerCapabilities
Server-advertised MCP capabilities parsed from the initialize result. Sub-flags subscribe / listChanged are captured but currently unused (reserved for a future subscriptions spec).