MCP PHP SDK

Schema

Table of Contents

Namespaces

Content
Elicitation
Enum
JsonRpc
Notification
Request
Result

Classes

Annotations
Optional annotations for the client. The client can use annotations to inform how objects are used or displayed.
ClientCapabilities
Capabilities a client may support. Known capabilities are defined here, in this schema, but this is not a closed set: any client can define its own, additional capabilities.
Icon
A url pointing to an icon URL or a base64-encoded data URI.
Implementation
Describes the name and version of an MCP implementation.
ModelHint
Hints to use for model selection.
ModelPreferences
The server's preferences for model selection, requested of the client during sampling.
Page
Prompt
A prompt or prompt template that the server offers.
PromptArgument
Describes an argument that a prompt can accept.
PromptReference
Identifies a prompt.
Resource
A known resource that the server is capable of reading.
ResourceReference
A reference to a resource or resource template definition.
ResourceTemplate
A template description for resources available on the server.
Root
Represents a root directory or file that the server can operate on.
ServerCapabilities
Capabilities that a server may support. Known capabilities are defined here, in this schema, but this is not a closed set: any server can define its own, additional capabilities.
Tool
Definition for a tool the client can call.
ToolAnnotations
Additional properties describing a Tool to clients.

        
On this page

Search results