Coolify MCP Server logo

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.

Publisherkof70
Repositorycoolify-mcp-server
LanguageTypeScript
Forks
4
Stars
29
Available tools
0
Transport typestdio
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    Coolify MCP Server exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    29 stars and 4 forks from the linked repository.

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

Installation

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

Use Coolify MCP Server MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Coolify MCP Server is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Coolify MCP Server as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Coolify MCP Server MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "kof70-coolify-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "coolify-mcp-server-kof70"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Coolify MCP Server MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Coolify MCP Server MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Coolify MCP Server to help me with this task?
Coolify MCP Server
Sure. I read it.
Here is what I found using Coolify MCP Server.

Frequently asked questions

What is the Coolify MCP Server MCP server used for?

Coolify MCP Server is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Coolify MCP Server MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Coolify MCP Server with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Coolify MCP Server MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Coolify MCP Server connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Coolify MCP Server MCP to TypingMind?

Coolify MCP Server runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Coolify MCP Server MCP provide in TypingMind?

Coolify MCP Server exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Coolify MCP Server MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Coolify MCP Server requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇