-
Notifications
You must be signed in to change notification settings - Fork 4k
Capabilities API + server/discover handler #2896
Copy link
Copy link
Open
Labels
P2Moderate issues affecting some users, edge cases, potentially valuable featureModerate issues affecting some users, edge cases, potentially valuable featureenhancementRequest for a new feature that's not currently supportedRequest for a new feature that's not currently supportedspec-2026-07-28Concerns the SDK's implementation of the 2026-07-28 MCP spec revisionConcerns the SDK's implementation of the 2026-07-28 MCP spec revisionv2Affects the v2 line (2.x on main)Affects the v2 line (2.x on main)
Milestone
Description
Activity
Metadata
Metadata
Assignees
Labels
P2Moderate issues affecting some users, edge cases, potentially valuable featureModerate issues affecting some users, edge cases, potentially valuable featureenhancementRequest for a new feature that's not currently supportedRequest for a new feature that's not currently supportedspec-2026-07-28Concerns the SDK's implementation of the 2026-07-28 MCP spec revisionConcerns the SDK's implementation of the 2026-07-28 MCP spec revisionv2Affects the v2 line (2.x on main)Affects the v2 line (2.x on main)
Tracks: #2804 #2793
Let servers/clients actually configure what they advertise (currently pre-computed), surface the
extensionsmap, and provide the defaultserver/discoverhandler that returns it.What's in it
get_capabilities()/InitializationOptionsso capabilities are configurable, not pre-computed.extensionscapability map surfaced on both client and server.server/discoverhandler: capabilities, serverInfo, supportedVersions, instructions (cache-hint defaults from Caching hints (ttlMs / cacheScope) #2899).Conformance
server-stateless)server-statelessDependencies
References