emeq-mcp
Verified Safeby yusufkaracaburun
Overview
This package enables Laravel applications to integrate with AI assistants using the Model Context Protocol (MCP) and Laravel Boost for project-specific guidelines, providing tools, resources, and prompts for AI interaction.
Installation
php artisan mcp:start <server_name>Environment Variables
- EMEQ_MCP_AUTO_REGISTER
- EMEQ_MCP_BOOST_ENABLED
- EMEQ_MCP_BOOST_GUIDELINES_PATH
- EMEQ_MCP_SERVER_NAME
- EMEQ_MCP_SERVER_VERSION
- EMEQ_MCP_TOOL_DATABASE_QUERY
- EMEQ_MCP_MAX_QUERY_TIME
- EMEQ_MCP_TOOL_MODEL_OPERATION
- EMEQ_MCP_TOOL_ARTISAN_COMMAND
- EMEQ_MCP_TOOL_CACHE_OPERATION
- EMEQ_MCP_TOOL_QUEUE_JOB
- EMEQ_MCP_TOOL_FILE_OPERATION
- EMEQ_MCP_RESOURCE_MODEL_SCHEMA
- EMEQ_MCP_RESOURCE_ROUTE_LIST
- EMEQ_MCP_RESOURCE_CONFIG
- EMEQ_MCP_RESOURCE_LOG
- EMEQ_MCP_LOG_MAX_LINES
- EMEQ_MCP_PROMPT_CODE_GENERATION
- EMEQ_MCP_PROMPT_DEBUGGING
- EMEQ_MCP_PROMPT_DATABASE_DESIGN
Security Notes
The server exposes powerful application capabilities (Artisan commands, database queries, file operations, model CRUD) to AI agents. Key tools (`ArtisanCommandTool`, `DatabaseQueryTool`, `FileOperationTool`) include explicit security measures such as allowed command/path lists and query type restrictions (SELECT only). By default, these lists are empty or restrictive, requiring user configuration to enable broader access. This design is robust for an AI agent framework, however, user misconfiguration can lead to vulnerabilities. The `configure.php` script uses `shell_exec` but is a one-time setup script intended for deletion, making its transient use acceptable.
Similar Servers
boost
Accelerates AI-assisted development by providing essential context and structure for generating high-quality, Laravel-specific code via an MCP server.
ncp
NCP acts as a universal adapter and orchestrator for Model Context Protocol (MCP) servers and tools. It provides a unified interface for discovery, execution, and management of diverse tools (local CLI, HTTP APIs, internal plugins/Photons, AI skills) through natural language and structured code interaction, enabling AI agents to interact with the broader digital ecosystem.
php-mcp
Facilitates communication and integration between LLM applications and external data sources or tools by implementing the Model Context Protocol (MCP).
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.