Discover and explore top open-source AI tools and projects—updated daily.
php-mcpPHP MCP server for AI assistant integration
Top 45.9% on SourcePulse
This library provides a robust PHP implementation for the Model Context Protocol (MCP) server, enabling PHP applications to expose functionality to AI assistants. It targets developers building AI-integrated applications who need to connect PHP backends with AI models like Claude or ChatGPT.
How It Works
The server leverages PHP 8.1+ features, PSR standards, and an event-driven architecture powered by ReactPHP. It supports multiple transport protocols (stdio, http+sse, streamable http) and uses PHP 8 Attributes for zero-configuration registration of MCP elements like Tools, Resources, and Prompts. Automatic JSON schema generation from method signatures enhances validation and client interaction.
Quick Start & Requirements
composer require php-mcp/serverHighlighted Details
Maintenance & Community
The project appears actively maintained, with a clear structure for contributions. Links to examples and testing commands are provided.
Licensing & Compatibility
Limitations & Caveats
The HttpServerTransport is deprecated in favor of StreamableHttpServerTransport. While the README provides extensive examples, setting up complex HTTP transports or custom dependency injection might require a deeper understanding of ReactPHP and PSR-11 containers.
2 months ago
1 day
portiaAI
punkpeye
airweave-ai
transitive-bullshit