[llm_mcp_server] Rejects MCP protocol version 2025-11-25 — server only supports 2025-06-18
- Lenguaje dominante
- Python
- Estrellas
- 219
- Forks
- 159
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
### 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](cci:7://file:///opt/app/addons_llm/llm_mcp_server/data/llm_mcp_server_config.xml:0:0-0:0) 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](cci:7://file:///opt/app/addons_llm/llm_mcp_server/data/llm_mcp_server_config.xml:0:0-0:0):
```xml
2025-11-25
```
Also update [__manifest__.py](cci:7://file:///opt/app/addons_llm/llm_mcp_server/__manifest__.py:0:0-0:0) 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.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.