Logo Coolify MCP Server

Coolify MCP Server

Cộng đồng
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.

Nhà phát hànhkof70
Kho mãcoolify-mcp-server
Ngôn ngữTypeScript
Bản fork
4
Sao
29
Công cụ có sẵn
0
Phương thức truyền tảistdio
Danh mục
Giấy phépMIT
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    Coolify MCP Server cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    29 sao và 4 bản fork từ kho mã được liên kết.

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

Cài đặt

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

Dùng MCP Coolify MCP Server với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối Coolify MCP Server, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm Coolify MCP Server làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của Coolify MCP Server.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "kof70-coolify-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "coolify-mcp-server-kof70"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của Coolify MCP Server, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của Coolify MCP Server.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng Coolify MCP Server giúp tôi làm việc này không?
Coolify MCP Server
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng Coolify MCP Server.

Câu hỏi thường gặp

Máy chủ MCP Coolify MCP Server dùng để làm gì?

Coolify MCP Server là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP Coolify MCP Server với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng Coolify MCP Server với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP Coolify MCP Server với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối Coolify MCP Server, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP Coolify MCP Server với TypingMind?

Coolify MCP Server hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP Coolify MCP Server cung cấp những công cụ nào trong TypingMind?

Coolify MCP Server cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP Coolify MCP Server không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu Coolify MCP Server yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇