modelcontextprotocol/php-sdk
The official PHP SDK for the Model Context Protocol offers a framework-agnostic API for implementing MCP servers and clients, covering tools, resources, prompts, STDIO and HTTP transports, sessions and authorization. It supports both protocol eras, the initialize handshake and the stateless 2026-07-28 revision, and is tested weekly against the MCP conformance suite. The project is a collaboration between the PHP Foundation and Symfony and is installed through Composer as mcp/sdk.
Maintenance activity