Expand description
MCP session management — connection params, tool discovery, and tool invocation.
Implements a real MCP (Model Context Protocol) client speaking JSON-RPC 2.0.
The primary transport is stdio (newline-delimited JSON over a subprocess’s
stdin/stdout), which works on default features. An optional HTTP transport
(single-shot JSON-RPC POST) is available behind the mcp-http feature.
Structs§
- McpSession
Manager - Manages the MCP client session lifecycle.
- McpTool
Info - Information about an MCP tool.
Enums§
- McpConnection
Params - Connection parameters for an MCP server.
- McpError
- MCP-related errors.