modelcontextprotocol / modelcontextprotocol/python-sdk
Split the core from the server and client implementations
未關閉
還沒有人認領這個 Issue。
enhancement
needs decision
P3
v2
- 主要語言
- Python
- 星號
- 24.3k
- 分支
- 4k
- 平均合併
- 1 天 1 小時
- 30 天內合併 PR
- 31
描述
Description
In the current way of shipping the lib, it carries many deps, and many of them are never used in some integrations. For instance django-mcp-server does not need another http server. Also if one is doing a server httpx is not required.
My proposal is to either make those deps optional, or split out a mcp-core lib that does not carry this deps.
References
No response
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
首先檢視 Python SDK 目前如何宣告相依性,以及 django-mcp-server、server 和 client 整合如何使用這些相依性。比較將相依性設為選用項目與拆分出一個 mcp-core 程式庫這兩種方案,接著定義能滿足這些整合的套件邊界與相依性行為。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python
- 領域
- api, backend
- Issue 類型
- 重構
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 冷清
- 描述清晰度
- 需要釐清
- 新手友好度
- 35/100