modelcontextprotocol / modelcontextprotocol/python-sdk
Support selection of authorization servers from PRM document
未關閉
還沒有人認領這個 Issue。
auth
enhancement
- 主要語言
- Python
- 星號
- 24.3k
- 分支
- 4k
- 平均合併
- 1 天 1 小時
- 30 天內合併 PR
- 31
描述
Initial Checks
- I confirm that I'm using the latest version of MCP Python SDK
- I confirm that I searched for my issue in https://github.com/modelcontextprotocol/python-sdk/issues before opening this issue
Description
SDK should offer a way for developers to specify which of the authorization servers to use from the PRM document.
Right now, the first server is selected.
Example Code
Python & MCP Python SDK
Latest
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
先閱讀 src/mcp/client/auth.py 約第 250 行的位置,目前這裡會選取 PRM 文件中的第一個授權伺服器。確定開發者應如何指定其偏好的伺服器,並驗證當文件中存在多個伺服器時是否會遵循該選擇。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python
- 領域
- authentication
- Issue 類型
- 功能
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100