Support extensions SEP-2133

Đang mở
#785 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
55/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
java
Lĩnh vực
api

Hướng nghiên cứu

Bắt đầu bằng việc xác định các biểu diễn trong Java SDK và các đường dẫn tuần tự hóa cho ClientCapabilities và ServerCapabilities. So sánh chúng với schema SEP-2133 được liên kết trong issue và các triển khai Python và TypeScript được tham chiếu. Công việc được coi là hoàn tất khi cả hai đối tượng capability hỗ trợ các trường mở rộng có khả năng tương tác mà không nhầm lẫn chúng với các trường thử nghiệm.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Java
Star
3.7k
Fork
1.1k
Merge trung bình
1 ngày 15 giờ
Pull request đã merge (30 ngày)
9

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của modelcontextprotocol/java-sdk

Tất cả issue của modelcontextprotocol/java-sdk

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.