modelcontextprotocol / modelcontextprotocol/python-sdk

Python SDK v2

Offen
#1,253 2 Kommentare 0 Reaktionen 3 zugewiesene Personen Auf GitHub ansehen

@maxisbey arbeitet bereits daran.

Seit 16.1.2026.

enhancement P1 ready for work v2
Vorherrschende Sprache
Python
Sterne
24.3k
Forks
4k
Ø Merge
1 T. 1 Std.
Gemergte PRs (30 T.)
31

Beschreibung

I'll use this issue to add notes about what I think should happen for V2.

  • Use snake case instead of camel case on types.py (#97)
  • Don't use RootModel on types.py - It makes hard to reason about types.
  • Revisit generic classes, and add more default values for them #1207
  • Rethink ClientSessionGroup. It doesn't have a user-friendly API.
  • Rename FastMCP to MCPServer.
  • https://github.com/modelcontextprotocol/python-sdk/issues/12

I'll lock the issue, so only maintainers can comment, and I can focus on the things that I really think should be here.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.