What happens if ARTISAN_DIRECTORY is not provided?
The server will error with “ARTISAN_DIRECTORY must be provided in configuration”. Ensure the environment variable is set and the directory exists.
@entanglr
Basic information
A Model Context Protocol (MCP) server that enables secure execution of Laravel Artisan commands through Claude and other MCP clients.
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"laravel-artisan-mcp": {
"command": "uv",
"args": [
"init"
]
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
A Model Context Protocol (MCP) server that enables secure execution of Laravel Artisan commands through Claude and other MCP clients. It acts as a bridge between AI assistants and your local Laravel applications, allowing controlled management of Laravel projects through natural language conversations.
Clone the repository, set up a Python virtual environment (3.10+), and install dependencies with uv add "mcp[cli]". Configure environment variables ARTISAN_DIRECTORY (absolute path to a Laravel project) and WHITELISTED_COMMANDS (comma‑separated list of allowed Artisan commands). Run the server directly, via a .env file, or integrate it into Claude Desktop’s claude_desktop_config.json.
route:list) in your Laravel appcache:clear) via natural languagemake:controller) without leaving the chatThe server will error with “ARTISAN_DIRECTORY must be provided in configuration”. Ensure the environment variable is set and the directory exists.
You will see “Artisan not found at: /path/to/artisan”. Verify the path points to a valid Laravel project directory and that the Artisan file exists with executable permissions.
The error “PHP executable not found” appears. Make sure PHP is installed and accessible in your system PATH.
Directory isolation (only the configured Laravel directory is accessed), command whitelisting (only allowed commands can run), input validation on all inputs, and error handling to prevent sensitive information leakage.
The authors recommend using this tool only in development or testing environments. Production use is at your own risk, with full understanding of security implications and appropriate safeguards (backups, careful whitelisting).

Request dedicated senior developers to work on your project, write job descriptions, and prep technical interviews — all without leaving your Claude chat. Just describe what you need, and Lemon.io MCP does the rest. 1–3

LoadOptimizer plans truck, container and pallet loads with a real optimization engine, straight from your AI assistant. Describe the order in plain language, for example "plan 36 Euro pallets on a standard 13.6 m trailer

Plant trees directly from your AI assistant with Bloomy Earth. Built by a French company, the Bloomy.Earth MCP server brings tree planting and climate contributions into your conversations. Use your own account to fund p

Handl speaks the Model Context Protocol. Your whole billing operation — projects, invoices, clients, reports, approvals — as tools any AI assistant can call, inside your autonomy rules.
Hindsight: Agent Memory That Learns
Comments