claude-code
claude-code copied to clipboard
[BUG] Claude code does not support MCP protocol version 2025-06-18 needed by Lens Studio and others
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
When I try to connect to Snap Lens Studio's MCP server from claude code, it fails to connect. After much debugging (with Claude code's assistance), we determined that the problem is that Lens Studio uses MCP protocol version 2025-06-18 while Claude Code apparently only goes up to MCP protocol version 2024-11-05.
What Should Happen?
Claude should be able to use MCP servers on protocol 2025-06-18. For example, the following curl statement works.
curl --location 'http://localhost:8732/mcp' \
--header 'Content-Type: appllication/json' \
--header 'Authorization: Bearer ...w37PVy' \
--data ' {
"jsonrpc": "2.0",
"id": 1,
"method": "initialize",
"params": {
"protocolVersion": "2025-06-18",
"capabilities": {},
"clientInfo": {
"name": "postman-test",
"version": "1.0"
}
}
}'
Error Messages/Logs
Steps to Reproduce
- Launch Lens Studio (or anything else on 2025-06-18)
- AI Assistant/MCP/Configure Server/Start Server
- Get config from AI Assistant/MCP/Copy MCP Configuration
- Install it in Claude Code
- Claude code will fail to connect
Claude Model
Opus
Is this a regression?
No, this never worked
Last Working Version
No response
Claude Code Version
2.1.2
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Windows Terminal
Additional Information
No response