module documentation

MCP - Standard MCP client over HTTP.

Class MCPClient Client for standard MCP JSON-RPC requests over HTTP.
Exception MCPError Raised when an MCP request or response is invalid.
Constant MAX_TOOL_LIST_PAGES Undocumented
Constant MCP_LIST_SERVERS_TOOL Undocumented
Constant MCP_LIST_SERVERS_TOOL_NAME Undocumented
Constant MCP_PROTOCOL_VERSION Undocumented
Constant MCP_SELECT_SERVER_TOOL Undocumented
Constant MCP_SELECT_SERVER_TOOL_NAME Undocumented
MAX_TOOL_LIST_PAGES: int =

Undocumented

Value
20
MCP_LIST_SERVERS_TOOL =

Undocumented

Value
{'type': 'function',
 'function': {'name': MCP_LIST_SERVERS_TOOL_NAME,
              'description': 'List the configured MCP servers. Call this before ↵
selecting a server when you need MCP tools.',
              'parameters': {'type': 'object', 'properties': {}, 'required': []}↵
}}
MCP_LIST_SERVERS_TOOL_NAME: str =

Undocumented

Value
'mcp_list_servers'
MCP_PROTOCOL_VERSION: str =

Undocumented

Value
'2025-11-25'
MCP_SELECT_SERVER_TOOL =

Undocumented

Value
{'type': 'function',
 'function': {'name': MCP_SELECT_SERVER_TOOL_NAME,
              'description': 'Select one MCP server by its server_id. This initi↵
alizes the server and discovers its tools. Call mcp_list_servers first when need↵
ed.',
              'parameters': {'type': 'object',
                             'properties': {'server_id': {'type': 'string', 'des↵
...
MCP_SELECT_SERVER_TOOL_NAME: str =

Undocumented

Value
'mcp_select_server'