Skip to content

About

Client component of the official PHP SDK for Model Context Protocol. Maintained in collaboration with The PHP Foundation.

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

MCP Client

A client for the Model Context Protocol: connect to MCP servers over STDIO or HTTP, call tools, read resources and get prompts. It speaks both the initialize handshake and the stateless 2026-07-28 revision, and authorizes with OAuth.

composer require mcp/client

Some features need an extra package:

  • firebase/php-jwt for the private_key_jwt client authentication
  • a PSR-18 HTTP client and PSR-17 factories for the HTTP transport, for example symfony/http-client and nyholm/psr7

To build a server as well, install mcp/sdk instead.

Resources

This repository is a read-only split of mcp/sdk.

About

Client component of the official PHP SDK for Model Context Protocol. Maintained in collaboration with The PHP Foundation.

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors