API: Generalize client notification handlers for SDK client classes
維護者通常 3 天內回覆
還沒有人認領這個 Issue。
評估
研究方向
首先檢視 issue 中提到的 McpAsyncClient、McpSyncClient 和 StatelessClient 類別,以及 issue #831 中相關的請求。確定如何透過組合或繼承支援自訂用戶端通知處理常式,並考量所連結更新擴充功能的需求;當這些用戶端類別公開可自訂的通知處理時,即視為完成。
由索引模型根據 Issue 內容生成。
描述
Issue #831 requests the ability to add custom notifications for the SDK's McpAsync/Sync/StatelssServer classes.
This issue requests the team to enhance the API to allow for custom notification handlers on the McpAsync/Sync/StatelessClient classes. Currently there is no way...through composition or through inheritance...to add custom notification handlers. To create an update extension, both the server notification (sending) and client notification handling must be customizable.
- 主要語言
- Java
- 星號
- 3.7k
- 分支
- 1.2k
- 平均合併
- 2 天 22 小時
- 30 天內合併 PR
- 3
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
modelcontextprotocol/java-sdk 的其他 Issue
-
HttpServletStreamableServerTransportProvider: GET stream sends no status or headers until the first event可能已有人在做 @karthiksenv 於 4 天前認領。 未關閉area/server area/transport P3
難度 2/5 1-3 小時 新手友好度 86/100
modelcontextprotocol/java-sdk#1155 ·
維護者通常 3 天內回覆
-
Client request handlers that complete empty send no JSON-RPC response可能已有人在做 @1fanwang 於 34 天前認領。 未關閉area/client bug P2
難度 2/5 1-3 小時 新手友好度 84/100
modelcontextprotocol/java-sdk#1124 · 5 則留言 ·
維護者通常 3 天內回覆
-
ServerCapabilities.logging is added unconditionally, overriding the caller's explicit capabilities可能已有人在做 @1yuxiangJ 於 49 天前認領。 未關閉bug P2 ready for work
難度 2/5 1-3 小時 新手友好度 68/100
modelcontextprotocol/java-sdk#1086 · 1 則留言 ·
維護者通常 3 天內回覆
-
Reject listRoots if not supported by client, without sending any request可能已有人在做 @nikita-kibitkin 於 72 天前認領。 未關閉enhancement good first issue P3
難度 2/5 1-3 小時 新手友好度 82/100
modelcontextprotocol/java-sdk#1067 · 1 則留言 ·
維護者通常 3 天內回覆
-
StdioClientTransport missing explicit UTF-8 charset in InputStreamReader (same issue as #295, but on client side)可能已有人在做 @suryateja-g13 於 143 天前認領。 未關閉bug P2 ready for work
難度 2/5 1-3 小時 新手友好度 74/100
modelcontextprotocol/java-sdk#898 · 1 則留言 ·
維護者通常 3 天內回覆
查看 modelcontextprotocol/java-sdk 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 68/100
jenkinsci/ec2-plugin#2041 ·
-
L: github:actions L: php:composer
難度 2/5 1-3 小時 新手友好度 88/100
dependabot/dependabot-core#16493 ·
維護者通常 1 天內回覆
-
SHOW EDIT of a subclass for an object of its superclass: the form fails to open with AssertionError未關閉
難度 2/5 1-3 小時 新手友好度 74/100
-
難度 1/5 1 小時以內 新手友好度 72/100
-
難度 1/5 1 小時以內 新手友好度 78/100
FlashyReese/sodium-extra#608 ·