Fix: initialize handshake returns serverInfo + protocolVersion
Web-audit fix skill for the
mcp-initializecheck (MCP & API, MUST).
Goal
Answer JSON-RPC initialize with serverInfo and protocolVersion so clients can begin a session.
Fix
Answer the JSON-RPC initialize method on your MCP endpoint with a result that carries serverInfo (an object with name and version) and protocolVersion. Accept POST with Content-Type: application/json and Accept: application/json, text/event-stream, and echo the negotiated protocolVersion (the current pinned value is 2025-06-18).
Resources
Copy-paste prompt
Paste this into your coding agent, replacing the Issue line with the Result line from your audit:
Verify
Re-run the audit at https://anc.dev/web-audit or call the audit_website MCP tool; the mcp-initialize check should report pass.