modelcontextprotocol / modelcontextprotocol/php-sdk
[Server] Emit Notification on Capability Change
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 1.6k
- Forks
- 173
- Avg merge
- 2d 49m
- Merged PRs (30d)
- 23
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
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.
Assessment
- Tech stack
- php
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100