File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
docs/specification/draft/basic Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -189,10 +189,9 @@ server. To support establishing stateful sessions:
189189 ` Mcp-Session-Id ` header (other than initialization) with HTTP 400 Bad Request.
1901903 . The server ** MAY** terminate the session at any time, after which it ** MUST** respond
191191 to requests containing that session ID with HTTP 404 Not Found.
192- 4 . When a client receives HTTP 404 in response to a request containing an
193- ` Mcp-Session-Id ` obtained through an [ initialization phase] ( /specification/draft/basic/lifecycle ) ,
194- it ** SHOULD** start a new session by sending a new ` InitializeRequest `
195- without a session ID attached.
192+ 4 . When a client receives HTTP 404 in response to a request containing an ` Mcp-Session-Id ` ,
193+ it ** MUST** stop using that ` Mcp-Sesssion-Id ` and ** SHOULD** start a new session by
194+ sending a new ` InitializeRequest ` without a session ID attached.
1961955 . Clients that no longer need a particular session (e.g., because the user is leaving
197196 the client application) ** SHOULD** send an HTTP DELETE to the MCP endpoint with the
198197 ` Mcp-Session-Id ` header, to explicitly terminate the session.
You can’t perform that action at this time.
0 commit comments