Coolify MCP Server
The Coolify MCP Server enables comprehensive programmatic management and automation of Coolify instances through the Coolify API, providing control over infrastructure and application lifecycle operations.
System Health & Monitoring: Check Coolify version information, API health status, retrieve application logs, and monitor deployment status and history
Team Management: List teams, get team details, view members, and access current authenticated team context
Project & Environment Organization: Create and list projects to organize resources; create and list environments within projects for different deployment stages (production, staging, development)
Server Infrastructure: Create servers with SSH configuration, list and validate servers, monitor server resources and connectivity, view deployed applications, and manage server domains and proxy settings (Nginx/Caddy)
Application Lifecycle Management: Create applications from Git repositories, start/stop/restart applications, execute commands in running containers, configure exposed ports for external access, and retrieve logs for troubleshooting
Service Management: Create services (MySQL, Redis, PostgreSQL, MongoDB, or custom Docker Compose), start/stop/restart services, list all services, and deploy with custom Docker Compose configurations
Deployment Operations: List all deployments, get detailed deployment information, and track deployment history
Security & Access: Create and manage SSH private keys for server authentication and Git repository access
Enhanced Features: Improved error reporting, UUID format compatibility, and automatic version detection for Coolify 4.0.0-beta.380+
Allows creating and managing ClickHouse databases in Coolify.
Allows deploying applications using Dockerfiles, Docker images, or Docker Compose configurations.
Allows integrating GitHub repositories and managing GitHub Apps for automatic deployments.
Allows provisioning and managing Hetzner cloud servers, including creating servers with various configurations.
Allows creating and managing MariaDB databases in Coolify.
Allows creating and managing MongoDB databases in Coolify.
Allows creating and managing MySQL databases in Coolify.
Allows creating and managing PostgreSQL databases in Coolify.
Allows creating and managing Redis databases in Coolify.
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 my projects and show their current environments"
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 providing full coverage of the Coolify v4.1.1 REST API. Manage applications, databases, services, servers, deployments, and more — all from any MCP-compatible AI client.
Compatibility: Coolify v4.1.1+ (stable, non-beta). API base:
https://<your-coolify-instance>/api/v1
Prerequisites
Node.js 18 or higher
A running Coolify v4.1.1+ instance
A Coolify API token (from Security → API Tokens in the dashboard)
Related MCP server: MCP Server
Installation
# Install globally
npm install -g coolify-mcp-server
# Or use with npx (no install needed)
npx coolify-mcp-serverConfiguration
Set two environment variables:
Variable | Description |
| Base URL of your Coolify instance (e.g. |
| Your Coolify API Bearer token |
MCP Settings (Claude Desktop / Windsurf / Cline)
{
"mcpServers": {
"coolify": {
"command": "npx",
"args": ["-y", "coolify-mcp-server"],
"env": {
"COOLIFY_BASE_URL": "https://your-coolify-instance",
"COOLIFY_TOKEN": "your-api-token"
}
}
}
}Windows users (Cline/cmd):
{
"mcpServers": {
"coolify": {
"command": "cmd",
"args": ["/c", "npx", "-y", "coolify-mcp-server"],
"env": {
"COOLIFY_BASE_URL": "https://your-coolify-instance",
"COOLIFY_TOKEN": "your-api-token"
}
}
}
}Available Tools
General
get_version— Get Coolify versionhealth_check— API health check (no auth)enable_api/disable_api— Enable/disable the API (root token)enable_mcp/disable_mcp— Enable/disable built-in MCP endpoint (root token)
Teams
list_teams,get_team,get_team_membersget_current_team,get_current_team_members
Servers
list_servers,get_server,create_server,update_server,delete_servervalidate_server,get_server_resources,get_server_domainscreate_hetzner_server
Projects
list_projects,get_project,create_project,update_project,delete_project
Environments
list_environments,get_environment,create_environment,delete_environment
Applications
list_applications,get_applicationcreate_public_application,create_private_github_app_application,create_private_deploy_key_applicationcreate_dockerfile_application,create_dockerimage_application,create_dockercompose_applicationupdate_application,delete_applicationstart_application,stop_application,restart_applicationget_application_logslist_application_envs,create_application_env,update_application_env,bulk_update_application_envs,delete_application_envlist_application_storages,create_application_storage,delete_application_storagelist_application_scheduled_tasks,create_application_scheduled_task,delete_application_scheduled_task
Databases
list_databases,get_database,update_database,delete_databasecreate_postgresql_database,create_mysql_database,create_mariadb_database,create_mongodb_databasecreate_redis_database,create_keydb_database,create_dragonfly_database,create_clickhouse_databasestart_database,stop_database,restart_databaseget_database_backups,create_database_backup,list_database_backup_executionslist_database_envs,create_database_env,delete_database_env
Services
list_services,get_service,create_service,update_service,delete_servicestart_service,stop_service,restart_servicelist_service_envs,create_service_env,delete_service_envlist_service_scheduled_tasks,create_service_scheduled_task,delete_service_scheduled_task
Deployments
list_deployments,get_deployment,cancel_deploymentlist_deployments_by_application,deploy_by_tag_or_uuid
Private Keys
list_private_keys,get_private_key,create_private_key,update_private_key,delete_private_key
GitHub Apps
list_github_apps,create_github_app,delete_github_app,list_github_app_repositories
Cloud Tokens
list_cloud_tokens,create_cloud_token,delete_cloud_token
Hetzner
get_hetzner_locations,get_hetzner_server_types,get_hetzner_images,get_hetzner_ssh_keyscreate_hetzner_server
Resources
list_resources— All resources across the instance
License
MIT
Maintenance
Appeared in Searches
Latest Blog Posts
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/wrediam/coolify-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server