Skip to content

Commit ff6d4e1

Browse files
cliffhallclaude
andcommitted
docs(everything): name the v2 transports in structure.md (#4856)
Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: cliffhall <[email protected]>
1 parent 701c2aa commit ff6d4e1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/everything/docs/structure.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,10 +194,10 @@ src/everything
194194
- `GET /sse` to establish an SSE connection per session.
195195
- `POST /message` for client messages.
196196
- Manages multiple connected clients via a transport map.
197-
- Starts an `SSEServerTransport`, created the server via `createServer()`, and connects it to a new transport.
197+
- Starts an `SSEServerTransport` (from the frozen `@modelcontextprotocol/server-legacy/sse` bridge), created the server via `createServer()`, and connects it to a new transport.
198198
- On server disconnect, calls `cleanup()` to remove any live intervals.
199199
- `streamableHttp.ts`
200-
- Express server exposing a single `/mcp` endpoint for POST (JSON‑RPC), GET (SSE stream), and DELETE (session termination) using `StreamableHTTPServerTransport`.
200+
- Express server exposing a single `/mcp` endpoint for POST (JSON‑RPC), GET (SSE stream), and DELETE (session termination) using `NodeStreamableHTTPServerTransport` from `@modelcontextprotocol/node`.
201201
- Uses an `InMemoryEventStore` for resumable sessions and tracks transports by `sessionId`.
202202
- Answers a request for an unknown or ended `Mcp-Session-Id` with `404 Not Found`, and closes every open session on `SIGINT`.
203203
- Connects a fresh server instance on initialization POST and reuses the transport for subsequent requests.

0 commit comments

Comments
 (0)