File tree Expand file tree Collapse file tree
docs/specification/draft/basic Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -177,8 +177,9 @@ An MCP "session" consists of logically related interactions between a client and
177177server, beginning with the [ initialization phase] ( /specification/draft/basic/lifecycle ) . To support
178178servers which want to establish stateful sessions:
179179
180- 1 . A server using the Streamable HTTP transport ** MAY** assign a session ID by including
181- it in an ` Mcp-Session-Id ` header on any HTTP response.
180+ 1 . A server using the Streamable HTTP transport ** MAY** assign a session ID at
181+ initialization time, by including it in an ` Mcp-Session-Id ` header on the HTTP
182+ response containing the ` InitializeResult ` .
182183 - The session ID ** SHOULD** be globally unique and cryptographically secure (e.g., a
183184 securely generated UUID, a JWT, or a cryptographic hash).
184185 - The session ID ** MUST** only contain visible ASCII characters (ranging from 0x21 to
You can’t perform that action at this time.
0 commit comments