MCP PHP SDK

Extension

Table of Contents

Namespaces

Apps

Interfaces

ExtensionInterface
An MCP protocol extension advertised during capability negotiation.

Classes

AbstractExtension
Base for an extension that only announces a capability and adds no RPC methods of its own — the common case. Implementers only need {@see ExtensionInterface::getId()} and {@see ExtensionInterface::getCapabilities()}.
ExtensionIdentifier
An extension identifier (SEP-2133): a `_meta` key with a mandatory vendor prefix, since an extension is something a vendor owns and an unprefixed name has no owner. Naming rules are enforced at construction, so any `ExtensionIdentifier` in hand is guaranteed well-formed.
On this page

Search results