Back to directory

MCP PHP SDK

The official, framework-agnostic PHP SDK for building Model Context Protocol servers and clients, maintained with the PHP Foundation and the Symfony project.

Visit website (opens in a new tab)php.sdk.modelcontextprotocol.io
MCP PHP SDK

MCP PHP SDK is the official PHP implementation of the Model Context Protocol, providing a framework-agnostic API for building MCP servers and clients: tools, resources, prompts, STDIO and HTTP transports, sessions and authorization, across both the original initialize-handshake protocol era and a newer stateless revision. It is a collaboration between the PHP Foundation and the Symfony project, and follows Symfony's coding standards and backward-compatibility promise.

A server is a plain PHP class registered with a few lines of wiring, and a client connects over a transport such as stdio to list a remote server's tools and call them directly. The SDK's protocol conformance is measured weekly against the official MCP Conformance Test Framework for both protocol revisions. It installs through Composer and is considered experimental until its first major release.

More in MCP servers

See all 734
  • Light Cloud

    light-cloud.com

    A hosting platform that deploys a static site, a container, or a managed Postgres database straight from a GitHub, GitLab, or Bitbucket push, with a preview URL for every branch and an MCP server for deploying from Claude Code.

  • ForensicDbg

    forensicdbg.com

    A post-mortem debugger for native Windows x86 and x64 crashes, with an MCP interface so AI tools can consume crash-dump analysis directly.

  • Karada.ai

    karada.ai

    A CI/CD platform that auto-compiles existing APIs into Go MCP servers, attaches composable middleware, and exposes them through one gateway usable from Cursor, Claude Code, and Windsurf.