Coolify MCP Serverのロゴ

Coolify MCP Server

コミュニティ
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.

公開者kof70
リポジトリcoolify-mcp-server
言語TypeScript
フォーク
4
スター
29
利用可能なツール
0
通信方式stdio
カテゴリ
ライセンスMIT
リンク
  • ツールをAIワークフローに接続

    Coolify MCP Serverは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 0個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには29件のスターと4件のフォークがあります。

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

インストール

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

Coolify MCP ServerのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度Coolify MCP Serverに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

Coolify MCP Serverをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. Coolify MCP ServerのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "kof70-coolify-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "coolify-mcp-server-kof70"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてCoolify MCP ServerのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. Coolify MCP ServerのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
Coolify MCP Serverを使ってこのタスクを手伝ってもらえますか?
Coolify MCP Server
はい、読みました。
Coolify MCP Serverで調べた結果をお伝えします。

よくある質問

Coolify MCP Server MCPサーバーは何に使いますか?

Coolify MCP Serverは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでCoolify MCP Server MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでCoolify MCP Serverを利用できます。

TypingMindでCoolify MCP Server MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。Coolify MCP Serverを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

Coolify MCP Server MCPをTypingMindに接続するにはどうすればよいですか?

Coolify MCP ServerはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでCoolify MCP Server MCPのどのようなツールを利用できますか?

Coolify MCP ServerはMCP機能を提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

Coolify MCP Server MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。Coolify MCP Serverで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇