[Server] (Re-)Implement missing Notification & Request Handlers

Open
#9 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
php

Research direction

Start by reviewing the existing handlers under src/Server/NotificationHandler and src/Server/RequestHandler, then compare their coverage with the Symfony MCP SDK and php-mcp's Dispatcher.php. The issue identifies SetLogLevelRequest and CancelledNotification as still open, while other protocol gaps may remain. Done means agreed sub-issues and corresponding handlers for the missing protocol requests and notifications.

Written by the indexing model from the issue text.

Description

help wanted improves spec compliance Server

For kicking off this SDK we used the Noticiation and Request handlers shipped with the Symfony MCP SDK and adopted schema component and registry.
But the MCP schema supports way more requests and notifications, that would need handlers as well. On php-mcp side this was the responsibility of the Dispatcher implementation.

Still open are:

  • ListResourceTemplatesRequest
    #89
  • ResourceSubscribeRequest
    #220
  • ResourceUnsubscribeRequest
    #220
  • SetLogLevelRequest
  • CompletionCompleteRequest
    #97
  • CancelledNotification

And potentially other requests and notification of the protocol.


Please announce yourself and create corresponding sub-issues before working on a specific handler - 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.