modelcontextprotocol / modelcontextprotocol/python-sdk

Improve docs on how to use `instructions` on `InitializeResult`

未关闭 适合新手
#1,464 4 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

documentation P1 ready for work
主要语言
Python
星标
24.3k
派生
4k
平均合并
1 天 1 小时
30 天内合并 PR
31

描述

Question

Lots of people want tool bundling / grouping / namespaces to guide servers how to use tools together.

We should make instructions more obvious and have examples for how to use it - maybe this can address a lot of requests for bundling and namespaces if it's more obvious this is something you can do.

https://modelcontextprotocol.io/specification/2025-06-18/schema#initializeresult-instructions

Additional Context

No response

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从 issue 中链接的 InitializeResult instructions 部分开始,并检查 SDK 现有的文档结构,以确定最佳位置。添加清晰的指南和示例,说明 instructions 如何描述工具的打包、分组或命名空间。完成的标准是,用户无需自行推断该字段的用途,仅通过文档就能理解如何使用它。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
documentation
Issue 类型
文档
难度
2/5
预计耗时
1-3 小时
活跃度
冷清
描述清晰度
基本清楚
新手友好度
68/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。