MCP PHP SDK

MissingRequiredClientCapabilityException extends RuntimeException implements ExceptionInterface

Answering the request needs a client capability it never declared; the protocol answers `-32021` with HTTP 400.

The capabilities travel as a ClientCapabilities object rather than a list of names, so the client can compare them against what it would send.

Tags
author

Christopher Hertel mail@christopher-hertel.de

Table of Contents

Interfaces

ExceptionInterface

Properties

$requiredCapabilities  : ClientCapabilities

Methods

__construct()  : mixed

Properties

Methods

On this page

Search results