bulk_update_application_envs
Bulk update environment variables for an application.
Run a Coolify instance from the conversation: create servers and projects, deploy applications, provision databases, read logs.
LABSCO SUMMARY
The coverage runs the whole way down — a conversation can create the Hetzner server, put a project and environment on it, deploy an application from a private repository, and add the Postgres it needs. That reach is also the caution: the same token that reads logs can delete an application, so scope it the way you would any deploy credential.
Full coverage of the Coolify v4 REST API as tools — servers, projects, environments, applications, databases, services, deployments and the keys behind them.
A running Coolify v4 instance and an API token from Security → API Tokens, with COOLIFY_BASE_URL and COOLIFY_TOKEN in the environment. Node.js 18 or higher; published on npm as coolify-mcp-server and run over stdio. Three tools — enable_api, disable_api and validate_server — need Coolify v4.2.0 or newer, and the API-toggle tools need a root token.
One command plus a key — npm install -g coolify-mcp-server, then supply credentials
USE CASES
Create the project and environment, add the application from its repository, then deploy it.
List the deployments for that application, read the one that failed, then read the application's logs.
Update the environment variables in bulk, then restart the application.
Create it for the engine you want, start it, and set up a backup.
Check the Hetzner locations, types and images, create the server, and validate it before using it.
List the resources on a server and the applications and services in each project.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
bulk_update_application_envsBulk update environment variables for an application.
cancel_deploymentCancel a running deployment by UUID.
create_application_envCreate an environment variable for an application.
create_application_scheduled_taskCreate a scheduled task for an application.
create_application_storageCreate a storage for an application.
create_clickhouse_databaseCreate a Clickhouse database.
create_cloud_tokenCreate and validate a new cloud provider token.
create_database_backupCreate a scheduled backup configuration for a database.
create_database_envCreate an environment variable for a database.
create_dockercompose_applicationCreate an application from a Docker Compose file (no Git).
create_dockerfile_applicationCreate an application from a Dockerfile (no Git).
create_dockerimage_applicationCreate an application from a prebuilt Docker image.
create_dragonfly_databaseCreate a DragonFly database.
create_environmentCreate a new environment within a project.
create_github_appCreate a new GitHub App integration.
create_hetzner_serverCreate a Hetzner Cloud server and register it in Coolify.
create_keydb_databaseCreate a KeyDB database.
create_mariadb_databaseCreate a MariaDB database.
create_mongodb_databaseCreate a MongoDB database.
create_mysql_databaseCreate a MySQL database.
create_postgresql_databaseCreate a PostgreSQL database.
create_private_deploy_key_applicationCreate an application from a private repository using a Deploy Key.
create_private_github_app_applicationCreate an application from a private GitHub repository using a GitHub App.
create_private_keyCreate a new SSH private key.
create_projectCreate a new project.
create_public_applicationCreate an application from a public Git repository.
create_redis_databaseCreate a Redis database.
create_serverRegister a new server in Coolify.
create_serviceCreate a one-click or custom service. Provide either "type" for a predefined service or "docker_compose_raw" for a custom one.
create_service_envCreate an environment variable for a service.
create_service_scheduled_taskCreate a scheduled task for a service.
delete_applicationDelete an application by UUID.
delete_application_envDelete an environment variable from an application.
delete_application_scheduled_taskDelete a scheduled task from an application.
delete_application_storageDelete a storage from an application.
delete_cloud_tokenDelete a cloud provider token. Fails if used by any servers.
delete_databaseDelete a database by UUID.
delete_database_envDelete an environment variable from a database.
delete_environmentDelete an environment (must be empty) from a project.
delete_github_appDelete a GitHub App (only if not used by any applications).
delete_private_keyDelete a private key by UUID.
delete_projectDelete a project by UUID.
delete_serverDelete a server by UUID.
delete_serviceDelete a service by UUID.
delete_service_envDelete an environment variable from a service.
delete_service_scheduled_taskDelete a scheduled task from a service.
deploy_by_tag_or_uuidTrigger a deployment by tag or UUID. Supports force deploy and pull-request deployments.
disable_apiDisable the Coolify API. Requires root-level token.
disable_mcpDisable the built-in Coolify MCP server endpoint at /mcp. Requires root-level token.
enable_apiEnable the Coolify API. Requires root-level token.
enable_mcpEnable the built-in Coolify MCP server endpoint at /mcp. Requires root-level token.
get_applicationGet an application by UUID.
get_application_logsGet application logs.
get_current_teamGet the team associated with the current API token.
get_current_team_membersGet members of the current authenticated team.
get_databaseGet a database by UUID.
get_database_backupsGet backup configurations for a database.
get_deploymentGet a deployment by UUID.
get_environmentGet an environment by name or UUID within a project.
get_hetzner_imagesGet all available Hetzner OS images.
get_hetzner_locationsGet all available Hetzner datacenter locations.
get_hetzner_server_typesGet all available Hetzner server types and pricing.
get_hetzner_ssh_keysGet all SSH keys stored in a Hetzner account.
get_private_keyGet a private key by UUID.
get_projectGet a project by UUID.
get_serverGet details of a server by UUID.
get_server_domainsGet all domains configured on a server.
get_server_resourcesGet all resources (applications, databases, services) running on a server.
get_serviceGet a service by UUID.
get_teamGet details of a specific team by its numeric ID.
get_team_membersGet members of a specific team by its numeric ID.
get_versionGet the Coolify version string (e.g. "v4.1.1").
health_checkHealthcheck endpoint. Does not require authentication. Returns "OK" when the API is up.
list_application_envsList all environment variables for an application.
list_application_scheduled_tasksList all scheduled tasks for an application.
list_application_storagesList all persistent and file storages for an application.
list_applicationsList all applications. Optionally filter by tag.
list_cloud_tokensList all cloud provider tokens (Hetzner, DigitalOcean, etc.).
list_database_backup_executionsList all executions for a backup configuration.
list_database_envsList environment variables for a database.
list_databasesList all databases.
list_deploymentsList currently running deployments.
list_deployments_by_applicationList deployments for a specific application.
list_environmentsList all environments in a project.
list_github_app_repositoriesList repositories accessible to a GitHub App.
list_github_appsList all configured GitHub Apps.
list_private_keysList all SSH private keys.
list_projectsList all projects.
list_resourcesGet all resources (applications, databases, services) across the Coolify instance.
list_serversList all servers registered in Coolify.
list_service_envsList environment variables for a service.
list_service_scheduled_tasksList all scheduled tasks for a service.
list_servicesList all services.
list_teamsList all teams the authenticated token has access to.
restart_applicationRestart an application.
restart_databaseRestart a database.
restart_serviceRestart a service.
start_applicationStart an application.
start_databaseStart a database.
start_serviceStart a service.
stop_applicationStop a running application.
stop_databaseStop a database.
stop_serviceStop a service.
update_applicationUpdate an application by UUID.
update_application_envUpdate an environment variable for an application.
update_databaseUpdate a database by UUID.
update_private_keyUpdate an existing private key.
update_projectUpdate a project by UUID.
update_serverUpdate an existing server by UUID.
update_serviceUpdate a service by UUID.
validate_serverValidate server connectivity and configuration.
BEFORE YOU INSTALL
111 tools when we connected. create_dockercompose_application is undocumented; the docs point to create_service instead. enable_api, disable_api and validate_server need Coolify v4.2.0 or newer, and enable_api, disable_api, enable_mcp and disable_mcp need a root token.
CONTEXT COST
Rated by the size of the 111 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
npm install -g coolify-mcp-server{
"mcpServers": {
"coolify": {
"command": "npx",
"args": [
"-y",
"coolify-mcp-server"
],
"env": {
"COOLIFY_BASE_URL": "https://<YOUR_COOLIFY_INSTANCE>",
"COOLIFY_TOKEN": "<YOUR_COOLIFY_TOKEN>"
}
}
}
}{
"mcpServers": {
"coolify": {
"command": "cmd",
"args": [
"/c",
"npx",
"-y",
"coolify-mcp-server"
],
"env": {
"COOLIFY_BASE_URL": "https://<YOUR_COOLIFY_INSTANCE>",
"COOLIFY_TOKEN": "<YOUR_COOLIFY_TOKEN>"
}
}
}
}