Coolify
FreeNot checked42 optimized tools for managing Coolify infrastructure, diagnostics, and docs search
About
42 optimized tools for managing Coolify infrastructure, diagnostics, and docs search
README
npm version npm downloads CI Claude Desktop one-click install MCP Registry License: MIT
Manage Coolify through natural language — 42 token-optimized MCP tools for deploying, debugging, and operating your self-hosted PaaS from Claude, Cursor, or any MCP client.
📖 Full docs: coolify-mcp.stumason.dev — install guide, tools reference, architecture, security model, v3 roadmap.
Install
You need a running Coolify v4 instance and an API token (Coolify → Settings → API).
Claude Desktop — one-click: download coolify-mcp.mcpb and drag it into Settings → Extensions. You'll be prompted for your Coolify URL and token — no Node install, no JSON editing.
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
Any MCP client (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"
}
}
}
}
Behind Cloudflare Access or an auth proxy? Add --header "Key: Value" args (repeatable). Cursor, multiple Coolify instances, and proxy setups are covered in the install guide.
Tools
| Category | Tools |
|---|---|
| Infrastructure | get_infrastructure_overview, get_mcp_version, get_version, system (health, list_resources, enable/disable API) |
| Diagnostics | diagnose_app, diagnose_server, find_issues |
| Batch Operations | restart_project_apps, bulk_env_update, stop_all_apps, redeploy_project |
| Servers | list_servers, get_server, validate_server, server_resources, server_domains |
| Projects | projects (list, get, create, update, delete via action param) |
| Environments | environments (list, get, create, delete via action param) |
| Applications | list_applications, get_application, application (CRUD + delete_preview), application_logs |
| Databases | list_databases, get_database, database (create 8 types, delete), database_backups (CRUD schedules, executions incl. delete) |
| Services | list_services, get_service, service (create, update, delete) |
| Control | control (start/stop/restart for apps, databases, services) |
| Env Vars | env_vars (CRUD + bulk_update for application, service, and database env vars) |
| Storages | storages (list, create, update, delete persistent/file storages for apps, databases, services) |
| Scheduled Tasks | scheduled_tasks (list, create, update, delete, list_executions, run_once for apps and services) |
| Deployments | list_deployments, deploy (incl. wait-to-terminal-status), deployment (get, cancel, list_for_app) |
| Private Keys | private_keys (list, get, create, update, delete via action param) |
| GitHub Apps | github_apps (list, get, create, update, delete, list_repos, list_branches) |
| Teams | teams (list, get, get_members, get_current, get_current_members) |
| Cloud Tokens | cloud_tokens (Hetzner/DigitalOcean: list, get, create, update, delete, validate) |
| Hetzner Cloud | hetzner (list_locations, list_server_types, list_images, list_ssh_keys, create_server) |
| Documentation | search_docs (full-text search across Coolify docs) |
Full reference with parameters and examples: tools docs.
Design
- Token-optimized — consolidated action-param tools keep the tool list at ~6,600 tokens instead of ~43,000 (85% less), so the server doesn't eat your context window before you've asked anything.
- Summaries by default —
list_*tools returnuuid/name/statusprojections (90–99% smaller than the raw API, measured against a real 21-app estate);get_*tools fetch full detail for one resource. - Smart lookup —
diagnose_apptakes a UUID, name, or domain;diagnose_servertakes a UUID, name, or IP. - Actionable responses — results carry
_actionshints (view logs, restart, next page) so the assistant knows the logical next step without extra tokens. - Verified deploys —
deploywithwait: truepolls to a terminal status and returns a log tail on failure, instead of "the site returns 200 so it probably worked".
Secure by default
Secrets are masked at the API boundary — a client granted "list" access never sees plaintext credentials unless you explicitly opt in with reveal: true:
env_vars— variable values return as***system list_resources(full mode) — webhook HMAC secrets, basic-auth and database passwords,internal/external_db_urlconnection strings, compose bodies, Traefik labels, nested env varsdeployment get— the raw upstream payload (server settings, log-drain tokens, webhook secrets) never leaves the client; responses are projected
Details: security model.
Example prompts
Give me an overview of my infrastructure
Diagnose my stuartmason.co.uk 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}
Create a staging environment in project {uuid}
Restart all applications in project {uuid}
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
Contributions welcome — see CONTRIBUTING.md and the contributor docs.
Links
- Coolify — the open-source, self-hostable PaaS this server drives
- MCP Registry — listed as
io.github.StuMason/coolify - laravel-coolify — deploy Laravel to Coolify with a dashboard, Artisan commands, and generated Dockerfiles
- Model Context Protocol
MIT © Stu Mason — if this is useful, ⭐ the repo.
Install Coolify in Claude Desktop, Claude Code & Cursor
unyly install coolifyInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add coolify -- npx -y @masonator/coolify-mcpFAQ
Is Coolify MCP free?
Yes, Coolify MCP is free — one-click install via Unyly at no cost.
Does Coolify need an API key?
No, Coolify runs without API keys or environment variables.
Is Coolify hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Coolify in Claude Desktop, Claude Code or Cursor?
Open Coolify on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Notion
Read and write pages in your workspace
by NotionLinear
Issues, cycles, triage — from Claude
by LinearGoogle Drive
Search and read your Drive files
by Googlemindsdb/mindsdb
Connect and unify data across various platforms and databases with [MindsDB as a single MCP server](https://docs.mindsdb.com/mcp/overview).
by mindsdbCompare Coolify with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All productivity MCPs
