modelcontextprotocol / modelcontextprotocol/python-sdk

Python SDK v2

未關閉
#1,253 2 則留言 0 個 reaction 已指派 3 人 在 GitHub 檢視

@maxisbey 已經在處理了。

開始於 2026年1月16日。

enhancement P1 ready for work v2
主要語言
Python
星號
24.3k
分支
4k
平均合併
1 天 1 小時
30 天內合併 PR
31

描述

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.

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。