Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

SEP-2640: Skills Extension

未关闭
#568 0 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@koic 已经在做这个了。

开始于 2026年9月22日。

评估

这个 Issue 还没有评估数据。

描述

enhancement

Requesting support for SEP-2640 (Skills Extension, Extensions Track, Final), which serves Agent Skills over the existing Resources primitive.

Nothing in the SDK covers it today: no skills/* constants in lib/mcp/methods.rb, no helper module, and no match for skill anywhere under lib/ on main (1.6.0). ROADMAP.md names DPoP, workload identity federation, and the tasks extension as the unimplemented extensions — skills isn't listed.

What a server declaring the extension owes
  • skills/list and skills/get — both MUST
  • resources/directory/read — optional, gated behind directoryRead: true
  • the SEP-2133 capabilities.extensions fragment io.modelcontextprotocol/skills, alongside a declared resources capability
  • on 2026-07-28, skills/list results carry the SEP-2549 ttlMs/cacheScope hints
Prior art in the other official SDKs
  • python-sdk: modelcontextprotocol/python-sdk#3486, modelcontextprotocol/python-sdk#3485
  • typescript-sdk: modelcontextprotocol/typescript-sdk#2798, modelcontextprotocol/typescript-sdk#2818
  • go-sdk: modelcontextprotocol/go-sdk#1238, modelcontextprotocol/go-sdk#1240
  • csharp-sdk: modelcontextprotocol/csharp-sdk#1863, modelcontextprotocol/csharp-sdk#1864
Notes

MCP::Apps looks like the shape this would take: a helper module for an Extensions-Track SEP, with Capabilities#support_extensions for negotiation and the resources primitive underneath.

Most of it can be assembled today from define_custom_method plus resources_read_handler, and a custom method's result does get resultType stamped on the modern path. The SEP-2549 hints don't follow: Server::CACHEABLE_RESULT_METHODS is frozen and consulted internally, so a hand-rolled skills/list has to merge ttlMs/cacheScope into its own result. Worth folding into whatever first-class support lands.

主要语言
Ruby
星标
914
派生
133
平均合并
1 天 10 分钟
30 天内合并 PR
33

贡献指南

打开贡献指南

从这里开始

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

modelcontextprotocol/ruby-sdk 的其他 Issue

查看 modelcontextprotocol/ruby-sdk 的全部 Issue

相似的 Issue

更多 Ruby Issue

把新 issue 发到你的邮箱

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