Skip to content

Commit 99337f5

Browse files
committed
Drop routing headers from the tasks deferral note
Mcp-Name stamping and validation for tasks/* landed with the shared header table; the module docstring's deferred list now matches the migration note and docs page.
1 parent 53b6c65 commit 99337f5

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

src/mcp/server/tasks.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,10 @@
4646
unchanged invariant). Errors propagate untouched on every non-augmented path: a
4747
non-declaring client, a legacy connection, or an `augment` predicate that
4848
excluded the call. Background execution (returning `working` tasks), the in-task
49-
`input_required`/`inputResponses` loop over `tasks/update`, `notifications/tasks`
50-
over `subscriptions/listen`, and SEP-2243 `Mcp-Name` task routing headers are
51-
deferred follow-ups, each needing deeper SDK plumbing.
49+
`input_required`/`inputResponses` loop over `tasks/update`, and
50+
`notifications/tasks` over `subscriptions/listen` are deferred follow-ups, each
51+
needing deeper SDK plumbing. (The SEP-2243 `Mcp-Name: <taskId>` routing header
52+
is already handled by the shared header table in `mcp.shared.inbound`.)
5253
5354
Task ids are unguessable bearer capabilities: any caller presenting a valid id
5455
may poll the task. That is deliberate -- the modern wire has no sessions, and a

0 commit comments

Comments
 (0)