Module session_manager

Module session_manager 

Source
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§

McpSessionManager
Manages the MCP client session lifecycle.
McpToolInfo
Information about an MCP tool.

Enums§

McpConnectionParams
Connection parameters for an MCP server.
McpError
MCP-related errors.