# Coolify

> Coolify is an open-source MCP server for cloud and infrastructure. 46 tools for deploying, diagnosing and managing a self-hosted Coolify from your AI client. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, self-hosted, API
- **Website:** https://stumason.dev
- **Repository:** https://github.com/stumason/coolify-mcp
- **MCP Registry name:** io.github.StuMason/coolify
- **Categories:** cloud and infrastructure, developer tools
- **Listing updated:** 2026-11-14

## About

This server turns a Coolify v4 instance into something you can operate by conversation. Each tool takes an `action`, and calling one with no arguments lists what it accepts. It covers applications, databases across eight engines, services, projects and environments.

Its diagnostic tools are `diagnose_app` and `diagnose_server`, which take a name, domain, IP or UUID, and `find_issues`, which scans the whole estate. `deploy` waits for a terminal status and returns the log tail on failure. Destructive operations ask a human first and secrets stay masked.

It installs as an MCPB bundle for Claude Desktop, with `npx` locally, or as a container inside Coolify using OAuth 2.1. An `npx @masonator/coolify-mcp doctor` command checks the URL, token and Cloudflare Access setup. It is MIT licensed.

## Features

- **Diagnostics:** Diagnose an app or server, or scan the estate for issues.
- **Deploy and roll back:** Deploys wait for a final status and return logs on failure.
- **Create resources:** Applications, eight database engines, services and projects.
- **Safe by default:** Destructive actions ask a human; secrets are masked.
- **Three install paths:** Desktop bundle, local npx or remote container.
- **Doctor command:** Checks configuration and token before use.

## Good for

- Find out why a deployment failed
- Scan a Coolify estate for problems
- Spin up a database for a new project
- Restart a service from chat

## Install

### Claude Code (Terminal)

```sh
claude mcp add coolify --env COOLIFY_ACCESS_TOKEN='<COOLIFY_ACCESS_TOKEN>' -- npx -y @masonator/coolify-mcp
```

### Claude Desktop (claude_desktop_config.json)

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

### Cursor (~/.cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## Tools

- `diagnose_app`: Diagnoses an application by name, domain, IP or UUID.
- `diagnose_server`: Diagnoses a server by name, domain, IP or UUID.
- `find_issues`: Scans the whole estate for problems.
- `logs`: Reads logs of any container.
- `deploy`: Deploys and waits for a terminal status.
- `control`: Starts, stops or restarts resources.

## FAQ

### What do I need?

A Coolify v4 instance and an API token from Keys & Tokens.

### Can it run remotely?

Yes, as a container in Coolify with OAuth 2.1; the Coolify token stays server-side.

### Does it work behind Cloudflare Access?

Yes, with an Access service token set in the environment.

### Is Coolify free?

Yes. Coolify is open source, so you can use and self-host it for free.

### How do I add Coolify to Claude Code?

Run this command in your terminal: claude mcp add coolify --env COOLIFY_ACCESS_TOKEN='<COOLIFY_ACCESS_TOKEN>' -- npx -y @masonator/coolify-mcp

### What are the best alternatives to Coolify?

The closest alternatives to Coolify are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/coolify
