coolify-mcp-server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@coolify-mcp-servershow me the recent deployments for my production app"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
coolify-mcp-server
An MCP (Model Context Protocol) server that lets an LLM manage a self-hosted Coolify instance — applications, databases, services, servers, projects/environments, deployments, environment variables, tags, teams, private keys, and S3 backup storages.
Runs locally over stdio (no hosting required) and talks to your Coolify instance's REST API (/api/v1).
Scope
This covers Coolify's core day-to-day resource management (~81 tools). It intentionally does not cover: cloud-provider provisioning catalogs (DigitalOcean/Hetzner/Vultr regions/sizes), GitHub/GitLab App registration, notification-channel config, cloud-init scripts, scheduled tasks, resource storages/volumes/backups, cloning/migration, or webhook secret management. Those can be added later following the same pattern in src/tools/.
Related MCP server: Coolify MCP Server
Setup
bun installSet two environment variables when running the server:
COOLIFY_BASE_URL— your Coolify instance URL, e.g.https://coolify.example.com(the/api/v1suffix is added automatically if missing).COOLIFY_API_TOKEN— an API token generated in Coolify under Keys & Tokens → API tokens.
Register with Claude Code
Add to your Claude Code MCP config (global ~/.claude.json or project .mcp.json):
{
"mcpServers": {
"coolify": {
"command": "bun",
"args": ["run", "G:/PROJECTS/coolify-mcp-server/src/index.ts"],
"env": {
"COOLIFY_BASE_URL": "https://coolify.k79.quest",
"COOLIFY_API_TOKEN": "your-api-token-here"
}
}
}
}Or via the CLI:
claude mcp add coolify --scope user -- bun run G:/PROJECTS/coolify-mcp-server/src/index.ts(then set COOLIFY_BASE_URL/COOLIFY_API_TOKEN in that config entry's env).
Development
bun run typecheck # tsc --noEmit
bun run dev # bun --watch src/index.tsscripts/smoke-test.ts spawns the server over stdio and calls tools against a real Coolify instance — useful when adding new tools:
COOLIFY_BASE_URL=https://coolify.k79.quest COOLIFY_API_TOKEN=... \
bun run scripts/smoke-test.ts coolify_list_projects coolify_list_applicationsSecurity notes
coolify_list_env_varsand related tools return environment variable values in plaintext, including secrets — this mirrors Coolify's own API. Treat conversations that call these tools accordingly.coolify_create_private_keyandcoolify_create_s3_storagetransmit key/credential material to your Coolify instance overCOOLIFY_BASE_URL.The API token is a Bearer credential with whatever scope you granted it in Coolify; this server does not add its own authorization layer beyond what the token permits.
Project layout
src/
index.ts # entry point, registers all tool modules, stdio transport
client.ts # authenticated fetch wrapper + error formatting
constants.ts # env-derived config
schemas.ts # shared Zod field groups (application/database creation, resource-type enum)
tool-helpers.ts # registerCoolifyTool: shared request/response/error wiring for every tool
tools/
applications.ts
databases.ts
services.ts
servers.ts
projects.ts # projects + environments
envs.ts # environment variables (shared across application/service/database)
tags.ts # global tags + per-resource tag assignment
deployments.ts
teams.ts
keys.ts # SSH private keys
storages.ts # S3 backup storages
misc.ts # /resources, /version, /healthThis server cannot be deployed
Maintenance
Related MCP Connectors
Provides capabilities that let LLM agents perform a range of infrastructure management tasks.
Deploy and manage your apps, databases, storage, and scheduled jobs from your AI agent
- mcpOAuthnet.hepcloud
Manage HepCloud (Turkish cloud) servers and managed PostgreSQL from your AI assistant. OAuth 2.1.
The agent-native cloud: database, functions, AI, storage, computers. 50 tools, one API key.
Related MCP Servers
- AlicenseDqualityFmaintenanceProvides programmatic and CLI tools for managing Coolify deployments, allowing users to control applications, services, databases, and infrastructure through natural language or command line.1063 npm7Good Luck With That Public
- AlicenseAqualityDmaintenanceEnables AI assistants to interact with Coolify self-hosted instances for application deployment, management, and monitoring. Features 4 unified tools optimized for VS Code's limits, covering app management, environment configuration, system administration, and built-in documentation.4174 npm1MIT
- AlicenseBqualityFmaintenanceEnables AI assistants to interact with Coolify for complete infrastructure management including applications, databases, servers, deployments, and team operations. Provides 100% API coverage with 64 tools for managing the entire Coolify ecosystem through natural language.187 npm6MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage Coolify infrastructure including servers, applications, databases, deployments, and 80+ one-click services through 98 comprehensive tools for both cloud and self-hosted instances.MIT