MCP PHP SDK: The official PHP SDK for the Model Context Protocol (1.6k stars)
What it does
All text below is quoted directly from the project README.
>The official PHP SDK for Model Context Protocol servers and clients. Maintained in collaboration with The PHP Foundation.
Documentation:
- Get started: Install the SDK and build your first server
- Servers: Tools, resources, resource templates, prompts, and how to register them
- Inside your handler: Talking back to the client, logging, and asking for input
- Running your server: Server builder, STDIO and HTTP transports, framework integration, sessions, authorization
- Clients: Client SDK for connecting to and communicating with MCP servers
- Protocol versions: The two protocol eras, and what revision 2026-07-28 changed
- Advanced: Events, protocol extensions (including MCP Apps), and custom message handlers
- Examples: Runnable server and client examples
>composer require mcp/sdk
Repository
modelcontextprotocol/php-sdk
Repository stats
|Metric|Value|
|:-|:-|
|Stars|1,634|
|Forks|184|
|Last release|v0.9.0 (2026-10-18)|
|Languages|PHP 99.9%, Other 0.1%|
|Contributors|64|
|AI contributor accounts (Claude / Codex / Cursor / Copilot)|claude: 16, Copilot: 2|
|AI co-authored commits|Claude: 16, Copilot: 2|
Main contributor
|Field|Value|
|:-|:-|
|Name|Christopher Hertel|
|GitHub|@chr-hertel|
|Commits to this repo|221 (top contributor)|
|Company / Location|Berlin|
|X / Twitter|@chr_hertel|
|Followers|338|
──────────────────────────────
📌 How many great GitHub repos have you discovered and completely forgotten about?
Don't let another useful tool disappear into your Reddit feed. Get the community's best repos, organized by category, plus key takeaways from real developer discussions, delivered to your inbox twice a week.
📬 Never lose track of great repos again. Subscribe free.
2 points
Mentions
MCP PHP SDK: The official PHP SDK for the Model Context Protocol (1.6k stars) What it does All text below is quoted directly from the project README. >The official PHP SDK for Model Context Protocol servers and clients. Maintained in collaboration with The PHP Foundation. Documentation: - Get started: Install the SDK and build your first server - Servers: Tools, resources, resource templates, prompts, and how to register them - Inside your handler: Talking back to the client, logging, and asking for input - Running your server: Server builder, STDIO and HTTP transports, framework integration, sessions, authorization - Clients: Client SDK for connecting to and communicating with MCP servers - Protocol versions: The two protocol eras, and what revision 2026-07-28 changed - Advanced: Events, protocol extensions (including MCP Apps), and custom message handlers - Examples: Runnable server and client examples >composer require mcp/sdk Repository modelcontextprotocol/php-sdk Repository stats |Metric|Value| |:-|:-| |Stars|1,634| |Forks|184| |Last release|v0.9.0 (2026-10-18)| |Languages|PHP 99.9%, Other 0.1%| |Contributors|64| |AI contributor accounts (Claude / Codex / Cursor / Copilot)|claude: 16, Copilot: 2| |AI co-authored commits|Claude: 16, Copilot: 2| Main contributor |Field|Value| |:-|:-| |Name|Christopher Hertel| |GitHub|@chr-hertel| |Commits to this repo|221 (top contributor)| |Company / Location|Berlin| |X / Twitter|@chr_hertel| |Followers|338| ────────────────────────────── 📌 How many great GitHub repos have you discovered and completely forgotten about? Don't let another useful tool disappear into your Reddit feed. Get the community's best repos, organized by category, plus key takeaways from real developer discussions, delivered to your inbox twice a week. 📬 Never lose track of great repos again. Subscribe free.