You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/server.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,8 +31,7 @@ Key examples:
31
31
-[`jsonResponseStreamableHttp.ts`](../src/examples/server/jsonResponseStreamableHttp.ts) – `enableJsonResponse: true`, no SSE
32
32
-[`standaloneSseWithGetStreamableHttp.ts`](../src/examples/server/standaloneSseWithGetStreamableHttp.ts) – notifications with Streamable HTTP GET + SSE
A client that implements backwards compatibility according to the [MCP specification](https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#backwards-compatibility), allowing it to work with both new and legacy servers. This client demonstrates:
53
+
A client that implements backwards compatibility according to the [MCP specification](https://modelcontextprotocol.io/specification/2025-11-25/basic/transports#backwards-compatibility), allowing it to work with both new and legacy servers. This client demonstrates:
54
54
55
55
- The client first POSTs an initialize request to the server URL:
56
56
- If successful, it uses the Streamable HTTP transport
@@ -83,7 +83,7 @@ These examples demonstrate how to set up an MCP server on a single node with dif
83
83
84
84
##### Simple Streamable HTTP Server
85
85
86
-
A server that implements the Streamable HTTP transport (protocol version 2025-03-26).
86
+
A server that implements the Streamable HTTP transport (protocol version 2025-11-25).
87
87
88
88
- Basic server setup with Express and the Streamable HTTP transport
89
89
- Session management with an in-memory event store for resumability
#### Streamable Http Backwards Compatible Server with SSE
168
168
169
-
A server that supports both Streamable HTTP and SSE transports, adhering to the [MCP specification for backwards compatibility](https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#backwards-compatibility).
169
+
A server that supports both Streamable HTTP and SSE transports, adhering to the [MCP specification for backwards compatibility](https://modelcontextprotocol.io/specification/2025-11-25/basic/transports#backwards-compatibility).
170
170
171
171
- Single MCP server instance with multiple transport options
172
172
- Support for Streamable HTTP requests at `/mcp` endpoint (GET/POST/DELETE)
@@ -337,7 +337,7 @@ To test the backwards compatibility features:
337
337
# Legacy SSE server (protocol version 2024-11-05)
338
338
npx tsx src/examples/server/simpleSseServer.ts
339
339
340
-
# Streamable HTTP server (protocol version 2025-03-26)
340
+
# Streamable HTTP server (protocol version 2025-11-25)
0 commit comments