Coolify MCP Server
Lets your AI agent deploy, debug and manage apps, databases and servers on your self-hosted Coolify.
620 stars on GitHubby StuMasonLicense MITUpdated 18 days ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add coolify -e COOLIFY_ACCESS_TOKEN="<your value>" -- npx -y @masonator/coolify-mcp
What to fill in
| Name | What it is | Required |
|---|---|---|
COOLIFY_ACCESS_TOKEN | Your Coolify API access token | Yes |
COOLIFY_BASE_URL | Your Coolify instance URL | No |
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Give me an overview of my infrastructure.
Diagnose my shop.example.com app.
What it is
This server connects your agent to Coolify, a self-hosted platform for running apps. It can diagnose apps and servers, deploy and roll back, manage environment variables and search the Coolify docs. Destructive actions ask a human first on supporting clients, and secrets are masked.
What it can do
diagnose_app: find what is wrong with an appdiagnose_server: check a serverfind_issues: scan the whole estatelogs: read any container's logsdeploy: deploy and wait for the resultcontrol: start, stop or restartsearch_docs: search the Coolify docs
When to use
- βΊWhen you want to know why an app is returning a 502 error
- βΊWhen you want to deploy an app and see the log tail if it fails
- βΊWhen you need to update an environment variable across many apps
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
vercel-cliHelps your agent deploy and manage Vercel projects from the command line, including deployments, environment variables, domains, logs and build errors.cli-anything-pm2Lets your agent check, start, stop, restart, and read logs for Node.js apps managed by PM2 on your server.vercel-deploymentGives your agent expert guidance for deploying Next.js apps on Vercel, covering environment variables, runtimes, build speed and previews.Frequently asked questions
Is it free and open source?
Yes, it is under the MIT license.
What does it need?
A Coolify v4 instance and an API token.
Does it collect data?
No. The readme says it has no telemetry, analytics or phone-home.
Is it safe to point at production?
Destructive actions stop and ask you on clients that support elicitation, and secrets are masked.
Can it manage several Coolify instances?
Yes. Set COOLIFY_INSTANCES and every tool takes an instance name.
Which Coolify versions work?
Coolify v4.0 through v4.3.
If it does not work
- βΊRun npx @masonator/coolify-mcp doctor with your base URL and token; it names the problem and the fix.
- βΊCheck that the URL does not repeat /api/v1 and that variables are not left unexpanded.
- βΊIf Coolify is behind Cloudflare Access, set CF_ACCESS_CLIENT_ID and CF_ACCESS_CLIENT_SECRET.
5 new skills a week. 1 minute to read.