Logo di Coolify MCP Server

Coolify MCP Server

Community
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.

Autorekof70
Repositorycoolify-mcp-server
LinguaTypeScript
Fork
4
Stelle
29
Strumenti disponibili
0
Tipo di trasportostdio
Categorie
LicenzaMIT
Link
  • Collega gli strumenti ai flussi di lavoro IA

    Coolify MCP Server mette a disposizione funzionalità MCP utilizzabili da client e agenti IA compatibili.

  • 0 strumenti disponibili

    Esplora le azioni richiamabili qui sotto, con nomi e descrizioni quando forniti dal server.

  • Configurazione pronta da copiare

    Usa gli esempi di installazione per configurare questo server nel tuo client MCP preferito.

  • Indicatori di interesse open source

    29 stelle e 4 fork nel repository collegato.

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

Installazione

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

Usa MCP Coolify MCP Server con più modelli IA

TypingMind collega gli strumenti MCP a livello di area di lavoro: una volta connesso Coolify MCP Server, puoi usarlo con diversi modelli IA in TypingMind, senza configurarlo separatamente per ogni modello. Questa integrazione MCP viene eseguita localmente sul tuo dispositivo tramite il connettore MCP di TypingMind.

Guida alla configurazione del connettore locale

Usa questo metodo quando il server MCP deve accedere a file locali, app o risorse private sul tuo computer.

1

Apri le impostazioni MCP

In TypingMind, vai su Impostazioni, Impostazioni avanzate, poi su Model Context Protocol e scegli Configura MCP.

  1. Apri TypingMind nel tuo browser.
  2. Fai clic sull'icona Impostazioni.
  3. Vai a Impostazioni avanzate.
  4. Apri la sezione Model Context Protocol.
  5. Fai clic su Configura MCP e scegli Questo dispositivo.
Schermata di configurazione del connettore MCP di TypingMind con Questo dispositivo selezionato
2

Esegui il comando del connettore

Scegli Questo dispositivo, copia il comando da TypingMind ed eseguilo nel terminale. Lascia il processo in esecuzione mentre usi MCP.

  1. Copia il comando di configurazione mostrato da TypingMind.
  2. Apri Terminale su macOS o Windows Terminal su Windows.
  3. Incolla ed esegui il comando.
  4. Conferma l'installazione del pacchetto se il terminale ti chiede di procedere.
  5. Tieni aperta la finestra del terminale con il processo in esecuzione mentre usi gli strumenti MCP.
3

Aggiungi Coolify MCP Server come server

Quando lo stato del connettore è Pronto, fai clic su Modifica server e incolla la configurazione del server MCP.

  1. Attendi che lo stato del connettore sia Pronto.
  2. Fai clic su Modifica server.
  3. Incolla la configurazione del server MCP di Coolify MCP Server.
  4. Salva l'elenco dei server.
  5. Aggiorna per verificare che il connettore sia ancora pronto.
Impostazioni MCP di TypingMind con un server attivo e il pulsante Modifica server
{
  "mcpServers": {
    "kof70-coolify-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "coolify-mcp-server-kof70"
      ]
    }
  }
}
4

Usa la connessione con diversi modelli

Salva l'elenco dei server, apri Plugin, abilita gli strumenti MCP di Coolify MCP Server, poi seleziona un modello IA supportato in TypingMind e usa gli strumenti in chat o assegnali a un agente IA.

  1. Apri la pagina Plugin in TypingMind.
  2. Abilita gli strumenti MCP di Coolify MCP Server.
  3. Avvia una chat e scegli il modello IA che vuoi usare.
  4. Usa gli strumenti MCP in chat o assegnali a un agente IA.
  5. Passa a un altro modello IA quando serve, senza riconnettere MCP.
Chat di TypingMind che usa gli strumenti MCP abilitati con un modello IA selezionato
Puoi usare Coolify MCP Server per aiutarmi con questa attività?
Coolify MCP Server
Certo. Ho letto.
Ecco cosa ho trovato con Coolify MCP Server.

Domande frequenti

A cosa serve il server MCP Coolify MCP Server?

Coolify MCP Server è un server MCP che consente ai client IA compatibili di accedere a strumenti e informazioni di contesto esterni. In TypingMind puoi aggiungere questo server MCP una sola volta e rendere disponibili i suoi strumenti nella tua area di lavoro IA.

Posso usare Coolify MCP Server MCP con più modelli IA in TypingMind?

Sì. TypingMind collega gli strumenti MCP a livello di area di lavoro, quindi puoi usare Coolify MCP Server con diversi modelli IA come Claude, ChatGPT, Gemini o altri modelli che hai configurato in TypingMind, senza dover configurare il server MCP separatamente per ogni modello.

Perché usare il connettore MCP Coolify MCP Server con TypingMind?

TypingMind è una delle migliori interfacce per chattare con gli LLM perché riunisce più modelli IA, prompt, plugin, agenti IA, chiavi API e strumenti MCP in un'unica area di lavoro. Collegando Coolify MCP Server, puoi usare i suoi strumenti MCP con i tuoi modelli preferiti e mantenere organizzato il tuo flusso di lavoro in chat su TypingMind.

Come collego Coolify MCP Server MCP a TypingMind?

Coolify MCP Server funziona tramite il connettore MCP locale di TypingMind. È la soluzione ideale quando il server MCP deve accedere a file locali, app desktop, strumenti da riga di comando o risorse private sul tuo computer.

Quali strumenti offre Coolify MCP Server MCP in TypingMind?

Coolify MCP Server mette a disposizione funzionalità MCP che puoi attivare dalla pagina Plugin di TypingMind e usare in chat o assegnare agli agenti IA.

Devo condividere le mie chiavi API con TypingMind per usare Coolify MCP Server MCP?

No. TypingMind privilegia il funzionamento in locale e ti permette di mantenere il controllo su fornitori di modelli, chiavi API, prompt e configurazione MCP. Se Coolify MCP Server richiede l'autenticazione, aggiungi le intestazioni, le impostazioni OAuth o la configurazione locale necessarie per quel server MCP quando crei la connessione.

Server MCP correlati

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇