Skip to content

Commit e6b7096

Browse files
cliffhallclaude
andcommitted
docs(skills): local-dev states which HTTP endpoints keep a 2025-era session
The local-dev skill said all six flag-selected Streamable HTTP servers are stateless for 2025-era clients. That holds for the three TypeScript servers only: fetch, git and time serve through the Python SDK's Streamable HTTP app, which issues an Mcp-Session-Id on initialize and requires it afterwards. Closes #5593 Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: cliffhall <cliff@futurescale.com>
1 parent 7f383a8 commit e6b7096

1 file changed

Lines changed: 12 additions & 3 deletions

File tree

‎.claude/skills/local-dev/SKILL.md‎

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)