Support extensions SEP-2133
还没有人认领这个 Issue。
评估
调研方向
首先定位 ClientCapabilities 和 ServerCapabilities 的 Java SDK 表示形式及序列化路径。将它们与 issue 中链接的 SEP-2133 schema 以及所引用的 Python 和 TypeScript 实现进行比较。当两个 capability 对象都支持可互操作的扩展字段,且不会将其与实验性字段混淆时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
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
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
modelcontextprotocol/java-sdk 的其他 Issue
-
area/transport bug P2
难度 2/5 1-3 小时 新手友好度 88/100
modelcontextprotocol/java-sdk#1136 ·
-
area/client bug P2
难度 2/5 1-3 小时 新手友好度 84/100
modelcontextprotocol/java-sdk#1124 · 1 条评论 ·
-
ServerCapabilities.logging is added unconditionally, overriding the caller's explicit capabilities 未关闭bug P2 ready for work
难度 2/5 1-3 小时 新手友好度 68/100
modelcontextprotocol/java-sdk#1086 · 1 条评论 ·
-
enhancement good first issue P3
难度 2/5 1-3 小时 新手友好度 82/100
modelcontextprotocol/java-sdk#1067 ·
-
bug P2 ready for work
难度 2/5 1-3 小时 新手友好度 74/100
modelcontextprotocol/java-sdk#898 · 1 条评论 ·
查看 modelcontextprotocol/java-sdk 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 76/100
-
bug needs triage
难度 2/5 1-3 小时 新手友好度 76/100
-
难度 1/5 1 小时以内 新手友好度 94/100
objectionary/hone-maven-plugin#1061 ·
-
难度 2/5 1-3 小时 新手友好度 76/100
spring-projects/spring-modulith#1895 ·