
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 分