Artisan commands
Nimbus adds three Artisan commands. They exist only in environments listed in allowed_envs.
| Command | Purpose |
|---|---|
php artisan nimbus:doctor | Checks that Nimbus is configured correctly. |
php artisan nimbus:snapshot:clear | Deletes the saved routes of all applications. |
php artisan nimbus:mcp | Starts 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.
| Check | What it looks at |
|---|---|
| Config | The values in config/nimbus.php are valid. |
| Snapshot folder | The folder is writable when the snapshot is on. |
| App key | APP_KEY is set. |
| Guard | The guard and its provider exist in config/auth.php. |
| Single threaded server | Nimbus can relay requests to a server that runs on the same port. |
| Base URL | The 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:clearSee 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.
| Option | Purpose |
|---|---|
--install | Prints the client config for this application instead of starting the server. |
--write | With --install, merges the config into .mcp.json in the project root. |
Terminal
php artisan nimbus:mcp --install --writeSee MCP server.