-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Context object (layered, per-request) #2895
Copy link
Copy link
Open
Labels
spec-2026-07-282026-07-28 MCP spec release work2026-07-28 MCP spec release workv2Ideas, requests and plans for v2 of the SDK which will incorporate major changes and fixesIdeas, requests and plans for v2 of the SDK which will incorporate major changes and fixes
Milestone
Metadata
Metadata
Assignees
Labels
spec-2026-07-282026-07-28 MCP spec release work2026-07-28 MCP spec release workv2Ideas, requests and plans for v2 of the SDK which will incorporate major changes and fixesIdeas, requests and plans for v2 of the SDK which will incorporate major changes and fixes
Type
Fields
Give feedbackNo fields configured for issues without a type.
The handler-facing context: per-request client identity/capabilities/version reachable from handlers, transport info under a namespace, legacy session surface quarantined. Several other issues in this milestone add fields to this object, so settling its shape early unblocks them.
What's in it
ctx.transport.…; legacy-only verbs/state quarantined)._metain the modern era, from the connection in legacy).logLevelgate: nonotifications/messageunless the request opted in.meta=keys coexist with the envelope.Requestcarrier; auth/headers reachable.Conformance
server-statelessrun (not skip) and passDependencies
References