Support extensions SEP-2133

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

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
55/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
冷清
技术栈
java
领域
api

调研方向

首先定位 ClientCapabilities 和 ServerCapabilities 的 Java SDK 表示形式及序列化路径。将它们与 issue 中链接的 SEP-2133 schema 以及所引用的 Python 和 TypeScript 实现进行比较。当两个 capability 对象都支持可互操作的扩展字段,且不会将其与实验性字段混淆时,即表示完成。

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

描述

area/client area/server enhancement P1

SEP-2133 Extensions was recently approved through the SEP process.

This has resulted in a new 'extension' fields in ClientCapabilities and ServerCapabilities.

Note that the capabilities extension fields are not in the 11-25-2025 schema and are distinct from the 'experimental' field...which is in the 11/25/2025 and the current Java SDK.

Expected Behavior

Support the extension fields in ClientCapabilities and ServerCapabilities so that extensions can be made connect interoperable with similar extensions in other language sdks (e.g. python and typescript).

Current Behavior

Explained above.

Context

I am in the process of implementing an extension to support grouping of primitives I already have a similar extension in python and for typescript. To make python clients that support the extension to connect to java servers that support the groups extension it's necessary that the new capabilities extension field be supported by the Java SDK.

In the immediate term I'm working around this by using the existing 'experimental' capabilities field. But interoperability with other sdks won't work.

If a pr implementing this feature is desired, I would be willing and able to create one. Please LMK on this issue or in direct conversation if you would like me to contribute this.

主要语言
Java
星标
3.7k
派生
1.1k
平均合并
1 天 15 小时
30 天内合并 PR
9

贡献指南

打开贡献指南

从这里开始

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

modelcontextprotocol/java-sdk 的其他 Issue

查看 modelcontextprotocol/java-sdk 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

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