Search by

nexusphp / mcp-client

PHP SDK for the MCP specification - client component.

Maintainers

Package info

github.com/NexusPHP/mcp-client

Issues

Documentation

pkg:composer/nexusphp/mcp-client

Transparency log

Fund package maintenance!

paulbalandan

Statistics

Installs: 2

Dependents: 1

Suggesters: 0

Stars: 0

v1.0.0 2026-09-04 08:47 UTC

This package is auto-updated.

Last update: 2026-09-04 13:28:44 UTC


README

PHP Latest Stable Version License

The client half of the Nexus MCP SDK: a ClientBuilder, a Client with one typed method per MCP capability, transports for spawned stdio servers and Streamable HTTP endpoints, and the OAuth authorization flow with pluggable token stores.

Important

This repository is a read-only subtree split of NexusPHP/mcp. Open issues and pull requests there. Anything opened here is closed automatically with the same pointer.

Installation

composer require nexusphp/mcp-client

This pulls in nexusphp/mcp-core. The umbrella nexusphp/mcp ships the server and the official extensions alongside it.

What is inside

Namespace Contents
Nexus\Mcp\Client ClientBuilder, Client, and ClientContext
Nexus\Mcp\Client\Transport StdioClientTransport, StreamableHttpClientTransport, and SupervisedTransport
Nexus\Mcp\Client\Auth The authorization coordinator, grant strategies, PKCE, and the token and registration stores
Nexus\Mcp\Client\Dispatch and Nexus\Mcp\Client\Handler Request deadlines, progress, and the notification handler registry
Nexus\Mcp\Client\Subscription The subscriptions/listen consumer
Nexus\Mcp\Client\Extension and Nexus\Mcp\Client\Time The outbound extension gate and the cancellable delay

Documentation

License

Released under the MIT License.