Namespace Nexus\Mcp\Core\Schema\Request

Classes
CallToolRequest

Used by the client to invoke a tool provided by the server.

CompleteRequest

A request from the client to the server, to ask for completion options.

DiscoverRequest

A request from the client asking the server to advertise its supported protocol versions, capabilities, and other metadata. Servers MUST implement server/discover. Clients MAY call it but are not required to — version negotiation can also happen inline via per-request _meta.

GetPromptRequest

Used by the client to get a prompt provided by the server.

ListPromptsRequest

Sent from the client to request a list of prompts and prompt templates the server has.

ListResourcesRequest

Sent from the client to request a list of resources the server has.

ListResourceTemplatesRequest

Sent from the client to request a list of resource templates the server has.

ListToolsRequest

Sent from the client to request a list of tools the server has.

PaginatedRequest

A request that paginates its result via an opaque cursor.

ReadResourceRequest

Sent from the client to the server, to read a specific resource URI.

SubscriptionsListenRequest

Sent from the client to open a long-lived channel for receiving notifications outside the context of a specific request. Replaces the previous HTTP GET endpoint and ensures consistent behavior between HTTP and STDIO.

Interfaces
ClientRequest

Marker for a request that a client may send to a server.

InputRequest

Marker for a request that a server may send to a client, carried as a bare body inside an InputRequiredResult's inputRequests map.