Skip to main content
Glama
Coolify MCP Server
by Ruashots

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 | bash

This will:

  • Clone the repository to ~/.local/share/coolify-mcp

  • Install 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 --uninstall

Related 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 build

Getting a Coolify API Token

  1. Log into your Coolify dashboard

  2. Go to Keys & Tokens > API tokens

  3. Click Create New Token

  4. 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.js

Scope options:

Flag

Description

(default)

Local to current directory

--scope user

Available across all your projects

--scope project

Shared with team via .mcp.json

Manage the server:

# List configured servers
claude mcp list

# Check server details
claude mcp get coolify

# Remove server
claude mcp remove coolify

Claude 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.js

Available Tools

System

Tool

Description

coolify_health

Check instance health

coolify_version

Get Coolify version

coolify_enable_api

Enable the API

Teams

Tool

Description

coolify_list_teams

List all teams

coolify_get_current_team

Get current team

coolify_get_team_members

Get team members

Projects

Tool

Description

coolify_list_projects

List all projects

coolify_get_project

Get project by UUID

coolify_create_project

Create new project

coolify_update_project

Update project

coolify_delete_project

Delete project

Environments

Tool

Description

coolify_get_project_environment

Get environment

coolify_create_environment

Create environment

coolify_delete_environment

Delete environment

Servers

Tool

Description

coolify_list_servers

List all servers

coolify_get_server

Get server by UUID

coolify_create_server

Add new server

coolify_update_server

Update server

coolify_delete_server

Delete server

coolify_validate_server

Validate connectivity

coolify_get_server_resources

Get deployed resources

coolify_get_server_domains

Get domain mappings

GitHub Apps

Tool

Description

coolify_list_github_apps

List all GitHub Apps (get UUID and ID for private repos)

coolify_list_github_app_repositories

List repositories accessible by a GitHub App (use numeric id)

Private Keys

Tool

Description

coolify_list_private_keys

List SSH keys

coolify_get_private_key

Get key by UUID

coolify_create_private_key

Create SSH key

coolify_update_private_key

Update key

coolify_delete_private_key

Delete key

Applications

Tool

Description

coolify_list_applications

List all applications

coolify_get_application

Get application by UUID

coolify_create_application_public

Create from public Git repo

coolify_create_application_private_github

Create from GitHub (App auth)

coolify_create_application_private_deploy_key

Create from private repo (SSH)

coolify_create_application_dockerfile

Create from Dockerfile

coolify_create_application_docker_image

Create from Docker image

coolify_create_application_docker_compose

Create from Docker Compose

coolify_update_application

Update application

coolify_delete_application

Delete application

coolify_start_application

Start/deploy application

coolify_stop_application

Stop application

coolify_restart_application

Restart application

coolify_get_application_logs

Get logs

Application Environment Variables

Tool

Description

coolify_list_application_envs

List env vars

coolify_create_application_env

Create env var

coolify_update_application_env

Update env var

coolify_delete_application_env

Delete env var

coolify_bulk_update_application_envs

Bulk update

Databases

Tool

Description

coolify_list_databases

List all databases

coolify_get_database

Get database by UUID

coolify_create_database_postgresql

Create PostgreSQL

coolify_create_database_mysql

Create MySQL

coolify_create_database_mariadb

Create MariaDB

coolify_create_database_mongodb

Create MongoDB

coolify_create_database_redis

Create Redis

coolify_create_database_clickhouse

Create ClickHouse

coolify_create_database_dragonfly

Create DragonFly

coolify_create_database_keydb

Create KeyDB

coolify_update_database

Update database

coolify_delete_database

Delete database

coolify_start_database

Start database

coolify_stop_database

Stop database

coolify_restart_database

Restart database

Services

Tool

Description

coolify_list_services

List all services

coolify_get_service

Get service by UUID

coolify_create_service

Create service

coolify_update_service

Update service

coolify_delete_service

Delete service

coolify_start_service

Start service

coolify_stop_service

Stop service

coolify_restart_service

Restart service

Service Environment Variables

Tool

Description

coolify_list_service_envs

List env vars

coolify_create_service_env

Create env var

coolify_update_service_env

Update env var

coolify_delete_service_env

Delete env var

Deployments

Tool

Description

coolify_deploy

Deploy by UUID or tag

coolify_list_deployments

List deployments

coolify_get_deployment

Get deployment details

Resources

Tool

Description

coolify_list_resources

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 mode

Security

  • 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_sensitive permission controls access to passwords and API keys

License

MIT

Available Tools

79 tools
coolify_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

    B3.2/5.0

    Scored across 79 tools

    Disambiguation5/5

    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.

    Naming Consistency5/5

    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.

    Tool Count3/5

    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.

    Completeness4/5

    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

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      A 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.
      19
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      Enables 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.
      18
      8 npm
      6
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables 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
    • A
      license
      B
      quality
      C
      maintenance
      Enables 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.
      89
      16 npm
      28
      MIT