Coolify

Cloud and DevOps

46 optimized tools for managing Coolify infrastructure, diagnostics, and docs search.

Your AI app calls the Coolify MCP server, which does the cloud and DevOps work and sends the result back to the chat.

About Coolify

Coolify is a community MCP server from StuMason, filed in our directory under cloud and devops. 46 optimized tools for managing Coolify infrastructure, diagnostics, and docs search.

Coolify runs on your own machine: your AI app starts it with the command npx -y @masonator/coolify-mcp@3.10.1 and talks to it over standard input and output. It needs COOLIFY_ACCESS_TOKEN set before Coolify starts.

Coolify is listed in the official MCP registry as io.github.StuMason/coolify, version 3.10.1.

At a glance

Publisher
StuMason (community)
Runs
Locally on your machine
Install from
Node.js package on npm: @masonator/coolify-mcp
Written in
TypeScript
License
MIT
GitHub stars
632
Official MCP registry
io.github.StuMason/coolify

How to set up Coolify

  1. Install Node.js on the machine that runs your AI app, because Coolify starts with npx and downloads its package on first run.
  2. Create COOLIFY_ACCESS_TOKEN for Coolify in the connected service's own settings, scoped to the smallest permissions the job needs.
  3. Add Coolify to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Coolify tools to confirm the connection.
  5. Run one read-only task with Coolify first, and keep your app asking before each tool call until the results look right.

Coolify compared with similar servers

  • Line Harness Oss by Shudesu has fewer GitHub stars than Coolify (623 against 632); both are community servers, and both run locally.
  • SandBase Harness by sandbaseai has more GitHub stars than Coolify (642 against 632); both are community servers, and both run locally.
  • MCP For Argocd by argoproj-labs has fewer GitHub stars than Coolify (612 against 632); both are community servers, and both run locally.

Before you connect Coolify

  • Give Coolify its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Coolify tool call until you trust what it does with them.
  • Treat text that Coolify fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Coolify on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Coolify

How marketing and sales teams put Coolify to work, by company size. Pick the size closest to yours and start Coolify on one use case.

Small business

  • A small business can ask Coolify why the site is slow or down and get the likely cause in plain words.
  • Owners can use Coolify to check hosting costs and spot services they pay for but no longer use.
  • Coolify runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Web teams can connect Coolify to watch deploys during a launch and roll back fast if a campaign page breaks.
  • Marketing engineering can use Coolify to spin up preview environments for every landing page review.
  • Start Coolify on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises should give Coolify read access first, with changes gated by the same approvals as any infrastructure change.
  • Large orgs can use Coolify to answer cost and reliability questions across accounts, so marketing launches are planned with real capacity.
  • Coolify is a community server, so have security review the code and pin a version before Coolify touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Coolify README

From StuMason/coolify-mcp on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

Coolify MCP Server

Manage Coolify from Claude, Cursor, or any MCP client: 46 tools for deploying, debugging, and operating your self-hosted PaaS in plain English. Destructive operations ask a human first; secrets stay masked.

📖 coolify-mcp.stumason.dev · Tool reference · Prompts and resources · Remote / HTTP mode · Fleet · Doctor · Safety and security · Changelog

Install

You need a running Coolify v4 instance and an API token (Coolify → Keys & Tokens → API tokens). Pick one of three ways to run the server.

Claude Desktop, one-click. Download coolify-mcp.mcpb and drag it into Settings → Extensions. You are prompted for your Coolify URL and token. No Node install, no JSON editing.

Locally, in any MCP client. Claude Code:

claude mcp add coolify \
  -e COOLIFY_BASE_URL="https://your-coolify-instance.com" \
  -e COOLIFY_ACCESS_TOKEN="your-api-token" \
  -- npx @masonator/coolify-mcp@latest

Codex CLI is the same with codex mcp add and --env. For Cursor, Claude Desktop or anything that takes a JSON config:

{
  "mcpServers": {
    "coolify": {
      "command": "npx",
      "args": ["-y", "@masonator/coolify-mcp"],
      "env": {
        "COOLIFY_BASE_URL": "https://your-coolify-instance.com",
        "COOLIFY_ACCESS_TOKEN": "your-api-token"
      }
    }
  }
}

Remotely, as a container inside your Coolify. Deploy the server next to the Coolify it manages and connect claude.ai, Claude Desktop or Claude Code to https://your-domain/mcp. Your Coolify token stays server-side; clients authenticate with OAuth 2.1. Five-minute setup in docs/http-mode.md.

Then run doctor

Whatever you configured, verify it in one command:

COOLIFY_BASE_URL="https://your-coolify-instance.com" COOLIFY_ACCESS_TOKEN="your-api-token" \
  npx @masonator/coolify-mcp doctor

It checks the config for the classic traps (unexpanded ${VAR}, pasted whitespace, a doubled /api/v1), that Coolify is reachable and not hidden behind a Cloudflare Access login, that the token is accepted and can deploy, and that your Coolify version is in the tested range. Each failure comes with a one-line fix. Add --json for scripts. It never prints a secret. Every check is described in the doctor guide.

Behind a proxy or Cloudflare Access

Add --header "Key: Value" args (repeatable) for a generic auth proxy. For Cloudflare Access, set CF_ACCESS_CLIENT_ID and CF_ACCESS_CLIENT_SECRET (an Access service token) and every request to Coolify carries them, in both local and remote mode. Setup.

What it does

Every tool takes an action; run one with no arguments and it lists what it accepts. The tool reference has the full table. In short:

  • Work out what is wrong. diagnose_app and diagnose_server take a name, domain, IP or UUID; find_issues scans the estate; logs reads any container.
  • Deploy and roll back. deploy waits for a terminal status and returns the log tail on failure. Start, stop and restart anything with control.
  • Create and destroy. Applications, databases (8 engines), services, projects and environments, with environments verify_app to prove a binding before you mutate it.
  • Handle the configuration. Env vars, storages, scheduled tasks, backups, tags, private keys, GitHub apps, cloud tokens. Secrets come back masked unless you ask for one exact key.
  • Move across the whole estate. bulk_env_update, redeploy_project, stop_all_apps, each behind a human confirmation that states the blast radius.
  • Search the Coolify docs with search_docs.

Lists return uuid/name/status summaries, 90–99% smaller than the raw API; get_* tools fetch one resource in full. The whole tool list costs about 8,900 tokens of context.

Workflows, not just tools

Three prompts ship as slash commands: troubleshoot_application, explain_failed_deploy and estate_health. Pick one and the model walks the workflow with the tools it already has. Two resources, coolify://overview and coolify://application/{uuid}, are reads your client can attach; both go through the same masking as every tool call, and neither offers a way to ask for plaintext. A prompt whose tools are not registered is not listed, so read-only mode never offers a dead end. Prompts and resources.

Several Coolify instances

Set COOLIFY_INSTANCES to a JSON array of { name, url, token } alongside your default config. Every tool then takes an optional instance, list_instances reports what is configured, and every destructive confirmation names the instance it targets. Single-instance installs are byte-identical. A fleet is one trust domain; agencies with a Coolify per client should run one server per client. Fleet guide.

Safe to point at production

Destructive operations stop and ask you, in your own client, before anything happens, on clients that support elicitation (Claude Code, VS Code Copilot). In remote mode the guard fails closed. Locally, a client without elicitation gets only the confirm parameter, which the model sets itself; COOLIFY_MCP_REQUIRE_HUMAN=on refuses instead. Secrets are masked at the API boundary, log output is wrapped as untrusted data so a poisoned log line cannot issue instructions, and an eval suite red-teams both claims on every change. github.com/StuMason/coolify-mcp/blob/main/docs/security.md.

Works against Coolify v4.0 through v4.3. The v4.2 GET-to-POST change and the v4.2 secrets and Member-role restrictions are handled; see compatibility.

Coolify's own MCP server, and when you want this one

Coolify ships an MCP server of its own, built into the product. Enable it in Settings → Advanced (and per team), point your client at https://your-coolify/mcp, and there is nothing to install: it runs inside the instance, so no third-party code ever holds your token. If you run one Coolify, with one team, and you mostly want to ask it questions, use that. It is the shortest path and it costs you nothing.

At the time of writing Coolify documents its server as read-only, with write operations planned. It is moving quickly, so check the Coolify docs for where it has got to. There is also an official CLI if you would rather script than converse.

This server is for the jobs those two do not cover yet.

Coolify's built-in /mcp Official CLI This server
Where it runs Inside your Coolify Your shell Your machine, or a container inside your Coolify
Install Nothing One binary npx, a one-click Claude Desktop extension, or a container
Transport Streamable HTTP Not an MCP server stdio and HTTP, so it also works in clients that only speak stdio
Coolify instances One One context at a time One or many; in fleet mode every tool takes an instance
Writes Documented as read-only today Yes Yes
Before a destructive call Not applicable You typed it Stops and asks you in your own client, naming the blast radius, on clients that support elicitation; fails closed in HTTP mode
When something is broken Not applicable Shell exit codes doctor names the cause and the one-line fix

A rough rule. One instance and read-only questions, with no setup: use Coolify's. Scripting and CI: use the CLI. Several instances, writes you want a human gate in front of, a client that only speaks stdio, or you want to be told why it is broken: this one.

Other third-party Coolify MCP servers exist. Choose on transport, on how many instances you need to reach from one connection, and on what happens the moment before something is deleted.

Example prompts

Give me an overview of my infrastructure
Diagnose my shop.example.com app
Find any issues in my infrastructure
Deploy application {uuid} and wait for it to finish
Update the DATABASE_URL env var for application {uuid}
Restart all applications in project {uuid} on instance staging
How do I fix a 502 Bad Gateway error in Coolify?

Development

git clone https://github.com/StuMason/coolify-mcp.git
cd coolify-mcp && npm install
npm run build && npm test

COOLIFY_BASE_URL="https://your-coolify.com" COOLIFY_ACCESS_TOKEN="token" node dist/index.js

Tool descriptions are prompts, so evals/ measures whether a model picks the right tool and whether attacker-controlled output can make it misbehave; contract snapshots gate every PR. See evals/README.md. Contributions welcome: CONTRIBUTING.md and the architecture and API-gotcha notes in CLAUDE.md.

Work with me

I'm Stu Mason. I build MCP servers, AI integrations and agentic systems for agencies, SMEs and enterprise. This repo is what that work looks like in the open.

  • An MCP server for your product. Give Claude, Cursor and every other AI client a proper way into your API, like this one.
  • Answers from your own stuff. AI that answers from your documents and data, with the receipts, instead of guessing. Can stay on your own servers.
  • Work that runs itself. Jobs on a schedule that sort, check and report, with a person signing off before anything goes out.

White-label under your own name if you're an agency. And if a job doesn't need AI, I'll say so before anyone's paid for anything.

📮 hey@stumason.dev · stumason.dev · coolify-mcp.stumason.dev

Privacy Policy

This server collects nothing about you. There is no telemetry, no analytics and no phone-home, and there is no hosted service behind it.

Your Coolify API token goes to the instance you configured and nowhere else. The only other outbound requests are a one-off documentation index refresh from coolify.io, which carries a cache validator and no credentials, and in HTTP mode a credential-free fetch of the connecting client's own metadata document. Tool results go to your own MCP client, whose privacy policy governs what happens next. The audit log writes to your own stderr and never contains token values.

Full detail, including where in the code each claim is implemented, is in PRIVACY.md.

Links

MIT © Stu Mason. If this is useful, ⭐ the repo. If it saved you an evening, sponsor a coffee.

Questions about Coolify

What is the Coolify MCP server?

46 optimized tools for managing Coolify infrastructure, diagnostics, and docs search. Coolify is maintained by StuMason on GitHub at StuMason/coolify-mcp, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Coolify MCP server?

Add Coolify to your AI app's MCP config with the command npx -y @masonator/coolify-mcp@3.10.1. In Claude Code, run claude mcp add --transport stdio coolify -- npx -y @masonator/coolify-mcp@3.10.1. To run Coolify this way you need Node.js installed.

Does Coolify need an API key?

Yes. Coolify expects COOLIFY_ACCESS_TOKEN to be set. Create the key for Coolify in the connected service's own settings, give it the smallest permissions the job needs, and keep it out of shared config files.

Is Coolify an official MCP server?

No. Coolify is a community server maintained by StuMason. Community servers can be excellent; read the code and the open issues before you give Coolify access to company data.

What license is Coolify under?

Coolify is released under the MIT license, according to its GitHub repository. The license covers the code of Coolify; the service it connects to has its own terms.