Skip to content

Artisan commands ​

Nimbus adds three Artisan commands. They exist only in environments listed in allowed_envs.

CommandPurpose
php artisan nimbus:doctorChecks that Nimbus is configured correctly.
php artisan nimbus:snapshot:clearDeletes the saved routes of all applications.
php artisan nimbus:mcpStarts the MCP server, or prints the config that connects an agent to it.

nimbus:doctor ​

Run it after installation or when something does not work. It prints one line for each check, marked OK, WARNING, or FAILED. The command exits with an error code when a check fails, so you can use it in scripts.

CheckWhat it looks at
ConfigThe values in config/nimbus.php are valid.
Snapshot folderThe folder is writable when the snapshot is on.
App keyAPP_KEY is set.
GuardThe guard and its provider exist in config/auth.php.
Single threaded serverNimbus can relay requests to a server that runs on the same port.
Base URLThe base URL answers a request.

The same checks run from the Diagnostics button on the settings page. See Troubleshooting for what to do with each result.

nimbus:snapshot:clear ​

Deletes the saved routes of every application. Use it in a deploy script, or when the routes in Nimbus look outdated.

Terminal
php artisan nimbus:snapshot:clear

See Routes snapshot.

nimbus:mcp ​

Starts the MCP server, so an AI agent can use Nimbus. Agents normally start it on their own from .mcp.json.

OptionPurpose
--installPrints the client config for this application instead of starting the server.
--writeWith --install, merges the config into .mcp.json in the project root.
Terminal
php artisan nimbus:mcp --install --write

See MCP server.