Skip to content

[llm_mcp_server] Rejects MCP protocol version 2025-11-25 — server only supports 2025-06-18 #226

Description

@luigimassa

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

  1. Install llm_mcp_server with mcp Python package >= 1.8 (which uses protocol 2025-11-25)
  2. Connect any MCP client (Claude Desktop, Cursor, etc.)
  3. Client sends Mcp-Protocol-Version: 2025-11-25 header
  4. 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="[&​quot;2025-06-18&​quot;]" />

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions