Module mcp

Module mcp 

Source
Expand description

MCP (Model Context Protocol) toolset — connect to MCP servers and use their tools.

Re-exports§

pub use session_manager::McpConnectionParams;
pub use session_manager::McpError;
pub use session_manager::McpSessionManager;
pub use session_manager::McpToolInfo;
pub use tool::McpTool;
pub use toolset::McpToolset;

Modules§

session_manager
MCP session management — connection params, tool discovery, and tool invocation.
tool
Individual MCP tool — wraps an MCP session manager to implement ToolFunction.
toolset
MCP toolset — discovers tools from an MCP server.