Title: Capabilities API + server/discover handler · Issue #2896 · modelcontextprotocol/python-sdk · GitHub
Open Graph Title: Capabilities API + server/discover handler · Issue #2896 · modelcontextprotocol/python-sdk
X Title: Capabilities API + server/discover handler · Issue #2896 · modelcontextprotocol/python-sdk
Description: Tracks: #2804 #2793 Let servers/clients actually configure what they advertise (currently pre-computed), surface the extensions map, and provide the default server/discover handler that returns it. What's in it Rework get_capabilities() ...
Open Graph Description: Tracks: #2804 #2793 Let servers/clients actually configure what they advertise (currently pre-computed), surface the extensions map, and provide the default server/discover handler that returns it....
X Description: Tracks: #2804 #2793 Let servers/clients actually configure what they advertise (currently pre-computed), surface the extensions map, and provide the default server/discover handler that returns it....
Opengraph URL: https://github.com/modelcontextprotocol/python-sdk/issues/2896
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Capabilities API + server/discover handler","articleBody":"Tracks: #2804 #2793\n\nLet servers/clients actually configure what they advertise (currently pre-computed), surface the `extensions` map, and provide the default `server/discover` handler that returns it.\n\n## What's in it\n\n- Rework `get_capabilities()` / `InitializationOptions` so capabilities are configurable, not pre-computed.\n- The `extensions` capability map surfaced on both client and server.\n- Default `server/discover` handler: capabilities, serverInfo, supportedVersions, instructions (cache-hint defaults from #2899).\n\n## Conformance\n\n- (the discover checks live inside `server-stateless`)\n- Together with _Backwards compatibility \u0026 version negotiation_, _New HTTP serving path (modern + dual-era)_, _subscriptions/listen_, _Context object (layered, per-request)_: `server-stateless`\n\n## Dependencies\n\n- Depends on: #2892\n\n## References\n\n- [server/discover](https://modelcontextprotocol.io/specification/draft/server/discover)\n- [SEP-2133](https://github.com/modelcontextprotocol/modelcontextprotocol/pull/2133)\n- [SEP-2575](https://github.com/modelcontextprotocol/modelcontextprotocol/pull/2575)\n","author":{"url":"https://github.com/maxisbey","@type":"Person","name":"maxisbey"},"datePublished":"2026-06-17T11:12:01.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/2896/python-sdk/issues/2896"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:34fdd758-f8be-2816-fea9-19119b9525de |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BB44:3F5706:227D2B:304CB8:6A5862F8 |
| html-safe-nonce | dc632b1291d382af33dd6c47045cb9816c999becee0d02fa4f295e80d2746541 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjQ0OjNGNTcwNjoyMjdEMkI6MzA0Q0I4OjZBNTg2MkY4IiwidmlzaXRvcl9pZCI6IjQwMjMwNjU5MDE5NjA1NTMyMDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 907aa5af3600bf7ddc6e492156fba08afcf89f0e8aa4f6b3bfeef8cfdda6e330 |
| hovercard-subject-tag | issue:4682674253 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/modelcontextprotocol/python-sdk/2896/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2dbf36d352a1d769df0ea82d34a67b6da3538aa85263b99dba69d14b6f28d220/modelcontextprotocol/python-sdk/issues/2896 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2dbf36d352a1d769df0ea82d34a67b6da3538aa85263b99dba69d14b6f28d220/modelcontextprotocol/python-sdk/issues/2896 |
| og:image:alt | Tracks: #2804 #2793 Let servers/clients actually configure what they advertise (currently pre-computed), surface the extensions map, and provide the default server/discover handler that returns it.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | maxisbey |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6 |
| turbo-cache-control | no-preview |
| go-import | github.com/modelcontextprotocol/python-sdk git https://github.com/modelcontextprotocol/python-sdk.git |
| octolytics-dimension-user_id | 182288589 |
| octolytics-dimension-user_login | modelcontextprotocol |
| octolytics-dimension-repository_id | 862584018 |
| octolytics-dimension-repository_nwo | modelcontextprotocol/python-sdk |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 862584018 |
| octolytics-dimension-repository_network_root_nwo | modelcontextprotocol/python-sdk |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8aae7b8d6caacacf5c66eaeb2702d8dc88d85b4a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width