A Model Context Protocol (MCP) server that enables secure execution of Laravel Artisan commands through Claude and other MCP clients.
A Model Context Protocol (MCP) server that enables secure execution of Laravel Artisan commands through Claude and other MCP clients. That is what the laravel artisan mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.
The server publishes 2 tools. What each one is for:
run_artisan — The run_artisan tool exposed by this serverlist_available_artisan_commands — Displays all available whitelisted Artisan commands in the Laravel applicationConfiguration is passed through the environment: ARTISAN_DIRECTORY, WHITELISTED_COMMANDS. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.
Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.
Among the file and storage access options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Laravel Artisan's toolset — run_artisan, list_available_artisan_commands — is a fair guide to whether it matches your workflow. It is maintained by entanglr; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against Laravel Artisan's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| run_artisan | The run_artisan tool exposed by this server. |
| list_available_artisan_commands | Displays all available whitelisted Artisan commands in the Laravel application. |
{
"mcpServers": {
"laravel-artisan": {
"command": "uv",
"args": [
"--directory",
"/absolute/path/to/laravel-artisan-mcp",
"run",
"artisan_mcp_server.py"
],
"env": {
"ARTISAN_DIRECTORY": "/absolute/path/to/your/laravel/project",
"WHITELISTED_COMMANDS": "route:list,cache:clear,make:controller"
}
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| ARTISAN_DIRECTORY | Filesystem location the server is allowed to use. | Optional |
| WHITELISTED_COMMANDS | Configuration value read at startup. | Optional |
Scoped local file access — read, write, search and reorganise files in directories you explicitly allow.
Search and read your Drive — Docs, Sheets and files become context your assistant can actually use.
Query, modify and analyse local SQLite databases in conversation — the fastest way to chat with a data file.
Build a programmable telecommunications stack for connecting telephony services with the Internet via a cloud-based utility.
Chat with your second brain — search, read and write vault notes through the Local REST API.
Connects AI models to an Obsidian knowledge base for direct access and manipulation of notes and folders.