{"repo":"php-mcp/server","free":true,"listed":false,"github":"https://github.com/php-mcp/server","clone":"git clone https://github.com/php-mcp/server.git","description":"Core PHP implementation for the Model Context Protocol (MCP) server","language":"PHP","stars":864,"topics":[],"license":"MIT","category":"mcp-servers","readme_excerpt":"PHP MCP Server SDK A comprehensive PHP SDK for building Model Context Protocol (MCP) servers. Create production-ready MCP servers in PHP with modern architecture, extensive testing, and flexible transport options. This SDK enables you to expose your PHP application's functionality as standardized MCP Tools , Resources , and Prompts , allowing AI assistants (like Anthropic's Claude, Cursor IDE, OpenAI's ChatGPT, etc.) to interact with your backend using the MCP standard. 🚀 Key Features - 🏗️ Modern Architecture : Built with PHP 8.1+ features, PSR standards, and modular design - 📡 Multiple Transports : Supports stdio , http+sse , and new streamable HTTP with resumability - 🎯 Attribute-Based Definition : Use PHP 8 Attributes ( #[McpTool] , #[McpResource] , etc.) for zero-config element registration - 🔧 Flexible Handlers : Support for closures, class methods, static methods, and invokable classes - 📝 Smart Schema Generation : Automatic JSON schema generation from method signatures with optional #[Schema] attribute enhancements - ⚡ Session Management : Advanced session handling with multiple storage backends - 🔄 Event-Driven : ReactPHP-based for high concurrency and non-blocking operations - 📊 Batch Processing : Full support for JSON-RPC batch requests - 💾 Smart Caching : Intelligent caching of discovered elements with manual override precedence - 🧪 Completion Providers : Built-in support for argument completion in tools and prompts - 🔌 Dependency Injection : Full PSR-11","default_branch":null,"files":null,"tree":[],"storefront":"/r/php-mcp","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/php-mcp/server/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}