MCP PHP SDK

Exception

Table of Contents

Interfaces

ExceptionInterface
NotFoundExceptionInterface

Classes

BadMethodCallException
ClientException
ConfigurationException
ContainerException
Exception
InvalidArgumentException
InvalidCursorException
JwksRefreshRateLimitException
LogicException
MissingRequiredClientCapabilityException
Answering the request needs a client capability it never declared; the protocol answers `-32021` with HTTP 400.
PromptGetException
PromptNotFoundException
RegistryException
RequestStateException
An echoed `requestState` failed verification.
ResourceNotFoundException
ResourceReadException
RuntimeException
ServiceNotFoundException
SessionLockException
A session lock could not be acquired or released.
SessionLockTimeoutException
Another request held the session lock for longer than the timeout.
SessionRequiredException
A handler needs a session on a server built without {@see \Mcp\Server\Builder::setSession()}; the protocol answers `-32603` with this message.
SessionStoreException
The session store could not be reached, so whether a session exists is unknown.
ToolCallException
ToolNotFoundException
On this page

Search results