MCP PHP SDK

Request

Table of Contents

Interfaces

RequestHandlerInterface
Covariant in TResult: a handler only ever produces its result, so one declaring a concrete result type satisfies a collection of handlers typed by the interface every result implements.

Classes

CallToolHandler
A tools/call answers with the tool's output or, under MRTR, with a request for the input it still needs.
CompletionCompleteHandler
Handles completion/complete requests.
GetPromptHandler
InitializeHandler
ListPromptsHandler
ListResourcesHandler
ListResourceTemplatesHandler
ListToolsHandler
PingHandler
ReadResourceHandler
ResourceSubscribeHandler
ResourceUnsubscribeHandler
SetLogLevelHandler
Handler for the logging/setLevel request.
On this page

Search results