Search by

mcp / client

fabpotchr-hertel

Model Context Protocol client for PHP applications

dev-main 2026-11-27 14:01 UTC

This package is auto-updated.

Last update: 2026-11-27 22:48:09 UTC


README

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.