cakephp-synapse
by josbeir
Overview
Exposes CakePHP application functionality as tools, resources, and prompts to AI assistants via the Model Context Protocol, primarily for development workflows like code review, debugging, and documentation search.
Installation
bin/cake synapse serverEnvironment Variables
- MCP_SERVER_NAME
- MCP_SERVER_VERSION
- MCP_PROTOCOL_VERSION
- MCP_DISCOVERY_CACHE
- MCP_DOCS_CACHE_DIR
- MCP_DOCS_SEARCH_DB
- MCP_DOCS_AUTO_BUILD
- MCP_TINKER_PHP_BINARY
- MCP_TINKER_BIN_PATH
- MCP_CAKEPHP_VERSION
- MCP_PHP_VERSION
Security Notes
The plugin explicitly uses `eval()` in `src/Command/TinkerEvalCommand.php` to execute arbitrary PHP code. While intended as a core feature for a 'tinker' tool (interactive PHP exploration) and noted for development use, this presents a critical security vulnerability if the server or client is compromised, allowing remote code execution. The documentation explicitly warns against using it in production environments. Git operations (`clone`, `pull`) are executed via shell commands, but use `escapeshellarg()` for sanitization. File system operations for documentation caching require write permissions to `TMP` directory.
Similar Servers
XcodeBuildMCP
Provides an MCP (Model Context Protocol) server for AI agents and other clients to programmatically build, test, run, and debug iOS and macOS applications, manage simulators/devices, and capture logs.
php-mcp
Facilitates communication and integration between LLM applications and external data sources or tools by implementing the Model Context Protocol (MCP).
symfony-mcp-server
Build intelligent AI agents by transforming Symfony applications into Model Context Protocol (MCP) servers, enabling LLM interaction with application logic, tools, prompts, and resources.
php-mcp-sdk
A PHP SDK for building Model Context Protocol (MCP) servers that expose AI capabilities (tools, prompts, sampling) and data resources to clients, facilitating AI agent orchestration and structured human-AI interaction.