Skip to main content

Module mcp

Module mcp 

Source
Expand description

MCP protocol client implementation.

Handles communication with MCP servers over stdio transport using JSON-RPC. Manages the initialization handshake and supports tool listing and calling.

Structsยง

MCPClient
MCP client for communicating with servers over stdio transport.
Tool
Represents a tool exposed by an MCP server.