Skip to main content

MCP server

Appcockpit has a remote MCP server, so AI assistants such as Claude Code, Cursor and Codex can manage your apps for you. Ask in plain English, for example:

  • "Force everyone on iOS 1.0.4 in production to update."
  • "Set the minimum Android version to 2.1.0 in production."
  • "Turn on maintenance mode in production with the title 'Database migration'."
  • "Which versions are my users running, and is it safe to drop 1.x?"
  • "What would someone on Android 1.9.0 in production see right now?"
  • "How many iOS users would a minimum version of 1.3.6 force to update?"
  • "Who turned on maintenance mode yesterday?"

The server uses the Streamable HTTP transport and authenticates with a team API key.

Endpoint​

https://mcp.appcockpit.dev

Create an API key​

  1. Open Team Settings in the dashboard.
  2. Under API keys & MCP, enter a name, choose the access and when the key expires, and click Create key.
  3. Copy the key (it starts with ack_). It's only shown once.
AccessWhat the assistant can do
Read only (default)Look things up: apps, versions, minimum versions, maintenance mode, analytics, version adoption, the activity log. Only the read tools are offered, and changes are refused.
Read & writeEverything above, plus creating, changing and deleting versions and minimum versions and turning maintenance mode on or off.

A key belongs to one team and acts as the team owner who created it. Only team owners can create and revoke keys. A key can expire after 30 days, 90 days or 1 year, or never. Revoke a key in the same place to cut off access immediately. Keys created before access levels were introduced have read & write access.

caution

Treat API keys like passwords. Start with a read-only key, and give an assistant write access only when you want it to make changes.

Connect your client​

Send the key as a bearer token: Authorization: Bearer ack_...

claude mcp add --transport http appcockpit https://mcp.appcockpit.dev \
--header "Authorization: Bearer ack_your_key"

Tools​

ToolWhat it does
list_appsLists the team's apps and their IDs
get_teamThe team's plan, trial end, apps used and allowed, members, and the key's access
list_environmentsLists an app's environments (use the alias, e.g. production)
list_versionsLists version rules, optionally filtered by platform, environment or active state
create_versionAdds a rule for one exact version: optional or forced update prompt
update_versionChanges a version rule, e.g. makes it forced or deactivates it
delete_versionDeletes a version rule
list_minimum_versionsLists minimum version rules
create_minimum_versionAsks everyone below a version to update (optionally forced)
update_minimum_versionChanges a minimum version rule
delete_minimum_versionDeletes a minimum version rule
get_maintenanceShows the current maintenance mode settings
set_maintenanceTurns maintenance mode on or off. Fields you leave out keep their current value
get_analyticsRequests in the last 24 hours, top versions and platform split over 30 days
list_usersTracked users and the latest version each one has used
get_version_adoptionWhich versions people run on a platform (tracked users and app checks), what update each version gets, a daily trend, and a what-if for a new minimum version
check_versionDry run: what a user on a given version, platform and environment sees right now (maintenance screen, optional or forced update, and which rule causes it). Changes nothing
list_audit_logRecent changes in the team: who made them, with which API key, from where, and the state before and after

Read-only tools are marked as such, and deletes and maintenance mode are marked as destructive, so clients that support tool annotations will ask before running them.

Change history​

Every change is recorded in the team's activity log, whether it was made in the dashboard, with the REST API or by an AI assistant over MCP. Each entry shows who made the change, the API key it used, and the state before and after. See it under Team Settings → Activity, or ask your assistant (it uses list_audit_log).

Errors​

StatusMeaning
401 UnauthorizedMissing, invalid, revoked or expired API key, or the key's creator has left the team
402 Payment RequiredThe team's trial has ended and it has no active subscription
403 ForbiddenThe key is read-only, or the action needs the team owner, e.g. a key whose creator is no longer the owner tried to change something

REST API​

The same API key also works with the dashboard's REST API: send it as Authorization: Bearer ack_.... You don't need the x-team-id header, because the key already belongs to a team.