Expected Behavior
Current MCP spec version "2025-11-25" should be supported and added to ProtocolVersions.java
Current Behavior
Currently, only versions "2024-11-05", "2025-03-26", and "2025-06-18" are supported:
|
package io.modelcontextprotocol.spec; |
|
|
|
public interface ProtocolVersions { |
|
|
|
/** |
|
* MCP protocol version for 2024-11-05. |
|
* https://modelcontextprotocol.io/specification/2024-11-05 |
|
*/ |
|
String MCP_2024_11_05 = "2024-11-05"; |
|
|
|
/** |
|
* MCP protocol version for 2025-03-26. |
|
* https://modelcontextprotocol.io/specification/2025-03-26 |
|
*/ |
|
String MCP_2025_03_26 = "2025-03-26"; |
|
|
|
/** |
|
* MCP protocol version for 2025-06-18. |
|
* https://modelcontextprotocol.io/specification/2025-06-18 |
|
*/ |
|
String MCP_2025_06_18 = "2025-06-18"; |
|
|
|
} |
Tools like modelcontextprotocol/inspector only work with the current spec version (see modelcontextprotocol/inspector#962), and this SDK does not support it.
Context
Trying to debug an MCP server using the MCP inspector tool.
Expected Behavior
Current MCP spec version
"2025-11-25"should be supported and added to ProtocolVersions.javaCurrent Behavior
Currently, only versions
"2024-11-05","2025-03-26", and"2025-06-18"are supported:java-sdk/mcp-core/src/main/java/io/modelcontextprotocol/spec/ProtocolVersions.java
Lines 1 to 23 in 082444e
Tools like modelcontextprotocol/inspector only work with the current spec version (see modelcontextprotocol/inspector#962), and this SDK does not support it.
Context
Trying to debug an MCP server using the MCP inspector tool.