Skip to main content

Module mcp_client

Module mcp_client 

Source
Expand description

MCP client for connecting to external MCP servers. MCP (Model Context Protocol) client.

Connects to MCP servers via stdio (subprocess) or HTTP transport, lists tools, and calls them.

Structs§

McpClient
MCP client for a connected server.
McpResource
Resource descriptor from an MCP response.
McpTool
A tool exposed by an MCP server.
McpToolResult
Result from calling an MCP tool.

Enums§

McpContent
Content block within an MCP tool result.
McpTransport
Transport mode for an MCP connection.