Skip to content

Commit b8f4034

Browse files
authored
Apply suggestion
1 parent 4c9c8fb commit b8f4034

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/concepts/sessions/sessions.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,9 +399,10 @@ await using McpServer server = McpServer.Create(
399399
| **Stateless HTTP** | `HttpContext.RequestServices` | `false` (forced) | Shared HTTP request scope |
400400
| **stdio** | Application services | `true` (default, configurable) | New scope per handler invocation |
401401
| **McpServer.Create** | Caller-provided | Caller-controlled | Depends on `ScopeRequests` and whether the provider is already scoped |
402+
402403
## Cancellation and disposal
403404

404-
Every tool, prompt, and resource handler receives a `CancellationToken`. The source and behavior of that token depends on the transport and session mode. The SDK also supports the MCP [cancellation protocol](https://modelcontextprotocol.io/specification/2025-11-25/basic/utilities/cancellation) for client-initiated cancellation of individual requests.
405+
Every tool, prompt, and resource handler can receive a `CancellationToken`. The source and behavior of that token depends on the transport and session mode. The SDK also supports the MCP [cancellation protocol](https://modelcontextprotocol.io/specification/2025-11-25/basic/utilities/cancellation) for client-initiated cancellation of individual requests.
405406

406407
### Handler cancellation tokens
407408

0 commit comments

Comments
 (0)