SIGN IN SIGN UP

cli: Support stateless MCP (MCP 2026-07-28) in `npx convex mcp` (#56281)

This PR modifies `npx convex mcp` so that it supports the stateless version of the MCP protocol.

Relevant migration guide: https://ts.sdk.modelcontextprotocol.io/v2/migration/support-2026-07-28.html

I manually confirmed that the MCP server still works when using both the old and the new protocol (with `codex features {enable,disable} mcp_2026_07_28`)

GitOrigin-RevId: 7608bb9f2daa9424df0271a537859a7487de251a
N
Nicolas Ettlin committed
55e1c3b2bdcc76482e7d1a5d1096c2a5f3b514e6
Parent: 31b96b8
Committed by Convex, Inc. <no-reply@convex.dev> on 8/20/2026, 9:24:01 PM