
Coolify MCP
io.github.frndchagas由 GitHub 帳號 frndchagas 發布v2.3.1更新於 Oct 24, 2026
MCP server for Coolify API operations.
概覽
一個 MCP 伺服器,讓助理管理 Coolify 執行個體:專案、伺服器、應用程式、資料庫、服務、部署與環境變數。
- 可以做什麼
- 列出、建立、更新與刪除專案、環境、伺服器、SSH 金鑰與 GitHub App,並檢視團隊、伺服器資源與網域。建立、設定、啟動、停止、重新啟動與刪除應用程式,支援公開 git、GitHub App、部署金鑰、Dockerfile 與 Docker 映像來源。管理八種引擎的資料庫及其備份與環境變數,以及服務、Docker Compose 部署、儲存、排程工作與預覽環境。觸發、取消與檢視部署,診斷應用程式與伺服器,並一次取得基礎設施總覽。管理帶遮罩的環境變數,並離線搜尋內建的 Coolify 文件。
- 適用情境
- 適合執行 Coolify 並希望助理在對話中處理部署工作的情境:從零建立專案、排查應用程式失敗原因、重新啟動或重新部署服務,或調整環境變數與備份,而不必在主控台逐項操作。
- 執行需求
- 透過 npm 套件以 stdio 在本機執行,需要 Node 18+。需要在 COOLIFY_BASE_URL 提供 Coolify API 位址,並在 COOLIFY_TOKEN 提供 Coolify 主控台產生的 API 權杖。需要能連線至 Coolify 執行個體的網路。另有選用的 HTTP 傳輸,具備獨立的連接埠與 Bearer 權杖設定。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Coolify MCP,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
coolify-mcp
[npm version] [npm downloads] [license] [node version] [typescript] [CI] [Glama score]
MCP server for Coolify API - enables full deployment workflows from zero to production.
Targets the Coolify v4.3.10 API. Types and schemas are generated directly from Coolify's official OpenAPI spec, so tool inputs always match what the API actually accepts.
Features
- Full Deployment Workflow: Create projects, environments, servers, and applications from scratch
- 5 Application Types: one
createApplicationtool covers public git, GitHub App, Deploy Key, Dockerfile, and Docker Image sources — plus Docker Compose deployments viacreateService(since Coolify v4.1, compose deployments are services) - Environment Management: Full CRUD for environment variables with secret masking
- Deployment Control: Deploy (optionally waiting for the terminal status, with a log tail on failure), start, stop, restart applications
- Diagnostics:
diagnoseAppfinds an app by UUID, name, or domain and aggregates status, recent deployments, failure log tails, runtime logs, and suggested next actions - Docs Search:
searchDocsruns full-text search across the official Coolify documentation from a bundled local index — no network needed - Security: Write protection, secret redaction, and MCP annotations (
readOnlyHint/destructiveHint) so clients can auto-approve reads and gate destructive calls - Near-full API coverage: databases (8 engines, backups, envs), services, storages, scheduled tasks, teams, previews, servers, SSH keys, and GitHub Apps
- Token-efficient: 65 tools whose definitions cost ~9k tokens of context, with strict runtime validation against schemas generated from Coolify's OpenAPI spec
Requirements
- Node 18+
- A Coolify API token (Settings > API in your Coolify dashboard)
Install
Claude Desktop, one-click: download coolify-mcp.mcpb from the latest release and drag it into Settings → Extensions. You'll be prompted for your Coolify URL and token — no Node install, no JSON editing.
Via npm:
Quick Start
Claude Code CLI
OpenAI Codex CLI
Or edit ~/.codex/config.toml:
Manual Configuration (~/.mcp.json)
Environment Variables
Deploy from Zero
With this MCP, you can deploy an application from scratch:
Tools Reference
Projects & Environments
Servers & Infrastructure
Applications - Read
Applications - Create
Docker Compose deployments are created with
createServicepassingdocker_compose_raw— since Coolify v4.1 they are services, not applications.
Applications - Manage
Environment Variables
Database and service env vars have their own tools:
databaseEnvsandserviceEnvs.
Deployments
Databases
Services
Storages, Scheduled Tasks & Previews
Teams, Servers & Git
Batch Operations
Other
Security Features
Write Protection
Disable all write operations:
Secret Masking
- Environment variable values are masked by default
- Database credentials are redacted
- Use
showSecrets: trueonly when necessary
HTTP Transport Hardening
The HTTP transport binds to 127.0.0.1 by default. To expose it beyond loopback, set MCP_HTTP_TOKEN — every request to /mcp must then carry Authorization: Bearer <token> (checked in constant time) — and the bind switches to 0.0.0.0 (override with MCP_HTTP_HOST). Binding to a non-loopback host without a token logs a loud warning: anyone who can reach the port controls your Coolify instance.
Human Confirmation on Destructive Deletes
On MCP clients that support elicitation (Claude Code, VS Code Copilot), deleting a project, application, database, service, server, or private key asks you to confirm first, stating what will be lost. Clients without elicitation behave exactly as before. A decline, cancel, or timeout aborts the call; set COOLIFY_MCP_ELICITATION=off to disable the prompts entirely.
Development
Scripts
Pinned Coolify Version
Version is defined in src/coolify/constants.ts. To update:
- Edit
COOLIFY_VERSIONinsrc/coolify/constants.ts - Run
npm run generate
Registry Listings
- MCP Registry:
io.github.frndchagas/coolify-mcp
MCP Client Examples
HTTP Client
Stdio Client
License
MIT
來源:README.md,提交 c06fd15
工具
0版本歷史
1- v2.3.1最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分