Support extensions SEP-2133

オープン
#785 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
55/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
java
領域
api

調査の方向性

まず、ClientCapabilities と ServerCapabilities の Java SDK 表現とシリアライズ経路を特定します。issue にリンクされている SEP-2133 スキーマおよび参照されている 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時間
マージ済み PR(30日)
9

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

modelcontextprotocol/java-sdk のほかの issue

modelcontextprotocol/java-sdk の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。