[Server] Emit Notification on Capability Change

Open
#12 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
php
Domain
api, backend

Research direction

Start by tracing how the Registry dispatches events and how server notifications are represented. Implement the capability-change path for ResourceListChangedNotification, PromptListChangedNotification, and ToolListChangedNotification; done means each listed notification is emitted when its corresponding client capability list changes.

Written by the indexing model from the issue text.

Description

help wanted Server

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.

Dominant language
PHP
Stars
1.6k
Forks
173
Avg merge
2d 49m
Merged PRs (30d)
23

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from modelcontextprotocol/php-sdk

All issues in modelcontextprotocol/php-sdk

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.