Skip to main content

Module names

Module names 

Source
Expand description

The event name a legacy-transport frame carries, or the unnamed default.

The two names the 2024-11-05 HTTP+SSE transport defines, kept as constants so no call site spells them as a literal. The specification names them in prose — “the server MUST send an endpoint event” and “server messages are sent as SSE message events” — and a literal at a call site is how one of them ends up spelled Endpoint and silently matches nothing.

Cited: https://modelcontextprotocol.io/specification/2024-11-05/basic/transports

Constants§

ENDPOINT
The first event on a legacy stream: where to POST.
MESSAGE
Every JSON-RPC message the server sends back.