Skip to content

MCP Tools Reference

All tools are exposed by the fleet mcp server. Parameters marked required must be provided; all others are optional.


Fleet Management

fleet_status

Dashboard data for all apps: systemd state, containers, health.

No parameters.


fleet_list

List all registered apps with their configuration.

No parameters.


fleet_start

Start an app via systemctl.

ParameterTypeRequiredDescription
appstringYesApp name

fleet_stop

Stop an app via systemctl.

ParameterTypeRequiredDescription
appstringYesApp name

fleet_restart

Restart an app via systemctl.

ParameterTypeRequiredDescription
appstringYesApp name

fleet_logs

Get recent container logs for an app.

ParameterTypeRequiredDescription
appstringYesApp name
linesnumberNoNumber of log lines (default: 100)

fleet_health

Run health checks for one or all apps.

ParameterTypeRequiredDescription
appstringNoApp name. Omit for all apps.

fleet_deploy

Build and restart an app (runs docker compose build then restarts the systemd service).

ParameterTypeRequiredDescription
appstringYesApp name

fleet_register

Register a new app in the fleet registry.

ParameterTypeRequiredDescription
namestringYesApp name (kebab-case identifier)
composePathstringYesAbsolute path to docker-compose directory
displayNamestringNoHuman-friendly name
composeFilestringNoCustom compose filename
serviceNamestringNoSystemd service name
domainsstring[]NoDomain names (default: [])
portnumberNoBackend port
typeenumNoApp type: proxy, spa, nextjs, service (default: service)
containersstring[]NoContainer names (auto-detected if omitted)
usesSharedDbbooleanNoUses shared database (default: false)
dependsOnDatabasesbooleanNoDepends on docker-databases (default: false)

fleet_freeze

Freeze a crash-looping service: stop it, disable it, and mark it frozen in the registry.

ParameterTypeRequiredDescription
appstringYesApp name
reasonstringNoReason for freezing

fleet_unfreeze

Unfreeze a frozen service: clear frozen state, enable and start the service.

ParameterTypeRequiredDescription
appstringYesApp name

Nginx

fleet_nginx_add

Create an nginx config for a domain. Tests the config and reloads nginx if the test passes.

ParameterTypeRequiredDescription
domainstringYesDomain name
portnumberYesBackend port (must be 1024–65535, not a reserved DB port)
typeenumNoproxy, spa, or nextjs (default: proxy)

fleet_nginx_list

List all nginx site configs.

No parameters.


Secrets

fleet_secrets_status

Show vault initialisation state, sealed/unsealed status, and key counts.

No parameters.


fleet_secrets_list

List managed secrets for an app (masked values). Shows vault contents.

ParameterTypeRequiredDescription
appstringNoApp name. Omit for all apps.

fleet_secrets_set

Set a single secret key/value for an app directly in the encrypted vault.

ParameterTypeRequiredDescription
appstringYesApp name
keystringYesSecret key name (e.g. DATABASE_URL)
valuestringYesSecret value

fleet_secrets_get

Get a single decrypted secret value from the vault.

ParameterTypeRequiredDescription
appstringYesApp name
keystringYesSecret key name

fleet_secrets_unseal

Decrypt vault to /run/fleet-secrets/. Overwrites any runtime changes not yet sealed.

No parameters.


fleet_secrets_seal

Seal runtime secrets back to the encrypted vault. Creates an automatic backup before sealing.

ParameterTypeRequiredDescription
appstringNoApp name. Omit to seal all apps.

fleet_secrets_drift

Detect drift between vault and runtime (/run/fleet-secrets/).

ParameterTypeRequiredDescription
appstringNoApp name. Omit to check all apps.

fleet_secrets_validate

Validate that compose secret references have matching entries in the vault.

ParameterTypeRequiredDescription
appstringNoApp name. Omit for all apps.

fleet_secrets_restore

Restore vault from the automatic backup (.bak file).

ParameterTypeRequiredDescription
appstringYesApp name

Git

fleet_git_status

Git state for one or all apps: branch, clean/dirty, onboard status.

ParameterTypeRequiredDescription
appstringNoApp name. Omit for all apps.

fleet_git_onboard

Onboard an app to GitHub: create repo, push code, protect branches.

ParameterTypeRequiredDescription
appstringYesApp name
dryRunbooleanNoPreview without making changes (default: false)

fleet_git_branch

Create a feature branch from a base branch and push it.

ParameterTypeRequiredDescription
appstringYesApp name
branchstringYesNew branch name
fromstringNoBase branch (default: develop)
dryRunbooleanNoPreview without making changes (default: false)

fleet_git_commit

Stage tracked file changes and commit.

ParameterTypeRequiredDescription
appstringYesApp name
messagestringYesCommit message
dryRunbooleanNoPreview without making changes (default: false)

fleet_git_push

Push the current branch to origin.

ParameterTypeRequiredDescription
appstringYesApp name
dryRunbooleanNoPreview without making changes (default: false)

fleet_git_pr_create

Create a pull request on GitHub.

ParameterTypeRequiredDescription
appstringYesApp name
titlestringYesPR title
bodystringNoPR description
basestringNoTarget branch (default: develop)
dryRunbooleanNoPreview without making changes (default: false)

fleet_git_pr_list

List pull requests for an app.

ParameterTypeRequiredDescription
appstringYesApp name
stateenumNoopen, closed, or all (default: open)

fleet_git_release

Create a release PR from develop to main.

ParameterTypeRequiredDescription
appstringYesApp name
titlestringNoPR title (default: Release: <app>)
dryRunbooleanNoPreview without making changes (default: false)

Dependencies

fleet_deps_status

Dependency health summary from cache — outdated packages, CVEs, EOL warnings, Docker image updates.

No parameters.


fleet_deps_scan

Run a fresh dependency scan across all registered apps.

No parameters.


fleet_deps_app

Dependency findings for a specific app.

ParameterTypeRequiredDescription
appstringYesApp name

fleet_deps_fix

Create a PR with dependency updates for an app.

ParameterTypeRequiredDescription
appstringYesApp name
dryRunbooleanNoPreview changes without creating PR (default: true)

fleet_deps_ignore

Add an ignore rule for a dependency finding.

ParameterTypeRequiredDescription
packagestringYesPackage name to ignore
reasonstringYesWhy this is being ignored
appstringNoLimit to a specific app
untilstringNoAuto-expire date (YYYY-MM-DD)

fleet_deps_config

Get or set dependency monitoring configuration.

ParameterTypeRequiredDescription
keystringNoConfig key to read or set
valuestringNoNew value (provide with key to set)