laravel-artisan-mcp
2
Laravel Artisan MCP Server allows secure execution of Laravel Artisan commands via AI clients, offering a bridge between AI assistants and Laravel applications. It focuses on security through command whitelisting, input validation, and robust error handling.
Troubleshooting
"ARTISAN_DIRECTORY must be provided in configuration"
The server cannot find the path to your Laravel project. Check that:
- The environment variable is properly set
- The directory exists and is accessible
"Artisan not found at: /path/to/artisan"
The specified directory does not contain the Artisan executable. Verify that:
- The path points to a valid Laravel project directory
- The Artisan file exists and has executable permissions
"PHP executable not found"
The server cannot find PHP in your PATH. Ensure that:
- PHP is installed on your system
- The PHP executable is in your system PATH