# Coolify (official)

> The MCP server built into Coolify itself: deploy, roll back, read logs and manage your own servers, gated by API-token abilities.

[Canonical HTML page](https://top-mcps.com/mcp/coolify-official) · [server.json](https://top-mcps.com/mcp/coolify-official.json) · [methodology](https://top-mcps.com/about/methodology)

## Install

### Claude Desktop — `claude_desktop_config.json`

Claude Desktop launches stdio servers, so mcp-remote bridges to the hosted endpoint and opens the sign-in in your browser. On Pro, Max, Team and Enterprise you can skip the file: Settings → Connectors → Add custom connector → https://{your-coolify-host}/mcp. This endpoint expects an API key, usually as an Authorization header — set it where your client configures headers (mcp-remote: add --header "Authorization: Bearer <key>").

```json
{
  "mcpServers": {
    "coolify-official": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://{your-coolify-host}/mcp"
      ]
    }
  }
}
```

### Claude Code — `CLI or .mcp.json`

Then run /mcp inside Claude Code to finish the sign-in. This endpoint expects an API key, usually as an Authorization header — set it where your client configures headers (mcp-remote: add --header "Authorization: Bearer <key>").

```shell
claude mcp add --transport http coolify-official https://{your-coolify-host}/mcp
```

### Cursor — `.cursor/mcp.json`

Global path: ~/.cursor/mcp.json. Cursor shows "Needs login" once it connects — click it to authorize. This endpoint expects an API key, usually as an Authorization header — set it where your client configures headers (mcp-remote: add --header "Authorization: Bearer <key>").

```json
{
  "mcpServers": {
    "coolify-official": {
      "url": "https://{your-coolify-host}/mcp"
    }
  }
}
```

### VS Code — `.vscode/mcp.json`

VS Code uses the "servers" key. Run MCP: List Servers → Start Server and allow the sign-in. This endpoint expects an API key, usually as an Authorization header — set it where your client configures headers (mcp-remote: add --header "Authorization: Bearer <key>").

```jsonc
{
  "servers": {
    "coolify-official": {
      "type": "http",
      "url": "https://{your-coolify-host}/mcp"
    }
  }
}
```

### Windsurf — `~/.codeium/windsurf/mcp_config.json`

Windsurf uses "serverUrl" for hosted servers. Open via Cascade → hammer icon → Configure. This endpoint expects an API key, usually as an Authorization header — set it where your client configures headers (mcp-remote: add --header "Authorization: Bearer <key>").

```json
{
  "mcpServers": {
    "coolify-official": {
      "serverUrl": "https://{your-coolify-host}/mcp"
    }
  }
}
```

### Cline — `cline_mcp_settings.json`

Bridged through mcp-remote. Open via the Cline sidebar → MCP Servers → Edit. This endpoint expects an API key, usually as an Authorization header — set it where your client configures headers (mcp-remote: add --header "Authorization: Bearer <key>").

```json
{
  "mcpServers": {
    "coolify-official": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://{your-coolify-host}/mcp"
      ]
    }
  }
}
```

### Continue — `~/.continue/config.json`

Continue takes the hosted URL directly in the transport block. This endpoint expects an API key, usually as an Authorization header — set it where your client configures headers (mcp-remote: add --header "Authorization: Bearer <key>").

```json
{
  "experimental": {
    "modelContextProtocolServers": [
      {
        "transport": {
          "type": "streamable-http",
          "url": "https://{your-coolify-host}/mcp"
        }
      }
    ]
  }
}
```

### Codex CLI — `CLI`

Codex detects OAuth support and opens the browser to authorize. This endpoint expects an API key, usually as an Authorization header — set it where your client configures headers (mcp-remote: add --header "Authorization: Bearer <key>").

```shell
codex mcp add coolify-official --url https://{your-coolify-host}/mcp
```

### Zed — `~/.config/zed/settings.json`

Bridged through mcp-remote under "context_servers". Settings live-reload on save. This endpoint expects an API key, usually as an Authorization header — set it where your client configures headers (mcp-remote: add --header "Authorization: Bearer <key>").

```jsonc
{
  "context_servers": {
    "coolify-official": {
      "command": {
        "path": "npx",
        "args": [
          "-y",
          "mcp-remote",
          "https://{your-coolify-host}/mcp"
        ]
      }
    }
  }
}
```

### ChatGPT — `ChatGPT → Settings → Connectors (remote URL)`

Paste this into Settings → Connectors → Add custom connector. Requires ChatGPT Pro / Team / Enterprise / Edu with Developer mode enabled.

```json
{
  "name": "Coolify (official)",
  "transport": "http",
  "url": "https://{your-coolify-host}/mcp"
}
```

## At a glance

- **Maintainer:** Coolify (coollabsio)
- **Transport:** Streamable HTTP
- **Auth model:** API key
- **Required secrets:** None
- **Supported clients:** Claude, Claude Code, Cursor, VS Code, Any MCP-compatible client, Coolify v4.3+
- **License:** Apache-2.0
- **Language:** PHP
- **Latest version:** 4.7.4
- **MCP spec:** 2026-07-28 (current)
- **Stateless:** yes (no initialize handshake or session id)
- **Evidence:** coollabsio/coolify v4.7.4 (2026-11-10): routes/ai.php mounts Mcp::web('/mcp', CoolifyServer) behind mcp.enabled, auth:sanctum and team checks; app/Mcp/Servers/CoolifyServer.php lists 84 tools; composer.lock pins laravel/mcp v1.0.1, whose ProtocolVersion enum tops out at 2026-07-28 and which implements server/discover (src/Server/Methods/Discover.php); routes/ai.php first appears at tag v4.1.0 (10 read tools), write tools from v4.3.0; instance toggle default false (migration 2026_04_22); not in a Claude or ChatGPT plugin; read 2026-11-10
- **Last verified:** 2026-11-10
- **GitHub stars:** 65,889 (fetched 2026-11-19T09:02:21.971Z)
- **Score:** 96/100 (rubric 2027-01 — see https://top-mcps.com/about/methodology)
- **Source:** https://github.com/coollabsio/coolify
- **Homepage:** https://coolify.io/

## Tools & permissions

Showing 15 of 84 tools the server reported on `tools/list`. The rest exist and are not listed here.

| Tool | Description | Args | Side effects |
|------|-------------|------|--------------|
| `coolify_help` | List the tools this token can use, with step-by-step recipes. | `—` | read |
| `get_infrastructure_overview` | Version, servers, projects with resource counts, open deployments and health hints. | `—` | read |
| `search_resources` | Fuzzy search applications, services, databases, servers and projects. | `—` | read |
| `list_unhealthy_resources` | Resources that look unhealthy or down. | `—` | read |
| `list_applications` | List the team's applications with filters. | `—` | read |
| `get_logs` | Recent container logs, best-effort redacted (read:sensitive). | `—` | read |
| `list_deployments` | Running and queued deployments, or one application's history. | `—` | read |
| `get_deployment` | One deployment, optionally with a redacted log summary. | `—` | read |
| `deploy` | Queue a deployment by application UUID or by tag (deploy). | `—` | write |
| `cancel_deployment` | Cancel a queued or running deployment (deploy). | `—` | write |
| `rollback_application` | Roll an application back to a previous image tag (deploy). | `—` | write |
| `control` | Start, stop or restart a resource; stop needs confirm=true (deploy). | `—` | write |
| `create_application` | Create an application from Git, a Dockerfile or an image (write). | `—` | write |
| `manage_application` | Update, clone, move or delete an application (write, delete). | `—` | write |
| `manage_env` | Create, update or delete environment variables (write). | `—` | write |

## Security & scope

- **Access scope:** read-write
- **Sandbox:** Runs inside Coolify as the team of the API token, through the same REST routes, validation and permissions as the UI. Tools are hidden unless the token carries the ability they need, and the instance Allowed IPs list applies to the MCP endpoint as well as the API.
- **Gotchas:**
  - A token with deploy or write reaches every project, server and application its team owns unless it is scoped to specific projects or environments; scope tokens before handing one to an agent.
  - Destructive actions require confirm=true, which an agent can pass; keep delete ability off the token unless deletes are the job.
  - An empty Allowed IPs list opens the API and the MCP endpoint to every source; restrict it on a public instance.

## Quick answer

**What it does.** Exposes Coolify through tools that start at coolify_help and get_infrastructure_overview, then list_* and get_* for detail; lifecycle tools (control, deploy, cancel_deployment, rollback_application) need the deploy ability; create_* and manage_* tools need write, and deletes need delete. It also offers two prompts (troubleshoot_application, explain_failed_deploy) and two resources (coolify://overview, coolify://application/{uuid}).

**Best for:**
- Deploying and rolling back on your own servers
- Finding unhealthy resources across an instance
- Reading failed deployments without SSH
- Per-token permissions for an agent
- Self-hosted or data-residency requirements

**Not for:**
- Coolify instances before v4.3 for write work
- Teams with no server to run Coolify on
- Managed-edge workloads (use Cloudflare or Vercel)

## Recipes

### Find what is broken and why the last deploy failed

```
On my Coolify instance, list unhealthy resources with a sample first. For the first unhealthy application, show its most recent failed deployment with a log summary and explain the likely cause. Do not deploy, restart or change anything.
```

_Tested with: Claude Code, Cursor_

## Description

Coolify ships its own MCP server inside the Coolify application, at `/mcp` on your instance, over Streamable HTTP. It was added in v4.1.0 (2026-05-18) as a read-only server and has grown into the full control surface: 84 tools in v4.7.4 across servers, projects, applications, databases, services, deployments, environment variables, backups, DNS, proxies and audit events. Each tool runs the same REST API route the UI uses, with the same validation, and is shown or hidden by the abilities of the API token that connects. An instance admin switches it on.

## Why it matters

A community wrapper holds an instance-wide token and decides for itself what to expose. The built-in server is maintained with Coolify, so new features arrive as tools in the same release, every action is recorded as an MCP event in the audit log, secrets such as private keys and webhook URLs are never returned, and a token with only read ability sees only read tools.

## Key features

- Built into Coolify at /mcp - no separate process
- 84 tools in v4.7.4, hidden or shown by token ability
- Abilities read, read:sensitive, write, deploy, delete, root
- Destructive actions require confirm=true
- MCP actions recorded in the audit log
- Apache-2.0, Laravel MCP, spec 2026-07-28

## FAQ

### Is this different from the community Coolify MCP?

Yes, and both are listed. This server is part of Coolify and reached at /mcp on your instance; its tools follow each Coolify release and are filtered by your API token's abilities. The community server (wrediam/coolify-mcp-server) is a separate stdio process over the v4 API, which is the route for instances older than v4.3, where the built-in server is missing or read-only.

### How do I turn it on?

An instance admin enables it under Settings > Advanced > API and MCP (or POST /api/v1/mcp/enable with a root token); it is off by default. Each team can then switch it off for its own tokens on the team page. Create an API token under Keys & Tokens > API Tokens and send it as a Bearer header.

### What can a token do?

Exactly its abilities. read sees list and get tools; read:sensitive adds logs and environment values; deploy adds start, stop, restart, deploy and rollback; write adds create_* and manage_*; delete is required for every delete; root does everything. Tools the token cannot use are hidden from tools/list.

### Does it return secrets?

Private keys, storage secrets, tokens, passwords and webhook URLs are never returned. Environment values come back only through get_env_values, which needs read:sensitive and an admin or owner role. Full deploy logs are never returned; optional log summaries are redacted on a best-effort basis, so residual secrets in free-form log text are possible.

### Which Coolify version do I need?

v4.1.0 added the endpoint with ten read-only tools; v4.3.0 added the first write tools; v4.7.4 (2026-11-10) has 84. Update the instance before relying on a tool from this page.

## Changelog

- **2026-11-10** — Added alongside the community Coolify MCP: Coolify has shipped a built-in MCP server since v4.1.0, read-write since v4.3.0. The community entry had said no first-party server existed.
- **2026-11-09** — v4.7.0 released: deploy tool cancel_previous, image-scanning tools, MCP deployments shown with an MCP source.
