You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix: MCP request context does not expose per-request _meta for progress notifications #8062
MCP handlers need the metadata from the current request to read values such as progressToken. The server client context currently exposes initialization data, but not the current request's _meta.
A tool handler cannot obtain the active call's progress token through McpRequestContext, so it cannot associate notifications/progress messages with the request being processed.
Expected behavior
The invocation context should expose the decoded metadata belonging to the current request. A tool should be able to read the supplied progress token and emit correctly correlated progress notifications.
Regression coverage
Add an adapter test that initializes a client, calls a tool with a distinct _meta.progressToken, and asserts that the handler sees that call-level token rather than initialization metadata or undefined.
changed the title [-]MCP request context does not expose per-request _meta for progress notifications[/-][+]fix: MCP request context does not expose per-request _meta for progress notifications[/+]on Sep 4, 2026
Activity
[-]MCP request context does not expose per-request _meta for progress notifications[/-][+]fix: MCP request context does not expose per-request _meta for progress notifications[/+]lloydrichards commentedon Sep 4, 2026
see #8060 (comment)