PHP MCP

PHP library that provides a fluent interface for creating MCP servers with automatic schema generation, type conversion, and compr

pronskiy 125
Claude CodeClaude DesktopGeneric
View source ↗

Mcp is a PHP library that provides a fluent, elegant interface for creating Model Context Protocol servers. Developed by pronskiy, it simplifies the process of defining tools, prompts, and resources through automatic schema generation from callback parameters and type conversion. The implementation features both object-oriented and static facade interfaces, comprehensive error handling with custom exceptions, and automatic conversion between PHP and MCP types. This makes it particularly valuable for PHP developers who want to quickly expose their functionality to AI assistants without dealing with the low-level details of the MCP specification.

Source

Repository: https://github.com/pronskiy/mcp

Maintain PHP MCP?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

[PHP MCP on getagentictools](https://getagentictools.com/mcp/pronskiy-mcp?ref=badge)