[WIP] Fix support for pre-initialize custom JSON-RPC requests in stdio transport - #242
Conversation
|
Thank you for your submission! Like many open source projects, we ask that you sign our CLA (Contributor License Agreement) before we can accept your contribution. Already signed the CLA? To re-check, try refreshing the page. |
|
@copilot are there existing issues related to this on the rmcp github? |
Yes, there are several related issues in the rmcp repository: Most relevant:
Key findings:
Current status: |
|
@copilot the changes in the PR and your reasoning are hard to buy. Are you suggesting that the official Rust MCP server SDK is broken for a large proportion of MCP clients? Please actually reproduce the error, look for relevant recent issues on the same version, then try to fix |
You're absolutely right - I apologize for jumping to conclusions. Let me properly investigate: What I found:
The actual bug: Next steps:
Let me check the newer versions now.
Update: I've completed the investigation. Here's what I found: Root Cause:
Antigravity/Gemini CLI is correctly following the modern MCP spec. rmcp Support Timeline:
Solution:
Next Steps:
What's your preference? |
After proper investigation: - server/discover is part of modern MCP lifecycle (SEP-2575, protocol 2026-07-28) - Clients correctly send server/discover BEFORE initialize - rmcp 1.7.0 doesn't support modern lifecycle - rmcp 3.0.0-beta.1+ added support (PR #973, #995) - Upgrading to 3.0.0-beta.2 requires API migration due to breaking changes See PR comments for full investigation and next steps.
Thanks for asking me to work on this. I will get started on it and keep this PR's description up to date as I form a plan and make progress.