by modelcontextprotocol · MCP Server · ★ 1.5k
Last updated: · Indexed by AgentSkillsHub · Auto-synced every 8h
MCP PHP SDK 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 and the Symfony project. It adopts development practices and standards from the Symfony project, including Coding Standards and the Backward Compatibility Promise. Until the first major release, this SDK is considered experimental, please see the roadmap for planned next steps and features. Installation Quick Start This example demonstrates the most common usage pattern - a STDIO server using attribute discovery. Define Your MCP Elements Create a class with MCP capabilities using attributes: php <?php namespace App; use Mcp\Capability\Attribute\McpTool; use Mcp\Capability\Attribute\McpResource; class CalculatorElements { / Adds two numbers together. @param int $a The first number @param int $b The second number @return int The sum of the two numbers / #[McpTool] public function add(int $a, int $b): int { return $a + $b; } / Performs basic arith
| Stars | 1,461 |
| Forks | 129 |
| Language | PHP |
| Category | MCP Server |
| Quality Score | 53.064/100 |
| Open Issues | 33 |
| Last Updated | 2026-04-26 |
| Created | 2025-07-15 |
| Platforms | cli |
| Est. Tokens | ~124k |
These tools work well together with php-sdk for enhanced workflows:
Explore other popular mcp server tools:
php-sdk is The official PHP SDK for Model Context Protocol servers and clients. Maintained in collaboration with The PHP Foundation.. It is categorized as a MCP Server with 1.5k GitHub stars.
php-sdk is primarily written in PHP.
You can find installation instructions and usage details in the php-sdk GitHub repository at github.com/modelcontextprotocol/php-sdk. The project has 1.5k stars and 129 forks, indicating an active community.