modelcontextprotocol / modelcontextprotocol/php-sdk

[Server] Emit Notification on Capability Change

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

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

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.

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

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

はじめの一歩

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

調査の方向性

まず、Registry がイベントをどのようにディスパッチし、サーバー通知がどのように表現されているかを追跡します。ResourceListChangedNotification、PromptListChangedNotification、ToolListChangedNotification の capability 変更パスを実装します。完了の条件は、対応するクライアントの capability リストが変更されたときに、列挙した各通知が発行されることです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
php
領域
api, backend
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

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

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