crustum / mcp
MCP plugin for CakePHP applications
Requires
- php: >=8.2
- cakephp/cakephp: ^5.0
- crustum/json-schema: ^1.0
- crustum/plugin-manifest: ^1.0
- crustum/tessera: ^1.0
- symfony/polyfill-php84: ^1.31
- symfony/process: ^7.4.5|^8.0.5
Requires (Dev)
- cakephp/bake: ^3.0
- cakephp/cakephp-codesniffer: ^5.0
- mockery/mockery: ^1.6
- pestphp/pest: ^3.0
- pestphp/pest-plugin-type-coverage: ^3.0
- phpstan/phpstan: ^2.0
- phpunit/phpunit: ^10.5.5 || ^11.1.3 || ^12.5.0
- rector/rector: ^2.5
README
The MCP plugin provides both MCP server and client support for CakePHP applications through the Model Context Protocol, including OAuth 2.1 authentication.
It offers an expressive interface for defining servers, tools, resources, and prompts, plus an MCP client for connecting to remote servers. The plugin handles JSON-RPC transport, schema advertisement, and response formatting. Servers may run over HTTP for remote agents or as local STDIO processes for IDE and desktop clients.
Requirements
- PHP 8.4+
See Versions.md for the supported CakePHP versions.
Documentation
For documentation, as well as tutorials, see the docs directory of this repository.
License
Licensed under the MIT License. Redistributions of the source code included in this repository must retain the copyright notice found in each file.