MCP Directory
Back

php-sdk

by modelcontextprotocol · PHP · ★ 1,545

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

Auto-generated from the repo's primary language — check the repo's own README for its exact install instructions.

Claude Desktop config

A starting point for your claude_desktop_config.json (auto-generated — the repo's README may specify a published package name or required env vars):

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

From the README

[](https://packagist.org/packages/mcp/sdk) [](https://github.com/modelcontextprotocol/php-sdk/actions/workflows/pipeline.yaml) [](https://packagist.org/packages/mcp/sdk) [](LICENSE) [](https://github.com/modelcontextprotocol/php-sdk/actions/workflows/conformance-weekly.yaml) [](https://github.com/modelcontextprotocol/php-sdk/actions/workflows/conformance-weekly.yaml) 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.fou…
Read full README on GitHub →

Related other servers