Description
MCP clients using the latest mcp Python SDK (which sets LATEST_PROTOCOL_VERSION = "2025-11-25") are rejected with HTTP 400:
MCPProtocolError: Unsupported protocol version: 2025-11-25. Supported versions: 2025-06-18
Root Cause
The default config record in data/llm_mcp_server_config.xml hardcodes latest_protocol_version to 2025-06-18 and supported_protocol_versions to None. The installed mcp library already defines LATEST_PROTOCOL_VERSION = "2025-11-25", so any client using the SDK default is rejected.
Steps to Reproduce
- Install
llm_mcp_server with mcp Python package >= 1.8 (which uses protocol 2025-11-25)
- Connect any MCP client (Claude Desktop, Cursor, etc.)
- Client sends
Mcp-Protocol-Version: 2025-11-25 header
- Server responds with HTTP 400
Proposed Fix
In data/llm_mcp_server_config.xml:
<field name="latest_protocol_version">2025-11-25</field>
<field name="supported_protocol_versions" eval="["2025-06-18"]" />
Also update manifest.py description to reference 2025-11-25.
Note: After applying the fix, the module must be updated (-u llm_mcp_server) for the XML data to take effect in the database.
Description
MCP clients using the latest
mcpPython SDK (which setsLATEST_PROTOCOL_VERSION = "2025-11-25") are rejected with HTTP 400:Root Cause
The default config record in data/llm_mcp_server_config.xml hardcodes
latest_protocol_versionto2025-06-18andsupported_protocol_versionstoNone. The installedmcplibrary already definesLATEST_PROTOCOL_VERSION = "2025-11-25", so any client using the SDK default is rejected.Steps to Reproduce
llm_mcp_serverwithmcpPython package >= 1.8 (which uses protocol2025-11-25)Mcp-Protocol-Version: 2025-11-25headerProposed Fix
In data/llm_mcp_server_config.xml:
Also update manifest.py description to reference
2025-11-25.