Expand description
MCP Client Implementation
This module provides a high-level interface for MCP client operations, handling protocol initialization, capability negotiation, and message exchanges with MCP servers.
The McpClient is the primary interface for interacting with MCP servers,
abstracting away transport details and providing a clean async API.
Structs§
- Client
Config - Configuration options for MCP client behavior.
- Client
Stats - Statistics about client operations.
- Default
Notification Handler - Default notification handler that logs all notifications.
- McpClient
- High-level MCP client for communicating with MCP servers.
- McpClient
Builder - Builder for creating MCP clients with custom configuration.
- Server
Info - Information about the connected MCP server.
Enums§
- Client
State - State of the MCP client connection and protocol negotiation.
Traits§
- Notification
Handler - Handler for MCP notifications from the server