Skip to main content
Glama

coolify-mcp

npm version License: MIT

MCP (Model Context Protocol) server for the Coolify API. Manage your self-hosted infrastructure — servers, applications, databases, services, and deployments — through AI assistants like Claude.

Quick Start

No installation needed. Configure your MCP client:

{
  "mcpServers": {
    "coolify": {
      "command": "npx",
      "args": ["-y", "@ofeser/coolify-mcp"],
      "env": {
        "COOLIFY_API_URL": "https://your-coolify-instance.com",
        "COOLIFY_API_TOKEN": "your-api-token"
      }
    }
  }
}

Global install

npm install -g @ofeser/coolify-mcp

Then use coolify-mcp as the command in your MCP client configuration.

Related MCP server: Coolify MCP Tools

Configuration

Variable

Required

Description

COOLIFY_API_URL

Yes

Your Coolify instance URL (e.g. https://coolify.example.com)

COOLIFY_API_TOKEN

Yes

API token from Coolify Settings > API

Getting Your API Token

  1. Go to your Coolify dashboard

  2. Navigate to Settings > API

  3. Generate a new token

  4. Copy the token and set it as COOLIFY_API_TOKEN

Client Setup

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "coolify": {
      "command": "npx",
      "args": ["-y", "@ofeser/coolify-mcp"],
      "env": {
        "COOLIFY_API_URL": "https://your-coolify-instance.com",
        "COOLIFY_API_TOKEN": "your-api-token"
      }
    }
  }
}

Claude Code

claude mcp add coolify -- npx -y @ofeser/coolify-mcp

Then set the environment variables in your shell or .env file.

Cursor

Add to .cursor/mcp.json in your project:

{
  "mcpServers": {
    "coolify": {
      "command": "npx",
      "args": ["-y", "@ofeser/coolify-mcp"],
      "env": {
        "COOLIFY_API_URL": "https://your-coolify-instance.com",
        "COOLIFY_API_TOKEN": "your-api-token"
      }
    }
  }
}

Available Tools

servers

Manage servers: list, get, create, update, delete, validate, resources, domains.

Action

Description

list

List all servers

get

Get server details by UUID

create

Create a new server

update

Update server configuration

delete

Delete a server

validate

Validate server connectivity

resources

List resources deployed on a server

domains

Get domain-to-IP mappings

applications

Manage applications: list, get, create (6 source types), update, delete, logs, start, stop, restart.

Action

Description

list

List all applications

get

Get application details by UUID

create

Create application (requires source_type)

update

Update application configuration

delete

Delete an application

logs

Get application logs

start

Start an application

stop

Stop an application

restart

Restart an application

Source types for create: public, private-github-app, private-deploy-key, dockerfile, dockerimage, dockercompose

databases

Manage databases: list, get, create (8 DB types), update, delete, start, stop, restart, backup management.

Action

Description

list

List all databases

get

Get database details by UUID

create

Create database (requires db_type)

update

Update database configuration

delete

Delete a database

start

Start a database

stop

Stop a database

restart

Restart a database

list_backups

List scheduled backups

create_backup

Create a backup schedule

update_backup

Update a backup schedule

delete_backup

Delete a backup schedule

list_backup_executions

List backup executions

delete_backup_execution

Delete a backup execution

Database types: postgresql, mysql, mariadb, mongodb, redis, clickhouse, dragonfly, keydb

services

Manage services: list, get, create, update, delete, start, stop, restart.

projects

Manage projects: list, get, create, update, delete.

environments

Manage project environments: list, get, create, delete.

deployments

Manage deployments: list, get, deploy, cancel, list_by_app.

env_vars

Manage environment variables for applications or services: list, create, update, update_bulk, delete.

private_keys

Manage SSH keys: list, get, create, update, delete.

teams

Manage teams: list, get, current, current_members, members.

system

System operations: version, healthcheck.

github_apps

Manage GitHub Apps: list, get, create, update, delete.

cloud_tokens

Manage cloud provider tokens: list, get, create, update, delete, validate.

resources

List all resources across all projects and environments.

API Coverage

Category

Actions

Status

Servers

list, get, create, update, delete, validate, resources, domains

Full

Applications

list, get, create (6 types), update, delete, logs, start, stop, restart

Full

Databases

list, get, create (8 types), update, delete, start, stop, restart, backups

Full

Services

list, get, create, update, delete, start, stop, restart

Full

Projects

list, get, create, update, delete

Full

Environments

list, get, create, delete

Full

Deployments

list, get, deploy, cancel, list by app

Full

Environment Variables

list, create, update, bulk update, delete

Full

SSH Keys

list, get, create, update, delete

Full

Teams

list, get, current, members

Full

System

version, healthcheck

Full

GitHub Apps

list, get, create, update, delete

Full

Cloud Tokens

list, get, create, update, delete, validate

Full

Resources

list

Full

14 tools, 85+ actions, ~100% Coolify API coverage

Roadmap

  • Hetzner cloud server provisioning

  • Detailed Zod schemas per resource type for better AI guidance

  • MCP Resources (expose server/app status as readable resources)

  • MCP Prompts (pre-built prompts for common workflows)

  • Response optimization for large payloads

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository

  2. Create your feature branch (git checkout -b feature/new-tool)

  3. Commit your changes (git commit -m 'Add new tool')

  4. Push to the branch (git push origin feature/new-tool)

  5. Open a Pull Request

License

MIT

Available Tools

14 tools
applicationsB

Manage applications: list, get, create (6 source types), update, delete, logs, start, stop, restart. NOTE: For update, use 'domains' field not 'fqdn'. Tool auto-converts fqdn to domains for compatibility.

Inputs: action (required), data, uuid, lines, +1 more.

cloud_tokensC

Manage cloud provider tokens: list, get, create, update, delete, validate

Inputs: action (required), data, uuid.

databasesC

Manage databases: list, get, create (8 DB types), update, delete, start, stop, restart, backup management

Inputs: action (required), data, uuid, db_type, +2 more.

deploymentsC

Manage deployments: list, get, deploy, cancel, list_by_app

Inputs: action (required), uuid, force.

environmentsC

Manage project environments: list, get, create, delete

Inputs: action (required), project_uuid (required), name.

env_varsB

Manage environment variables for applications or services: list, create, update, update_bulk, delete. KNOWN ISSUE: Service env var create may return 500 due to Coolify API bug. Workaround: update docker_compose_raw via services update instead. NOTE: is_build_time is only supported for applications, not services.

Inputs: uuid (required), action (required), resource (required), key, +8 more.

github_appsC

Manage GitHub Apps: list, get, create, update, delete

Inputs: action (required), id, data.

private_keysC

Manage SSH keys: list, get, create, update, delete

Inputs: action (required), name, uuid, description, +1 more.

projectsC

Manage projects: list, get, create, update, delete

Inputs: action (required), name, uuid, description.

resourcesB

List all resources across all projects and environments

Inputs: action (required).

serversC

Manage servers: list, get, create, update, delete, validate, resources, domains

Inputs: action (required), data, uuid.

servicesC

Manage services: list, get, create, update, delete, start, stop, restart. NOTE: docker_compose_raw must be base64 encoded. This tool auto-encodes it if plain text is detected.

Inputs: action (required), data, uuid.

systemC

System operations: version, healthcheck

Inputs: action (required).

teamsC

Manage teams: list, get, current, current_members, members

Inputs: action (required), id.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 14 tools

    Disambiguation4/5

    The tool set is largely organized by distinct Coolify resources, so most tools are easy to tell apart. Minor overlap exists between the global `resources` tool and resource-specific list actions, and some tools bundle many sub-actions, but the descriptions usually clarify intent.

    Naming Consistency4/5

    Names consistently use lowercase snake_case resource nouns, which is predictable even though it is noun-based rather than verb_noun. The only notable deviation is the singular `system` amid otherwise plural resource names.

    Tool Count5/5

    Fourteen tools is well-scoped for a Coolify management server covering the platform's major resource categories. Each tool corresponds to a meaningful domain area, and the set avoids excessive fragmentation into one tool per action.

    Completeness4/5

    Coverage is broad across servers, applications, databases, services, projects, deployments, environment variables, keys, and system operations. Minor gaps remain, such as no team create/update/delete lifecycle, no environment update, and somewhat vague backup management coverage.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • 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
    • A
      license
      B
      quality
      D
      maintenance
      Enables management of Coolify instances to control applications, databases, and servers through the Model Context Protocol. It provides a comprehensive set of tools for deploying services and monitoring self-hosted infrastructure using natural language.
      18
      12 npm
      3
      MIT