modelcontextprotocol / modelcontextprotocol/php-sdk
[Server] Emit Notification on Capability Change
オープン
まだ誰も着手していません。
help wanted
Server
- 主要言語
- PHP
- スター
- 1.6k
- フォーク
- 173
- 平均マージ
- 2日 49分
- マージ済み PR(30日)
- 23
説明
The specification lists server emitting notifications, whenever a list of capabilities for the client changes:
For this we would need support from dispatching events in the Registry to creating notifications for
- ResourceListChangedNotification
- PromptListChangedNotification
- ToolListChangedNotification
(There are more server notification, but less connected to this scenario.)
Please announce yourself before working on this - so we can avoid duplicate effort.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、Registry がイベントをどのようにディスパッチし、サーバー通知がどのように表現されているかを追跡します。ResourceListChangedNotification、PromptListChangedNotification、ToolListChangedNotification の capability 変更パスを実装します。完了の条件は、対応するクライアントの capability リストが変更されたときに、列挙した各通知が発行されることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- php
- 領域
- api, backend
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100