# Coolify MCP server

> Deploy, diagnose and operate a self-hosted Coolify PaaS from your AI assistant, with human confirmation for destructive actions.

- Listing: https://mcp.tc/i/coolify
- Connect: this is a local (stdio) server; install it on your machine (see Install). The listing link is a page, not an MCP endpoint.
- Type: local (stdio)
- Auth: API key
- Category: [Cloud & DevOps](https://mcp.tc/c/cloud-devops)
- Vendor: Stuart Mason
- Homepage: <https://stumason.dev>
- Docs: <https://github.com/StuMason/coolify-mcp>
- Repository: <https://github.com/StuMason/coolify-mcp>
- Package: npm `@masonator/coolify-mcp`

## About

Connects to a Coolify v4 instance and lets an assistant deploy applications, read container logs, diagnose apps and servers, manage databases, services, projects, environment variables, backups and scheduled tasks, and search the Coolify docs. Destructive operations ask the user to confirm first, and secrets are masked in responses.

Runs locally over stdio with npx @masonator/coolify-mcp, or as a one-click MCPB bundle for Claude Desktop. It can also be deployed as a container next to Coolify for remote use. Needs a Coolify API token in COOLIFY\_ACCESS\_TOKEN and optionally the instance URL in COOLIFY\_BASE\_URL.

## What it can do

- Diagnose apps and servers by name, domain, IP or UUID
- Scan the estate for issues and read container logs
- Deploy applications and roll back, waiting for a final status
- Start, stop and restart resources
- Create and manage applications, databases, services and projects
- Manage env vars, storages, backups and scheduled tasks with masked secrets
- Run bulk operations behind human confirmation
- Search the Coolify documentation

## Example prompts

- "Why is my app at example.com failing? Diagnose it."
- "Deploy the staging application and show the log tail if it fails."
- "Scan my Coolify estate for unhealthy resources."
- "Search the Coolify docs for how to configure persistent storage."

## Install

### Claude Code

1. Run this in a terminal, in your project folder:

```bash
claude mcp add --transport stdio coolify --env "COOLIFY_ACCESS_TOKEN=<YOUR_COOLIFY_ACCESS_TOKEN>" -- npx -y @masonator/coolify-mcp
```

2. Start Claude Code and type `/mcp`. **coolify** should show as connected.

Add `--scope user` to make it available in every project. Replace the placeholders with your own values.

### Claude Desktop

1. Open **Settings → Developer → Edit Config**. It opens `claude_desktop_config.json`. Add:

`claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "coolify": {
      "command": "npx",
      "args": [
        "-y",
        "@masonator/coolify-mcp"
      ],
      "env": {
        "COOLIFY_ACCESS_TOKEN": "<YOUR_COOLIFY_ACCESS_TOKEN>"
      }
    }
  }
}
```

2. Save the file and restart Claude Desktop. Replace the placeholders with your own values.

Needs Node.js on your computer. The file lives in `~/Library/Application Support/Claude/` on macOS and `%APPDATA%\Claude\` on Windows.

### Cursor

[Add to Cursor](<https://cursor.com/install-mcp?name=coolify&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBtYXNvbmF0b3IvY29vbGlmeS1tY3AiXSwiZW52Ijp7IkNPT0xJRllfQUNDRVNTX1RPS0VOIjoiPFlPVVJfQ09PTElGWV9BQ0NFU1NfVE9LRU4%2BIn19>) (opens Cursor)

Or add it by hand to `~/.cursor/mcp.json` (all projects) or `.cursor/mcp.json` (this project):

`mcp.json`:

```json
{
  "mcpServers": {
    "coolify": {
      "command": "npx",
      "args": [
        "-y",
        "@masonator/coolify-mcp"
      ],
      "env": {
        "COOLIFY_ACCESS_TOKEN": "<YOUR_COOLIFY_ACCESS_TOKEN>"
      }
    }
  }
}
```

Needs Node.js on your computer. Replace the placeholders with your own values.

### VS Code

Add it to `.vscode/mcp.json`. VS Code asks for the secret the first time and stores it securely:

`.vscode/mcp.json`:

```json
{
  "servers": {
    "coolify": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@masonator/coolify-mcp"
      ],
      "env": {
        "COOLIFY_ACCESS_TOKEN": "${input:coolify-access-token}"
      }
    }
  },
  "inputs": [
    {
      "type": "promptString",
      "id": "coolify-access-token",
      "description": "COOLIFY_ACCESS_TOKEN",
      "password": true
    }
  ]
}
```

Needs Node.js on your computer.

### Devin Desktop

1. Add it to `~/.config/devin/mcp_config.json` (macOS and Linux) or `%APPDATA%\devin\mcp_config.json` (Windows):

`mcp_config.json`:

```json
{
  "mcpServers": {
    "coolify": {
      "command": "npx",
      "args": [
        "-y",
        "@masonator/coolify-mcp"
      ],
      "env": {
        "COOLIFY_ACCESS_TOKEN": "<YOUR_COOLIFY_ACCESS_TOKEN>"
      }
    }
  }
}
```

2. Refresh the MCP server list in Cascade. Replace the placeholders with your own values.

Devin Desktop is the new name for Windsurf.

### Codex

```bash
codex mcp add coolify --env "COOLIFY_ACCESS_TOKEN=<YOUR_COOLIFY_ACCESS_TOKEN>" -- npx -y @masonator/coolify-mcp
```

Or edit `~/.codex/config.toml` directly:

`config.toml`:

```toml
[mcp_servers.coolify]
command = "npx"
args = ["-y", "@masonator/coolify-mcp"]
env = { COOLIFY_ACCESS_TOKEN = "<YOUR_COOLIFY_ACCESS_TOKEN>" }
```

Needs Node.js on your computer. Replace the placeholders with your own values.

### Gemini CLI

```bash
gemini mcp add -e "COOLIFY_ACCESS_TOKEN=<YOUR_COOLIFY_ACCESS_TOKEN>" coolify npx -- -y @masonator/coolify-mcp
```

This adds it to the current project. Add `-s user` to use it everywhere.

### Any client

Most clients that start local servers accept this shape:

```json
{
  "mcpServers": {
    "coolify": {
      "command": "npx",
      "args": [
        "-y",
        "@masonator/coolify-mcp"
      ],
      "env": {
        "COOLIFY_ACCESS_TOKEN": "<YOUR_COOLIFY_ACCESS_TOKEN>"
      }
    }
  }
}
```

Zed puts servers under `context_servers` in its settings, with the same `command`, `args` and `env` fields.

Needs Node.js on your computer. Replace the placeholders with your own values.

## Recent changes

- 2026-11-12 17:26 UTC: New version 3.10.1 (was 3.9.0), read from npm. Source: automatic check.
- 2026-10-12 07:24 UTC: Tracking started: version 3.9.0. Source: automatic check.

More on the History tab, with descriptions before and after for the newest entries: https://mcp.tc/i/coolify#history (Atom feed: https://mcp.tc/i/coolify/history.xml). It records what mcp.tc's anonymous checks saw, every 3 hours where the tool list can be read without sign-in; it is not a security review.

## Details

- Server version: 3.10.1
- Last checked: 2026-10-12
- Listed: 2026-10-12
- Updated: 2026-10-12

---
Source: https://mcp.tc/i/coolify (mcp.tc is an independent directory, not affiliated with this server's publisher). Corrections: https://mcp.tc/report
