MCP PHP SDK

Subscription

Table of Contents

Interfaces

NotificationBusInterface
Carries server-initiated notifications to whichever `subscriptions/listen` streams are open.

Classes

InMemoryNotificationBus
A notification bus held in one process's memory.
Psr16NotificationBus
A notification bus over any PSR-16 cache, so publishers and listen streams in different processes can see each other.
PublishingEventDispatcher
Publishes registry change events onto a notification bus, then passes them on.
RegistryChangePublisher
Turns the registry's own change events into the notifications a `subscriptions/listen` stream carries.
On this page

Search results