MCP Directory
Back

php-sdk

by modelcontextprotocol · PHP · ★ 1,467

The official PHP SDK for Model Context Protocol servers and clients. Maintained in collaboration with The PHP Foundation.

Install

git clone https://github.com/modelcontextprotocol/php-sdk.git

Claude Desktop config

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "php-sdk": {
      "command": "npx",
      "args": [
        "-y",
        "github:modelcontextprotocol/php-sdk"
      ]
    }
  }
}

From the README

The official PHP SDK for Model Context Protocol (MCP). It provides a framework-agnostic API for implementing MCP servers and clients in PHP. This project represents a collaboration between [the PHP Foundation](https://thephp.foundation/) and the [Symfony project](https://symfony.com/). It adopts development practices and standards from the Symfony project, including [Coding Standards](https://symfony.com/doc/current/contributing/code/standards.html) and the [Backward Compatibility Promise](https://symfony.com/doc/current/contributing/code/bc.html). Until the first major release, this SDK is…
Read full README on GitHub →

💡 Need a managed MCP host?

Try Claude Pro for the smoothest MCP experience, or browse our cloud-hosted servers.

Related other servers