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
- Open Team Settings in the dashboard.
- Under API keys & MCP, enter a name, choose the access and when the key expires, and click Create key.
- Copy the key (it starts with
ack_). It's only shown once.
| Access | What 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 & write | Everything 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.
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 Code
- Cursor
- Codex
- Other clients
claude mcp add --transport http appcockpit https://mcp.appcockpit.dev \
--header "Authorization: Bearer ack_your_key"
Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in a project):
{
"mcpServers": {
"appcockpit": {
"url": "https://mcp.appcockpit.dev",
"headers": {
"Authorization": "Bearer ack_your_key"
}
}
}
}
Set the key in your environment:
export APPCOCKPIT_API_KEY=ack_your_key
Then add this to ~/.codex/config.toml:
[mcp_servers.appcockpit]
url = "https://mcp.appcockpit.dev"
bearer_token_env_var = "APPCOCKPIT_API_KEY"
Any client that supports remote MCP servers over Streamable HTTP works. Use the endpoint above and send the header Authorization: Bearer ack_your_key with every request.
Tools
| Tool | What it does |
|---|---|
list_apps | Lists the team's apps and their IDs |
get_team | The team's plan, trial end, apps used and allowed, members, and the key's access |
list_environments | Lists an app's environments (use the alias, e.g. production) |
list_versions | Lists version rules, optionally filtered by platform, environment or active state |
create_version | Adds a rule for one exact version: optional or forced update prompt |
update_version | Changes a version rule, e.g. makes it forced or deactivates it |
delete_version | Deletes a version rule |
list_minimum_versions | Lists minimum version rules |
create_minimum_version | Asks everyone below a version to update (optionally forced) |
update_minimum_version | Changes a minimum version rule |
delete_minimum_version | Deletes a minimum version rule |
get_maintenance | Shows the current maintenance mode settings |
set_maintenance | Turns maintenance mode on or off. Fields you leave out keep their current value |
get_analytics | Requests in the last 24 hours, top versions and platform split over 30 days |
list_users | Tracked users and the latest version each one has used |
get_version_adoption | Which 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_version | Dry 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_log | Recent 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
| Status | Meaning |
|---|---|
401 Unauthorized | Missing, invalid, revoked or expired API key, or the key's creator has left the team |
402 Payment Required | The team's trial has ended and it has no active subscription |
403 Forbidden | The 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.