Coolify MCP Server
Allows creating and managing ClickHouse databases within Coolify.
Enables creating and managing applications from Dockerfiles, Docker images, and Docker Compose via Coolify.
Integrates with GitHub for authentication and deploying private repositories as applications.
Allows creating and managing MariaDB databases within Coolify.
Allows creating and managing MongoDB databases within Coolify.
Allows creating and managing MySQL databases within Coolify.
Allows creating and managing PostgreSQL databases within Coolify.
Allows creating and managing Redis databases within Coolify.
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 Server Create a new PostgreSQL database for project 'myapp'"
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
A Model Context Protocol (MCP) server for the Coolify API. Manage your self-hosted PaaS infrastructure through AI assistants like Claude.
Quick Install
curl -fsSL https://raw.githubusercontent.com/Ruashots/coolify-mcp/master/install.sh | bashThis will:
Clone the repository to
~/.local/share/coolify-mcpInstall dependencies and build
Prompt for your Coolify URL and API token
Configure Claude Code automatically
Other commands:
# Reconfigure credentials
~/.local/share/coolify-mcp/install.sh --reconfigure
# Uninstall
~/.local/share/coolify-mcp/install.sh --uninstallRelated MCP server: Coolify MCP Server
Features
70+ tools covering the complete Coolify API:
Applications - Deploy from Git repos, Dockerfiles, Docker images, or Docker Compose
Databases - PostgreSQL, MySQL, MariaDB, MongoDB, Redis, ClickHouse, DragonFly, KeyDB
Services - Template-based services or custom Docker Compose stacks
Servers - Manage and validate your infrastructure
Projects & Environments - Organize your resources
Deployments - Deploy by UUID, tag, or PR preview
Environment Variables - Full CRUD with bulk operations
Prerequisites
Node.js 18+
A running Coolify instance
Coolify API token
jq(for automatic Claude Code configuration)
Manual Installation
# Clone the repository
git clone https://github.com/Ruashots/coolify-mcp.git
cd coolify-mcp
# Install dependencies
npm install
# Build
npm run buildGetting a Coolify API Token
Log into your Coolify dashboard
Go to Keys & Tokens > API tokens
Click Create New Token
Copy the token (only shown once)
Usage
Claude Code CLI
Add the MCP server using the claude CLI:
claude mcp add coolify \
--transport stdio \
-e COOLIFY_API_TOKEN="your-api-token" \
-e COOLIFY_BASE_URL="http://your-coolify-instance:8000" \
-- node /path/to/coolify-mcp/dist/index.jsScope options:
Flag | Description |
(default) | Local to current directory |
| Available across all your projects |
| Shared with team via |
Manage the server:
# List configured servers
claude mcp list
# Check server details
claude mcp get coolify
# Remove server
claude mcp remove coolifyClaude Desktop
Add to your Claude Desktop config file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"coolify": {
"command": "node",
"args": ["/path/to/coolify-mcp/dist/index.js"],
"env": {
"COOLIFY_API_TOKEN": "your-api-token",
"COOLIFY_BASE_URL": "http://your-coolify-instance:8000"
}
}
}
}Manual / Environment Variables
export COOLIFY_API_TOKEN="your-api-token"
export COOLIFY_BASE_URL="http://your-coolify-instance:8000"
node /path/to/coolify-mcp/dist/index.jsAvailable Tools
System
Tool | Description |
| Check instance health |
| Get Coolify version |
| Enable the API |
Teams
Tool | Description |
| List all teams |
| Get current team |
| Get team members |
Projects
Tool | Description |
| List all projects |
| Get project by UUID |
| Create new project |
| Update project |
| Delete project |
Environments
Tool | Description |
| Get environment |
| Create environment |
| Delete environment |
Servers
Tool | Description |
| List all servers |
| Get server by UUID |
| Add new server |
| Update server |
| Delete server |
| Validate connectivity |
| Get deployed resources |
| Get domain mappings |
GitHub Apps
Tool | Description |
| List all GitHub Apps (get UUID and ID for private repos) |
| List repositories accessible by a GitHub App (use numeric |
Private Keys
Tool | Description |
| List SSH keys |
| Get key by UUID |
| Create SSH key |
| Update key |
| Delete key |
Applications
Tool | Description |
| List all applications |
| Get application by UUID |
| Create from public Git repo |
| Create from GitHub (App auth) |
| Create from private repo (SSH) |
| Create from Dockerfile |
| Create from Docker image |
| Create from Docker Compose |
| Update application |
| Delete application |
| Start/deploy application |
| Stop application |
| Restart application |
| Get logs |
Application Environment Variables
Tool | Description |
| List env vars |
| Create env var |
| Update env var |
| Delete env var |
| Bulk update |
Databases
Tool | Description |
| List all databases |
| Get database by UUID |
| Create PostgreSQL |
| Create MySQL |
| Create MariaDB |
| Create MongoDB |
| Create Redis |
| Create ClickHouse |
| Create DragonFly |
| Create KeyDB |
| Update database |
| Delete database |
| Start database |
| Stop database |
| Restart database |
Services
Tool | Description |
| List all services |
| Get service by UUID |
| Create service |
| Update service |
| Delete service |
| Start service |
| Stop service |
| Restart service |
Service Environment Variables
Tool | Description |
| List env vars |
| Create env var |
| Update env var |
| Delete env var |
Deployments
Tool | Description |
| Deploy by UUID or tag |
| List deployments |
| Get deployment details |
Resources
Tool | Description |
| List all resources |
Example Prompts
Once configured, use natural language:
"List all my applications"
"Create a PostgreSQL database called 'myapp-db' in the production environment"
"Deploy application abc-123 with a force rebuild"
"Show me the last 100 lines of logs for my-api"
"Add DATABASE_URL environment variable to my-app"
"Stop all services in the staging project"
"What servers do I have and what's running on them?"Development
npm install # Install dependencies
npm run dev # Run in development mode
npm run build # Build for production
npm run watch # Watch modeSecurity
Keep API tokens secure and never commit them to version control
Use environment variables for sensitive configuration
Create tokens with minimal required permissions
The
can_read_sensitivepermission controls access to passwords and API keys
License
MIT
Links
Coolify - Self-hosting with superpowers
Available Tools
79 toolscoolify_bulk_update_application_envsB
Bulk create/update environment variables for an application
Inputs: uuid (required), variables (required).
coolify_create_application_docker_composeC
Create an application from Docker Compose
Inputs: server_uuid (required), project_uuid (required), environment_name (required), docker_compose_raw (required), +2 more.
coolify_create_application_dockerfileB
Create an application from a Dockerfile
Inputs: server_uuid (required), project_uuid (required), ports_exposes (required), environment_name (required), +5 more.
coolify_create_application_docker_imageB
Create an application from a Docker image
Inputs: server_uuid (required), project_uuid (required), ports_exposes (required), environment_name (required), +4 more.
coolify_create_application_envC
Create an environment variable for an application
Inputs: key (required), uuid (required), value (required), is_preview, +2 more.
coolify_create_application_private_deploy_keyB
Create an application from a private repository using SSH deploy key
Inputs: build_pack (required), git_branch (required), server_uuid (required), project_uuid (required), +6 more.
coolify_create_application_private_githubB
Create an application from a private GitHub repository using GitHub App
Inputs: build_pack (required), git_branch (required), server_uuid (required), project_uuid (required), +6 more.
coolify_create_application_publicB
Create an application from a public Git repository
Inputs: build_pack (required), git_branch (required), server_uuid (required), project_uuid (required), +8 more.
coolify_create_database_clickhouseB
Create a ClickHouse database
Inputs: server_uuid (required), project_uuid (required), environment_name (required), name, +5 more.
coolify_create_database_dragonflyC
Create a DragonFly database (Redis-compatible)
Inputs: server_uuid (required), project_uuid (required), environment_name (required), name, +4 more.
coolify_create_database_keydbC
Create a KeyDB database (Redis-compatible)
Inputs: server_uuid (required), project_uuid (required), environment_name (required), name, +5 more.
coolify_create_database_mariadbC
Create a MariaDB database
Inputs: server_uuid (required), project_uuid (required), environment_name (required), name, +7 more.
coolify_create_database_mongodbB
Create a MongoDB database
Inputs: server_uuid (required), project_uuid (required), environment_name (required), name, +6 more.
coolify_create_database_mysqlC
Create a MySQL database
Inputs: server_uuid (required), project_uuid (required), environment_name (required), name, +7 more.
coolify_create_database_postgresqlC
Create a PostgreSQL database
Inputs: server_uuid (required), project_uuid (required), environment_name (required), name, +8 more.
coolify_create_database_redisC
Create a Redis database
Inputs: server_uuid (required), project_uuid (required), environment_name (required), name, +5 more.
coolify_create_environmentC
Create a new environment in a project
Inputs: name (required), project_uuid (required), description.
coolify_create_private_keyC
Create a new private SSH key
Inputs: name (required), private_key (required), description.
coolify_create_projectC
Create a new project
Inputs: name (required), description.
coolify_create_serverC
Create/add a new server
Inputs: ip (required), name (required), private_key_uuid (required), port, +4 more.
coolify_create_serviceC
Create a new service (from template or docker-compose)
Inputs: server_uuid (required), project_uuid (required), environment_name (required), name, +4 more.
coolify_create_service_envC
Create an environment variable for a service
Inputs: key (required), uuid (required), value (required).
coolify_delete_applicationC
Delete an application
Inputs: uuid (required), delete_volumes, delete_configurations.
coolify_delete_application_envC
Delete an environment variable
Inputs: uuid (required), env_uuid (required).
coolify_delete_databaseC
Delete a database
Inputs: uuid (required), delete_volumes, delete_configurations.
coolify_delete_environmentB
Delete an environment from a project
Inputs: project_uuid (required), environment_name (required).
coolify_delete_private_keyC
Delete a private key
Inputs: uuid (required).
coolify_delete_projectC
Delete a project
Inputs: uuid (required).
coolify_delete_serverC
Delete a server
Inputs: uuid (required).
coolify_delete_serviceC
Delete a service
Inputs: uuid (required), delete_volumes, delete_configurations.
coolify_delete_service_envB
Delete a service environment variable
Inputs: uuid (required), env_uuid (required).
coolify_deployC
Deploy resources by UUID or tag
Inputs: pr, tag, uuid, force.
coolify_enable_apiA
Enable the Coolify API (requires root access)
Inputs: no named parameters.
coolify_get_applicationB
Get a specific application by UUID
Inputs: uuid (required).
coolify_get_application_logsC
Get application logs
Inputs: uuid (required), tail, since.
coolify_get_current_teamA
Get the current team for the API token
Inputs: no named parameters.
coolify_get_databaseB
Get a specific database by UUID
Inputs: uuid (required).
coolify_get_deploymentA
Get a specific deployment by UUID
Inputs: uuid (required).
coolify_get_private_keyA
Get a specific private key by UUID
Inputs: uuid (required).
coolify_get_projectB
Get a specific project by UUID
Inputs: uuid (required).
coolify_get_project_environmentB
Get a specific environment within a project
Inputs: project_uuid (required), environment_name (required).
coolify_get_serverC
Get a specific server by UUID
Inputs: uuid (required), include_resources.
coolify_get_server_domainsB
Get all domain-to-IP mappings for a server
Inputs: uuid (required).
coolify_get_server_resourcesA
Get all resources (apps, databases, services) on a server
Inputs: uuid (required).
coolify_get_serviceA
Get a specific service by UUID
Inputs: uuid (required).
coolify_get_team_membersA
Get members of the current team
Inputs: no named parameters.
coolify_healthA
Check the health status of the Coolify instance
Inputs: no named parameters.
coolify_list_application_envsB
List environment variables for an application
Inputs: uuid (required).
coolify_list_applicationsC
List all applications
Inputs: no named parameters.
coolify_list_databasesB
List all databases
Inputs: no named parameters.
coolify_list_deploymentsC
List deployments for an application
Inputs: uuid (required), skip, take.
coolify_list_github_app_repositoriesA
List all repositories accessible by a GitHub App. Use the numeric 'id' from coolify_list_github_apps, not the uuid.
Inputs: id (required).
coolify_list_github_appsA
List all GitHub Apps configured in Coolify (needed to get github_app_uuid for private repo deployments)
Inputs: no named parameters.
coolify_list_private_keysA
List all private SSH keys
Inputs: no named parameters.
coolify_list_projectsB
List all projects
Inputs: no named parameters.
coolify_list_resourcesA
List all resources (applications, databases, services)
Inputs: no named parameters.
coolify_list_serversB
List all servers
Inputs: no named parameters.
coolify_list_service_envsB
List environment variables for a service
Inputs: uuid (required).
coolify_list_servicesC
List all services
Inputs: no named parameters.
coolify_list_teamsA
List all teams accessible to the authenticated user
Inputs: no named parameters.
coolify_restart_applicationC
Restart an application
Inputs: uuid (required).
coolify_restart_databaseC
Restart a database
Inputs: uuid (required).
coolify_restart_serviceC
Restart a service
Inputs: uuid (required).
coolify_start_applicationC
Start/deploy an application
Inputs: uuid (required), force, commit.
coolify_start_databaseC
Start a database
Inputs: uuid (required).
coolify_start_serviceC
Start a service
Inputs: uuid (required).
coolify_stop_applicationB
Stop an application
Inputs: uuid (required).
coolify_stop_databaseB
Stop a database
Inputs: uuid (required).
coolify_stop_serviceB
Stop a service
Inputs: uuid (required).
coolify_update_applicationC
Update an existing application
Inputs: uuid (required), name, domains, build_pack, +16 more.
coolify_update_application_envC
Update an environment variable
Inputs: uuid (required), env_uuid (required), key, value, +3 more.
coolify_update_databaseC
Update a database configuration
Inputs: uuid (required), name, image, description, +3 more.
coolify_update_private_keyC
Update a private key
Inputs: uuid (required), name, description, private_key.
coolify_update_projectB
Update an existing project
Inputs: uuid (required), name, description.
coolify_update_serverB
Update an existing server
Inputs: uuid (required), ip, name, port, +3 more.
coolify_update_serviceC
Update a service
Inputs: uuid (required), name, description, docker_compose_raw.
coolify_update_service_envC
Update a service environment variable
Inputs: uuid (required), env_uuid (required), key, value.
coolify_validate_serverC
Validate server connectivity and Docker prerequisites
Inputs: uuid (required).
coolify_versionA
Get the current Coolify version
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 79 tools
Each tool targets a distinct resource and action, with clear descriptions. For instance, the multiple application creation tools are differentiated by source type (public repo, private GitHub, etc.). No significant overlap.
All tools follow a consistent 'coolify_verb_noun' pattern (e.g., coolify_list_projects, coolify_create_database_postgresql). Even exceptions like coolify_health and coolify_version fit the verb or verb_noun structure.
With 79 tools, the count is high but reflects the comprehensive scope of Coolify (projects, servers, applications with multiple source types, databases various types, services, etc.). It may be overwhelming but is reasonable for the platform's capabilities.
The tool set covers CRUD and lifecycle operations for all major resources (projects, servers, applications, databases, services) and environment variables. Minor gaps exist, such as missing update for environments and delete for deployments.
Maintenance
Related MCP Connectors
Manage your own cloud with AI: deploy apps, push and ship custom Docker images, manage resources via your AI agent.
Deploy and manage your apps, databases, storage, and scheduled jobs from your AI agent
Deploy and run your apps by asking your AI: services, Postgres, logs, traces, rollbacks, costs.
Deploy, monitor, and manage your OpenClaw AI assistants via natural language.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA powerful Model Context Protocol server that enables AI assistants to manage Coolify infrastructure through natural language, supporting application deployment, database management, resource monitoring, and DevOps automation.19MIT
- AlicenseBqualityDmaintenanceEnables 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.188 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
- AlicenseBqualityCmaintenanceEnables control and management of Coolify self-hosted PaaS instances, allowing you to deploy applications, manage databases, monitor servers, and execute operations directly from AI assistants.8916 npm28MIT