MCP tools
Each tool is one operation of the API, with the same name and the same input: the path and query parameters and the body's fields, side by side. A tool answers with the operation's JSON or, when it is refused, with the API's status, code and sentence (404 not_found: That project was not found.).
Tools marked destructive ask you to confirm before they run. A client that cannot ask must send confirm: true, after you said yes.
Lists are paged: a tool returns nextCursor, which the agent passes back as cursor for the next page.
Operations the API does not offer yet (inviting members, connecting servers) are left out of MCP until they are.
Organization
| Tool | What it does |
|---|---|
me_get | Who is calling |
organizations_list | List your organizations |
organization_get | Get the organization |
members_list | List members |
audit_list | Read the audit log (owner and admins) |
API keys
| Tool | What it does |
|---|---|
api_keys_list | List API keys |
api_keys_create | Create an API key (a person only, never another key) |
api_keys_revoke | Revoke an API key (destructive: asks you first) |
Projects
| Tool | What it does |
|---|---|
projects_list | List projects |
projects_create | Create a project |
projects_get | Get a project |
projects_update | Rename a project or change who sees it |
projects_delete | Delete a project (destructive: asks you first) |
projects_access_list | List who can reach a project |
projects_access_set | Give a member access to a project |
environments_list | List a project's environments |
environments_create | Create an environment beside production, such as staging (project admins) |
environments_delete | Delete an environment that has no services left (destructive: asks you first) |
Services
| Tool | What it does |
|---|---|
services_list | List a project's services |
services_create | Create a service |
services_get | Get a service |
services_update | Change a service's settings |
services_delete | Delete a service (destructive: asks you first) |
volumes_create | Add a volume |
volumes_delete | Remove a volume (destructive: asks you first) |
git_accounts_list | List connected Git accounts |
services_logs | Read a service's logs: the newest lines of its running containers, read live from its servers |
services_metrics | Read a service's CPU, memory, network and restarts per replica over 1h, 6h, 24h, 7d or 30d |
Variables
| Tool | What it does |
|---|---|
variables_list | List variables in a scope |
variables_set | Set a variable |
variables_delete | Delete a variable (destructive: asks you first) |
services_env | What a service's containers get |
Deployments
| Tool | What it does |
|---|---|
deployments_list | List a service's deployments |
deployments_create | Deploy a service |
deployments_get | Get a deployment |
deployments_rollback | Roll back to a deployment (destructive: asks you first) |
deployments_events | A deployment's events |
deployments_logs | A deployment's build and deploy logs, kept with the deployment (tail for the last lines) |
Domains
| Tool | What it does |
|---|---|
domains_list | List a project's domains |
domains_create | Add a domain to a service |
domains_verify | Check your own domain's TXT record now; once it holds the domain's value, the domain is yours |
domains_delete | Remove a domain (destructive: asks you first) |
domains_certificate_get | Read the names, issuer and dates of a domain's uploaded certificate |
domains_certificate_upload | Upload a certificate chain and key for your own verified domain; the edge serves it for that domain |
domains_certificate_delete | Remove a domain's uploaded certificate (destructive: asks you first) |
dns_zones_list | List the Cloudflare zones where OpenPanel writes your own domains' records |
dns_zones_create | Connect a Cloudflare zone with a token limited to it |
dns_zones_update | Replace a connected zone's token |
dns_zones_delete | Disconnect a Cloudflare zone (destructive: asks you first) |
Servers
| Tool | What it does |
|---|---|
servers_list | List servers |
servers_get | Get a server |
servers_status | A server's live status |
network_devices_list | List the private network's devices |
regions_list | List OpenPanel's regions |
Resources
| Resource | What it holds |
|---|---|
openpanel://projects | The projects you can see, with your access to each |
openpanel://projects/{projectId} | A project with its environments, services and domains |
openpanel://services/{serviceId} | A service's settings, its last 10 deployments and its domains |