Logotipo de Coolify MCP Server

Coolify MCP Server

Comunidad
kof70

A Model Context Protocol (MCP) server for Coolify API integration. Control your self-hosted PaaS directly from Claude, Kiro, or any MCP-compatible AI assistant.

Editorkof70
Repositoriocoolify-mcp-server
IdiomaTypeScript
Forks
4
Estrellas
29
Herramientas disponibles
0
Tipo de transportestdio
Categorías
LicenciaMIT
Enlaces
  • Conecta herramientas a flujos de trabajo con IA

    Coolify MCP Server ofrece funciones MCP que pueden usar los clientes y agentes de IA compatibles.

  • 0 herramientas disponibles

    Explora a continuación las acciones que se pueden invocar, con sus nombres y descripciones cuando el servidor los proporcione.

  • Configuración lista para copiar

    Usa los ejemplos de instalación para configurar este servidor en tu cliente MCP preferido.

  • Indicadores de interés en el código abierto

    29 estrellas y 4 forks en el repositorio enlazado.

Coolify MCP Server

npm version CI License: MIT Node.js Version Visits

A Model Context Protocol (MCP) server for Coolify API integration. Control your self-hosted PaaS directly from Claude, Kiro, or any MCP-compatible AI assistant.

Compatible with Coolify v4.0.0-beta.454+ Official npm package for this repository: coolify-mcp-server-kof70

🚀 Features

  • Complete API Coverage: Applications, Databases, Servers, Projects, Services, Teams, Deployments, Private Keys
  • MCP Resources: Direct resource access via coolify:// URIs
  • Version Detection: Automatic feature compatibility based on Coolify version
  • Rate Limiting: Built-in rate limit handling with retry logic
  • Minimal Dependencies: Only axios and MCP SDK
  • TypeScript: Full type safety

📦 Installation

Quick Setup (Recommended)

Run the interactive setup wizard:

bash
npx coolify-mcp-server-kof70 --setup

This will:

  1. Ask for your Coolify URL and API token
  2. Validate the connection
  3. Configure your IDE automatically (Kiro, Cursor, VS Code, Claude Desktop)

Quick Setup with Arguments

bash
npx coolify-mcp-server-kof70 --setup --url https://coolify.example.com --token your-token --ide kiro

Global Installation

bash
npm install -g coolify-mcp-server-kof70
coolify-mcp --setup

From Source

bash
git clone https://github.com/kof70/coolify-mcp-server.git
cd coolify-mcp-server
npm install
npm run build

⚙️ Configuration

Environment Variables

VariableRequiredDescription
COOLIFY_BASE_URLYesYour Coolify instance URL (e.g., https://coolify.example.com)
COOLIFY_TOKENYesAPI token from Coolify
COOLIFY_TEAM_IDNoTeam ID for multi-team setups
COOLIFY_READONLYNoSet to true for read-only mode (safe monitoring)
COOLIFY_REQUIRE_CONFIRMNoSet to true to require confirmation for dangerous operations
COOLIFY_ACCOUNTS_FILENoPath to a multi-account config file (default: ~/.config/coolify-mcp/accounts.json)
COOLIFY_ACTIVE_ACCOUNTNoWhich account to activate on startup, if the accounts file doesn't set a default

🔀 Multiple accounts / teams / instances

If you manage several Coolify accounts (different teams, or even different self-hosted instances), you don't need one MCP server config per account. Create ~/.config/coolify-mcp/accounts.json:

json
{
  "default": "work",
  "accounts": [
    { "name": "work", "baseUrl": "https://coolify.example.com", "token": "1|xxxx" },
    { "name": "client-x", "baseUrl": "https://coolify.client-x.com", "token": "2|yyyy", "teamId": "3" }
  ]
}

Then use these tools from your assistant, no server restart required:

  • list_accounts — shows configured accounts (name, base URL, masked token) and which one is active.
  • switch_account { name } — switches every subsequent tool call to that account for the rest of the session.
  • add_account { name, base_url, token, team_id?, set_default? } — saves a new account to the file (does not switch to it automatically).

If no accounts file exists, the server falls back to the legacy single-account COOLIFY_BASE_URL/COOLIFY_TOKEN environment variables, exposed as an account named env — existing single-account setups keep working unchanged.

🔒 Read-Only Mode

For safe monitoring without risk of accidental changes, enable read-only mode:

json
{
  "mcpServers": {
    "coolify": {
      "command": "coolify-mcp",
      "env": {
        "COOLIFY_BASE_URL": "https://your-coolify.com",
        "COOLIFY_TOKEN": "your-api-token",
        "COOLIFY_READONLY": "true"
      }
    }
  }
}

In read-only mode, only these operations are available:

  • get_* - Get details of resources
  • list_* - List resources
  • health_check - Check API health

All write operations (create_*, start_*, stop_*, restart_*, deploy_*, execute_command) are disabled.

⚠️ Confirmation for Dangerous Operations

For extra safety, you can require confirmation before executing dangerous operations:

json
{
  "mcpServers": {
    "coolify": {
      "command": "coolify-mcp",
      "env": {
        "COOLIFY_BASE_URL": "https://your-coolify.com",
        "COOLIFY_TOKEN": "your-api-token",
        "COOLIFY_REQUIRE_CONFIRM": "true"
      }
    }
  }
}

When enabled, these operations require explicit confirmation:

  • stop_application, restart_application
  • stop_service, restart_service
  • deploy_application
  • execute_command

Without confirm: true, these operations return a warning:

json
{
  "confirmation_required": true,
  "action": "stop_application",
  "warning": "This will stop the application and make it unavailable until restarted.",
  "message": "This is a dangerous operation. To proceed, call again with confirm: true",
  "example": { "uuid": "abc123", "confirm": true }
}

To execute, call again with confirm: true:

stop_application({ uuid: "abc123", confirm: true })

Getting an API Token

  1. Go to your Coolify instance
  2. Navigate to Keys & Tokens → API tokens
  3. Create a new token with required permissions:
    • read - For listing resources
    • write - For creating/updating resources
    • deploy - For deployment operations

🔧 Usage

With Claude Desktop

Add to your claude_desktop_config.json:

json
{
  "mcpServers": {
    "coolify": {
      "command": "coolify-mcp",
      "env": {
        "COOLIFY_BASE_URL": "https://your-coolify.com",
        "COOLIFY_TOKEN": "your-api-token"
      }
    }
  }
}

With Kiro

Add to your .kiro/settings/mcp.json:

json
{
  "mcpServers": {
    "coolify": {
      "command": "coolify-mcp",
      "env": {
        "COOLIFY_BASE_URL": "https://your-coolify.com",
        "COOLIFY_TOKEN": "your-api-token"
      }
    }
  }
}

From Source

json
{
  "mcpServers": {
    "coolify": {
      "command": "node",
      "args": ["/path/to/coolify-mcp-server/build/index.js"],
      "env": {
        "COOLIFY_BASE_URL": "https://your-coolify.com",
        "COOLIFY_TOKEN": "your-api-token"
      }
    }
  }
}

🛠️ Available Tools

Accounts

ToolDescription
list_accountsList configured accounts and show the active one
switch_accountSwitch the active account for the rest of the session
add_accountSave a new named account to the accounts file

Version & Health

ToolDescription
get_versionGet Coolify version information
health_checkCheck API health status

Teams

ToolDescription
list_teamsList all accessible teams
get_teamGet team details by ID
get_current_teamGet current team details
get_current_team_membersGet current team members
get_team_membersGet members of a specific team

Servers

ToolDescription
list_serversList all servers
get_serverGet server details by UUID
create_serverCreate a new server
update_serverUpdate a server
delete_serverDelete a server
validate_serverValidate server connection
get_server_resourcesGet server resource usage
get_server_domainsGet domains configured on a server

Projects & Environments

ToolDescription
list_projectsList all projects
get_projectGet project details
create_projectCreate a new project
update_projectUpdate a project
delete_projectDelete a project
list_environmentsList environments in a project
get_environmentGet environment details
create_environmentCreate a new environment
delete_environmentDelete an environment

Applications

ToolDescription
list_applicationsList all applications
get_applicationGet application details
create_public_applicationCreate from a public Git repository
create_private_github_app_applicationCreate from private repo using GitHub App
create_private_deploy_key_applicationCreate from private repo using deploy key
create_dockerfile_applicationCreate from a Dockerfile
create_dockerimage_applicationCreate from a Docker image
create_dockercompose_applicationCreate from Docker Compose
update_applicationUpdate an application
delete_applicationDelete an application
start_applicationStart an application
stop_applicationStop an application
restart_applicationRestart an application
deploy_applicationDeploy an application
deployDeploy resources by UUID or tag
execute_commandExecute command in container
get_application_logsGet application logs
get_application_deploymentsGet all deployments for an application

Application Storages

ToolDescription
get_application_storagesList persistent/file storages mounted on an application
create_application_storageMount a persistent volume or a single file
update_application_storageUpdate an existing mounted storage
delete_application_storageRemove a mounted storage

Application Environment Variables

ToolDescription
get_application_envsGet environment variables for an application
create_application_envCreate an environment variable
update_application_envUpdate an environment variable
delete_application_envDelete an environment variable
update_application_envs_bulkUpdate multiple environment variables in bulk

Services

ToolDescription
list_servicesList all services
get_serviceGet service details by UUID
create_serviceCreate a new service
update_serviceUpdate a service
delete_serviceDelete a service
start_serviceStart a service
stop_serviceStop a service
restart_serviceRestart a service

Service Environment Variables

ToolDescription
get_service_envsGet environment variables for a service
create_service_envCreate an environment variable
update_service_envUpdate an environment variable
delete_service_envDelete an environment variable
update_service_envs_bulkUpdate multiple environment variables in bulk

Databases

ToolDescription
list_databasesList all databases
get_databaseGet database details by UUID
create_databaseCreate a new database (PostgreSQL, MySQL, MariaDB, MongoDB, Redis, ClickHouse, Dragonfly, KeyDB)
update_databaseUpdate a database
delete_databaseDelete a database
start_databaseStart a database
stop_databaseStop a database
restart_databaseRestart a database
get_database_backupsGet backup configurations for a database
create_database_backupCreate a backup configuration

Deployments

ToolDescription
list_deploymentsList all deployments
get_deploymentGet deployment details
cancel_deploymentCancel a deployment in progress

Private Keys

ToolDescription
list_private_keysList all SSH private keys
get_private_keyGet a private key by UUID
create_private_keyCreate a new SSH private key
update_private_keyUpdate a private key
delete_private_keyDelete a private key

GitHub Apps

ToolDescription
list_github_appsList all GitHub Apps configured in Coolify
get_github_appGet GitHub App details by ID
create_github_appCreate a new GitHub App configuration
update_github_appUpdate a GitHub App configuration
delete_github_appDelete a GitHub App configuration
get_github_app_repositoriesGet repositories accessible by a GitHub App
get_github_app_repository_branchesGet branches of a repository

Resources

ToolDescription
list_resourcesList all resources (applications, services, databases)

📚 MCP Resources

Access data directly via MCP resources:

coolify://applications    - List all applications
coolify://databases       - List all databases
coolify://servers         - List all servers
coolify://projects        - List all projects
coolify://services        - List all services
coolify://teams           - List all teams
coolify://deployments     - List all deployments
coolify://private-keys    - List all private keys

💡 Example Prompts

Once configured, you can ask your AI assistant:

  • "List all my Coolify applications"
  • "Deploy the app with UUID abc123"
  • "Show me the logs for my-app"
  • "Create a new PostgreSQL database called mydb"
  • "What servers do I have in Coolify?"
  • "Restart the production application"

🤝 Contributing

Contributions are welcome! Please read our Contributing Guide for details.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'feat: add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

🙏 Acknowledgments

📮 Support

Instalación

TypingMind
{
  "mcpServers": {
    "kof70-coolify-mcp-server": {
      "command": "npx",
      "args": [
        "coolify-mcp-server-kof70",
        "--setup"
      ]
    }
  }
}

Usa el MCP de Coolify MCP Server con varios modelos de IA

TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que, una vez conectado Coolify MCP Server, puedes usarlo con distintos modelos de IA en TypingMind sin tener que configurarlo por separado para cada modelo. Esta integración MCP se ejecuta localmente en tu dispositivo a través del conector MCP de TypingMind.

Guía de configuración para usar el conector local

Usa esta opción si el servidor MCP necesita acceder a archivos locales, aplicaciones o recursos privados de tu ordenador.

1

Abre los ajustes de MCP

En TypingMind, ve a Ajustes, luego a Ajustes avanzados y a Model Context Protocol, y elige Configurar conector.

  1. Abre TypingMind en tu navegador.
  2. Haz clic en el icono de Ajustes.
  3. Ve a Ajustes avanzados.
  4. Abre la sección Model Context Protocol.
  5. Haz clic en Configurar conector y elige Este dispositivo.
Pantalla de configuración del conector MCP de TypingMind con «Este dispositivo» seleccionado
2

Ejecuta el comando del conector

Elige Este dispositivo, copia el comando de TypingMind y ejecútalo en Terminal. Mantén el proceso en ejecución mientras uses MCP.

  1. Copia el comando de configuración que muestra TypingMind.
  2. Abre Terminal en macOS o Windows Terminal en Windows.
  3. Pega y ejecuta el comando.
  4. Acepta la instalación del paquete si Terminal te pide confirmación para continuar.
  5. Mantén el proceso en ejecución en la ventana de Terminal mientras uses las herramientas MCP.
3

Añade Coolify MCP Server como servidor

Cuando el estado del conector sea «Listo», haz clic en «Edita servidores» y pega la configuración del servidor MCP.

  1. Espera hasta que el estado del conector indique «Listo».
  2. Haz clic en Edita servidores.
  3. Pega la configuración del servidor MCP de Coolify MCP Server.
  4. Guarda la lista de servidores.
  5. Actualiza para comprobar que el conector sigue listo.
Ajustes de MCP de TypingMind con un servidor activo y el botón «Edita servidores»
{
  "mcpServers": {
    "kof70-coolify-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "coolify-mcp-server-kof70"
      ]
    }
  }
}
4

Úsala con distintos modelos

Guarda la lista de servidores, abre Plugins, activa las herramientas MCP de Coolify MCP Server y selecciona cualquier modelo de IA compatible en TypingMind para usar las herramientas en el chat o asignárselas a un agente de IA.

  1. Abre la página Plugins en TypingMind.
  2. Activa las herramientas MCP de Coolify MCP Server.
  3. Inicia un chat y elige el modelo de IA que quieras usar.
  4. Usa las herramientas MCP en el chat o asígnalas a un agente de IA.
  5. Cambia a otro modelo de IA cuando lo necesites sin volver a conectar MCP.
Chat de TypingMind que usa herramientas MCP activadas con un modelo de IA seleccionado
¿Puedes usar Coolify MCP Server para ayudarme con esta tarea?
Coolify MCP Server
Claro. Lo he leído.
Esto he encontrado usando Coolify MCP Server.

Preguntas frecuentes

¿Para qué sirve el servidor MCP Coolify MCP Server?

Coolify MCP Server es un servidor MCP que permite a los clientes de IA compatibles conectarse a herramientas y contexto externos. En TypingMind, basta con añadir este servidor MCP una vez para que sus herramientas estén disponibles en tu espacio de trabajo de IA.

¿Puedo usar el servidor MCP Coolify MCP Server con varios modelos de IA en TypingMind?

Sí. TypingMind conecta las herramientas MCP a nivel del espacio de trabajo, por lo que puedes usar Coolify MCP Server con distintos modelos de IA, como Claude, ChatGPT, Gemini u otros que hayas configurado en TypingMind, sin configurar el servidor MCP por separado para cada modelo.

¿Por qué usar el conector MCP de Coolify MCP Server con TypingMind?

TypingMind es una de las mejores interfaces de chat con LLM porque reúne varios modelos de IA, prompts, plugins, agentes de IA, claves de API y herramientas MCP en un solo espacio de trabajo. Con Coolify MCP Server conectado, puedes usar sus herramientas MCP con tus modelos preferidos y mantener organizado tu flujo de trabajo de chat en TypingMind.

¿Cómo conecto el servidor MCP Coolify MCP Server a TypingMind?

Coolify MCP Server funciona a través del conector MCP local de TypingMind. Es la mejor opción cuando el servidor MCP necesita acceder a archivos locales, aplicaciones de escritorio, herramientas de línea de comandos o recursos privados de tu ordenador.

¿Qué herramientas ofrece el servidor MCP Coolify MCP Server en TypingMind?

Coolify MCP Server ofrece funciones MCP que puedes activar desde la página Plugins de TypingMind y usar en el chat o asignar a agentes de IA.

¿Tengo que compartir mis claves de API con TypingMind para usar el servidor MCP Coolify MCP Server?

No. TypingMind prioriza el funcionamiento local y te permite mantener el control de tus proveedores de modelos, claves de API, prompts y configuración MCP. Si Coolify MCP Server requiere autenticación, añade las cabeceras, los ajustes de OAuth o la configuración local necesarios para ese servidor MCP al crear la conexión.

Servidores MCP relacionados

Ver todos

Crea ya tu propio espacio de trabajo IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇