Merge pull request #882 from jlowin/docs-session-id-update

This commit is contained in:
Jeremiah Lowin 2025-06-19 18:39:34 -04:00 committed by GitHub
commit 4f4f27a3d2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -293,6 +293,7 @@ async def request_info(ctx: Context) -> dict:
- **`ctx.request_id -> str`**: Get the unique ID for the current MCP request
- **`ctx.client_id -> str | None`**: Get the ID of the client making the request, if provided during initialization
- **`ctx.session_id -> str | None`**: Get the MCP session ID for session-based data sharing (HTTP transports only)
### Advanced Access