modelcontextprotocol / modelcontextprotocol/python-sdk
Capabilities API + server/discover handler
オープン
@maxisbey がすでに取り組んでいます。
2026年6月18日 から。
enhancement
P2
spec-2026-07-28
v2
- 主要言語
- Python
- スター
- 24.3k
- フォーク
- 4k
- 平均マージ
- 1日 1時間
- マージ済み PR(30日)
- 31
説明
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()/InitializationOptionsso capabilities are configurable, not pre-computed. - The
extensionscapability map surfaced on both client and server. - Default
server/discoverhandler: capabilities, serverInfo, supportedVersions, instructions (cache-hint defaults from #2899).
Conformance
- (the discover checks live inside
server-stateless) - Together with Backwards compatibility & version negotiation, New HTTP serving path (modern + dual-era), subscriptions/listen, Context object (layered, per-request):
server-stateless
Dependencies
- Depends on: #2892
References
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
評価
この issue はまだ評価されていません。