File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -88,9 +88,18 @@ node src/filesystem/dist/index.js --transport streamable-http /tmp/scratch # d
8888(cd src/time && uv run mcp-server-time --transport streamable-http)
8989```
9090
91- Each one's endpoint is stateless for 2025-era clients (a fresh server per
92- request; GET and DELETE answer 405), so nothing the server asks of the client
93- mid-session (filesystem's Roots) reaches it over HTTP.
91+ What a 2025-era client gets from that endpoint differs by language (#5593 ):
92+
93+ - ** ` memory ` , ` filesystem ` , ` sequentialthinking ` (TypeScript) are stateless** : a
94+ fresh server per request, no ` Mcp-Session-Id ` on the ` initialize ` response,
95+ and GET and DELETE answer 405. So nothing the server asks of the client
96+ mid-session (filesystem's Roots) reaches it over HTTP.
97+ - ** ` fetch ` , ` git ` , ` time ` (Python) keep a session** , through the SDK's
98+ Streamable HTTP app. ` initialize ` returns an ` Mcp-Session-Id ` header and
99+ every later request must carry it: without it a POST, GET or DELETE answers
100+ 400 "Missing session ID". With it, GET opens the session's stream and DELETE
101+ ends the session, after which its id answers 404. A hand-written ` curl `
102+ probe therefore sends ` initialize ` first and passes the header on.
94103
95104## Run the local package the way a user would
96105
You can’t perform that action at this time.
0 commit comments