Local MCP client sends server/discover but then initializes with an incompatible legacy protocol version
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 2.1k
- Forks
- 157
- PR merge metrics
- No merged PRs in 30d
Description
Short summary
No response
Affected version or release
1.1.15
Installation context
No response
What happened?
Summary
Copilot App cannot connect to a local MCP server that supports only the current MCP protocol (2026-07-28).
The client successfully sends server/discover, but then sends a legacy initialize request using protocol version 2025-11-25. A server correctly implementing the stateless 2026-07-28 protocol rejects that request because initialize is not part of that lifecycle.
Reproduction
- Configure a local MCP server built with a current MCP SDK and supporting only
2026-07-28. - Add it in Copilot App as a Local/stdio MCP server.
- Observe that Copilot sends
server/discover. - Copilot then sends
initializewithprotocolVersion: "2025-11-25".
Actual result
Connection fails with:
JSON-RPC error: -32022: connection is serving the 2026-07-28 protocol; the initialize handshake is not accepted
({"supported":["2026-07-28"],"requested":"2025-11-25"})
### Steps to reproduce
_No response_
### Expected behavior
_No response_
### Additional context
_No response_
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the local/stdio MCP connection after the server/discover request and inspect how the client selects the protocol version and lifecycle. Reproduce with a server supporting only 2026-07-28; done means the client connects without sending the incompatible legacy initialize request while preserving supported older-protocol behavior.
Written by the indexing model from the issue text.
Assessment
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100