Skip to content

Support MCP Protocol v2025-03-26 #9

@tadeodonegana

Description

@tadeodonegana

Background

Remote‑MCP currently implements the MCP wire‑protocol over a stateful stdio transport (via StdioServerTransport) and batches requests using tRPC’s HTTP batch link. As of the 2025‑03‑26 MCP specification, the protocol has moved to a fully stateless HTTP request/response transport, with version negotiation, per‑method endpoints, and JSON‑RPC‑style request/response bodies.

Problem

When attempting to connect to an MCP server using protocol version 2025-03-26, clients receive errors because:

  • We still instantiate StdioServerTransport instead of the new HTTP transport.
  • tRPC’s batched /mcp endpoint does not match the spec’s per‑method HTTP routes.
  • No protocol version header or handshake is performed.
  • Request/response payloads do not conform to the updated JSON schemas.

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions