Commit a2e00ab
authored
If dose not specify the 'ProtocolVersion' in 'mcp.InitializeParams', the MCP server will specify the low version during initialization phase. (#687)
For example, the mcp server dose support '2025-06-18' version. But if client dose not specify the version, the mcp server will use '2025-03-26'.
And, the other case is that the mcp client dose not need the latest '2025-11-25' version MCP features. But when client do initialization with MCP server, the server select '2025-11-25' version during negotiation and raised "unsupported protocol version 2025-11-25" error. Since mcp-go library dose not implement the '2025-11-25' version mcp feature temporary.
fix issue #650.
Signed-off-by: hai.yue <hai.yue@ingka.com>1 parent 498341a commit a2e00ab
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
216 | 221 | | |
217 | 222 | | |
218 | 223 | | |
| |||
0 commit comments