Skip to content

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

Closed

Description

@chr-hertel

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:

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.

Activity

  1. added
    Server
    on Aug 29, 2025
  2. rheedwahn commented on Sep 6, 2025

    @rheedwahn

    Hi @chr-hertel i ll like to have a go at this, will reach out if i need additional questions

  3. ineersa commented on Sep 15, 2025

    @ineersa
    Contributor

    One more thing I've noticed while rewriting MCPs https://modelcontextprotocol.io/specification/2025-03-26/basic/utilities/cancellation handler is missing too

  4. added this to the 1.0 milestone on Dec 28, 2025
  5. bigdevlarry commented on Jan 2, 2026

    @bigdevlarry
    Contributor

    Hi @chr-hertel I can see both classes for ResourceSubscribeRequest and ResourceUnsubscribeRequest exist but the handlers and implementations in the RegistryInterface hasn't been effected?

    Q: What will be the expectation of both handlers?

  6. chr-hertel commented on Jan 3, 2026

    @chr-hertel
    MemberAuthor

    @bigdevlarry For those handlers there's a extra tasks, that's true.

    We need to track subscribers of a resource, meaning register them within the handler for ResourceSubscribeRequest and unregister them within the handler for ResourceSubscribeRequest - and: we need to bring in functionality to trigger the ResourceUpdatedNotification which is sent to subscriber of that specific resource.

    Pointers in Kyrian's previous package:

    I hope this helps as a kickstart - let us know if you have more questions :)

  7. added
    help wanted
    improves spec compliance
    needs design
    and removed
    needs design
    on Jan 23, 2026
  8. chr-hertel commented on Nov 10, 2026

    @chr-hertel
    MemberAuthor

    All handlers from the list are in by now - SetLogLevelHandler came with #176, subscribe/unsubscribe with #220. The only gap left is notifications/cancelled, which a handshake-era server still ignores - split that out into #732, closing here. Thanks everyone for chipping in!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Serverhelp wantedimproves spec compliance

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions