Module mcp

Module mcp 

Source
Expand description

Model Context Protocol (MCP) client implementation using the official Anthropic Rust SDK

This module provides functionality to connect to and interact with MCP servers, supporting both STDIO and SSE transports. It maintains backward compatibility with the legacy configuration format while using the modern rmcp SDK internally.

Structs§

McpConfig
McpServerConfig
SdkMcpManager
SdkMcpServerConfig

Enums§

McpServerType
SdkMcpTransport

Functions§

call_global_tool
close_global_server
create_sse_server_config
create_stdio_server_config
ensure_server_connected
get_global_manager
list_global_tools