Coolify MCP Server
Provides tools to create and manage ClickHouse databases within Coolify, including configuration and lifecycle operations.
Allows deployment of applications from Docker images in the Coolify environment, managing containers and related settings.
Enables creation and management of MariaDB databases, with options for users, passwords, and public access through Coolify.
Supports creation and management of MongoDB databases, including authentication and visibility settings.
Provides tools to create and manage MySQL databases within Coolify, with environment-specific configuration.
Offers management of PostgreSQL databases, allowing creation, updates, and lifecycle controls through Coolify.
Allows provisioning and management of Redis databases, including configuration of public access and other settings.
Click on "Install 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 ServerList all servers on my Coolify."
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 (coolify-mcp)
A comprehensive, production-grade Model Context Protocol (MCP) server for Coolify v4 self-hosted PaaS.
Connect AI coding assistants and agents (Claude Desktop, Cursor, Antigravity, Claude Code, Windsurf, Cline, and VS Code) directly to your Coolify instance to orchestrate infrastructure, deploy applications, manage 8 types of databases, handle environment variables, and diagnose logs using natural language.
🌟 Why coolify-mcp?
🌐 100% Full Coolify v4 API Coverage: 77 verified MCP tools covering Projects, Environments, Servers, Applications, Databases, Docker Compose Services, Deployments, Team Members, and SSH Keys.
🔒 Read-Only Safety Guard: Enable
--read-only(orCOOLIFY_READ_ONLY=true) to let AI assistants audit, monitor, and troubleshoot without any mutating or destructive actions.🗄️ Universal Database Engine Support: Out-of-the-box creation and configuration for PostgreSQL, MySQL, MariaDB, MongoDB, Redis, ClickHouse, Dragonfly, and KeyDB with engine-specific parameter normalization.
📊 Dynamic MCP Resources: Native resources (
coolify://overview,coolify://servers,coolify://applications,coolify://databases) for zero-token ambient context.💡 DevOps Prompt Templates: Pre-built prompt recipes (
diagnose-application,infrastructure-audit,deployment-summary) for autonomous diagnostics and health checks.🐳 Docker & Stdio Transport Ready: Run as a standard Node CLI tool or inside isolated Docker containers with container-to-container network support.
🤖 AI Agent Setup Prompt (Copy & Paste)
If you are using an AI coding assistant (like Antigravity, Claude Code, Cursor, Windsurf, or Cline), simply copy and paste the prompt below into your assistant:
Please configure and set up the Coolify MCP server for me from https://github.com/frizikk/coolify-mcp.git.
Follow these steps:
1. Clone the repository:
git clone https://github.com/frizikk/coolify-mcp.git
2. Install dependencies and build the server:
cd coolify-mcp && pnpm install && pnpm build
3. Guide me to provide my Coolify instance URL (e.g. https://coolify.my-domain.com or http://localhost:8000) and API Bearer Token (generated in Coolify under Keys & Tokens / Settings -> API).
4. Add the `coolify` server configuration to my MCP client config (e.g., in Claude Desktop `claude_desktop_config.json`, Cursor `~/.cursor/mcp.json`, or Antigravity `~/.gemini/config/mcp_config.json`).
5. Test the connection by calling `coolify_get_version` and `coolify_get_infrastructure_overview` to verify connection to my Coolify instance.🛠️ MCP Tools Reference
The server exposes 77 specialized tools organized across 8 core DevOps domains:
1. System & Infrastructure Overview (4 tools)
Tool | Parameters | Description |
| none | Get running Coolify instance version string. |
| none | Perform health check on Coolify backend. |
| none | List all resources managed across all projects. |
| none | Get aggregated health, server status, apps, and databases dashboard. |
2. Servers & Nodes Management (8 tools)
Tool | Parameters | Description |
| none | List all registered servers with reachability and usability flags. |
|
| Get detailed server configuration, IP, and settings. |
|
| Validate SSH connection and connectivity to a server. |
|
| List all resources deployed to a specific server. |
|
| List all active domains and routes on a server. |
|
| Register a new server node. |
|
| Update server configuration. |
|
| Remove a server from Coolify. |
3. Teams & SSH Keys (9 tools)
Tool | Parameters | Description |
| none | List all teams accessible by token. |
| none | Get active authenticated team details. |
| none | List users and roles in active team. |
|
| Get team details by ID. |
|
| List members of specific team by ID. |
| none | List all registered SSH private keys. |
|
| Get private key details. |
|
| Register a new SSH private key (Ed25519/RSA). |
|
| Delete an SSH private key. |
4. Projects & Environments (9 tools)
Tool | Parameters | Description |
| none | List all projects and environments. |
|
| Get project structure and environment list. |
|
| Create a new project. |
|
| Update project name or description. |
|
| Delete an empty project. |
|
| List environments in a project. |
|
| Get environment details. |
|
| Create a new environment ( |
|
| Delete an environment. |
5. Applications (16 tools)
Tool | Parameters | Description |
| none | List all standalone applications. |
|
| Get application configuration, ports, and domains. |
|
| Deploy from public Git repo. |
|
| Deploy from private Git repo. |
|
| Deploy from raw or base64 Dockerfile. |
|
| Deploy pre-built Docker image. |
|
| Update application configuration. |
|
| Delete application and its containers. |
|
| Trigger start / deploy of application. |
|
| Stop running application container. |
|
| Restart application container. |
|
| Fetch runtime container stdout/stderr logs. |
|
| List all environment variables for application. |
|
| Set / create environment variable. |
|
| Bulk update multiple environment variables. |
|
| Delete an environment variable by UUID. |
6. Deployments (5 tools)
Tool | Parameters | Description |
| none | List global running and completed deployments. |
|
| List deployment history for a specific app. |
|
| Get deployment status, commit info, and logs. |
|
| Trigger an instant build and deployment. |
|
| Cancel an in-progress deployment. |
7. Databases (14 tools)
Tool | Parameters | Description |
| none | List all standalone databases. |
|
| Get database details and connection strings. |
|
| Create DB (PostgreSQL, MySQL, MariaDB, MongoDB, Redis, ClickHouse, Dragonfly, KeyDB). |
|
| Update database settings. |
|
| Delete database container and volume. |
|
| Start database container. |
|
| Stop database container. |
|
| Restart database container. |
|
| List backup configurations for database. |
|
| Schedule automatic database backups (cron). |
|
| Update backup schedule settings. |
|
| Delete backup configuration. |
|
| List backup run execution history. |
|
| Delete specific backup run artifact. |
8. One-Click Services & Docker Compose (12 tools)
Tool | Parameters | Description |
| none | List all one-click services. |
|
| Get service metadata, domains, and containers. |
|
| Deploy one-click template (Ghost, Plausible, etc.). |
|
| Update service settings. |
|
| Delete service stack. |
|
| Start service containers. |
|
| Stop service containers. |
|
| Restart service stack. |
|
| List service environment variables. |
|
| Create/update service environment variable. |
|
| Bulk update service environment variables. |
|
| Delete a service environment variable. |
📊 MCP Resources & Prompts
Resources
coolify://overview— Aggregated real-time summary of all servers, apps, databases, and services.coolify://servers— Live list of servers and reachability status.coolify://applications— Live status of all applications and URLs.coolify://databases— Live status of database containers.
Prompts
diagnose-application— Automated diagnostic workflow: checks application state, analyzes recent logs, and inspects environment variables.infrastructure-audit— Complete infrastructure health check across servers, disk limits, and failed containers.deployment-summary— Analyzes recent deployments and surfaces build failures.
⚙️ Configuration & Client Setup
Environment Variables
Variable | Description | Default |
| Base URL of your Coolify instance (e.g. |
|
| Coolify API Bearer Token |
|
| Restrict to non-mutating actions ( |
|
Client Config Examples
1. Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"coolify": {
"command": "node",
"args": ["/path/to/coolify-mcp/dist/index.js"],
"env": {
"COOLIFY_BASE_URL": "https://coolify.yourdomain.com",
"COOLIFY_API_TOKEN": "your-bearer-token"
}
}
}
}2. Cursor (~/.cursor/mcp.json or project .cursor/mcp.json)
{
"mcpServers": {
"coolify": {
"command": "node",
"args": ["/path/to/coolify-mcp/dist/index.js"],
"env": {
"COOLIFY_BASE_URL": "https://coolify.yourdomain.com",
"COOLIFY_API_TOKEN": "your-bearer-token"
}
}
}
}3. Antigravity (~/.gemini/config/mcp_config.json)
{
"mcpServers": {
"coolify": {
"command": "node",
"args": ["/path/to/coolify-mcp/dist/index.js"],
"env": {
"COOLIFY_BASE_URL": "https://coolify.yourdomain.com",
"COOLIFY_API_TOKEN": "your-bearer-token"
}
}
}
}4. Docker Container Mode
docker run -i --rm \
-e COOLIFY_BASE_URL="http://coolify:8080" \
-e COOLIFY_API_TOKEN="your-bearer-token" \
--network coolify-network \
coolify-mcp:latest🧪 Testing & Verification
The test suite includes unit tests and full end-to-end integration tests executed against a live Dockerized Coolify v4 instance:
# Run all automated unit and integration tests (43 tests)
pnpm test
# Run complete 77-tool live verification suite
pnpm test:verify-live📄 License
Distributed under the MIT License. See LICENSE for details.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
One PAT, any MCP agent: Vercel, GitHub, Cloudflare, Supabase, GCP — unified dev infra gateway.
Official Microsoft MCP Server to query Microsoft Entra data using natural language
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/frizikk/coolify-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server