coolify
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@coolifyShow me all applications and their deployment statuses."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@vbcdx/coolify-plugin
An MCP server for a bounded, write-controlled subset of the Coolify
v4 API. Contract vbcdx.coolify/1. It gives an agent per-call credential-file
selection, a fixed catalog of 27 tools, honest result reporting, and explicit
accidental-write controls.
This README covers what the package needs to be installed and run. Exhaustive tool-by-tool documentation and independent runtime verification are tracked separately.
What it is (and is not)
Coolify ships a native MCP endpoint. This package deliberately adds per-call credential-file selection, a bounded catalog, and an accidental-write interlock. It does not replace every native capability or provide stronger authorization than the OS and the service token allow. Native endpoint enablement, infrastructure provisioning, backup/restore, arbitrary shell/API calls, private-key/cloud-token management, and rollback/pin-to-SHA are out of scope in v1.
Related MCP server: Coolify MCP Server
Coolify's native MCP server
Coolify has shipped its own MCP server since v4.1.0 (18 May 2026), which added instance-level MCP with read-only tools over Coolify resources plus API/UI enablement controls. v4.2.0 (21 Jul 2026) added per-team MCP, and later 4.3.x releases extended the tool surface (deploy and cancellation operations, gated by token scope). Coolify's release cadence is its own; for the authoritative, current capability list, follow the vendor docs rather than this README.
Enabling it (self-hosted). Settings → Configuration → Advanced → API and MCP: enable API access, then set MCP server to Enabled. It must also be enabled for the active team ("Enabled for this team" in that team's settings). Coolify Cloud has instance MCP enabled already, with team access on by default.
Connecting. Endpoint https://<your-coolify-host>/mcp, transport Streamable
HTTP, header Authorization: Bearer <token>. Tokens come from Keys & Tokens →
API Tokens while the target team is active. Scope the token to the least
privilege the client needs: read for inspection, read:sensitive for sensitive
values and log summaries, deploy for deploy/start/stop/restart/cancel. Coolify's
docs advise against using root for ordinary clients. A client denied by team
settings gets 403; consult the docs for the current, exact failure modes.
Native MCP vs. this package
If you want direct, full-surface access to a Coolify instance from a single team's
token, and you trust the caller with whatever that token permits, the native MCP
server is sufficient — reach for it first. This package exists for a narrower
situation: several agents that each present their own credential file per call, a
fixed and auditable catalog rather than Coolify's evolving full surface, an
accidental-write interlock (off / write / full, plus a confirmation string on
destructive tools), and result envelopes that refuse to over-claim an unverified
outcome. It deliberately covers less than native MCP; use it when per-call
credential isolation and write-blast-radius control matter more than breadth.
Requirements
Node.js >= 22 (tested on Node 22 and 24).
Runnable JavaScript, no build step. One runtime dependency: the maintained
@modelcontextprotocol/sdk(pinned).
Install
This package is not yet published to a public npm registry. Once a version is published and tested, the supported install will be:
npm install @vbcdx/coolify-pluginUntil then, install a packed, reviewed artifact into a clean prefix and register the absolute entrypoint. From an immutable reviewed commit of your own checkout or mirror:
npx --yes --package='<git-remote-url>#<reviewed-commit>' vbcdx-coolify mcpSubstitute your git remote and the delivered commit, not a moving branch. An npm name/version launch command is advertised only after that version is published to a registry and tested.
Configuration (environment only)
The server takes no secret, URL, role, or credential CLI options. Configuration comes from the environment:
Variable | Meaning |
| Coolify instance URL. Required for any API call. An optional deployment path prefix and an optional trailing |
|
|
| Total per-call budget, integer 1000–120000 (default 30000). Spans the credential read, any preflight, the mutation, and verification. |
Credentials
Every tool except public health takes an explicit absolute credential_file
argument at call time. The file is read fresh on each call (one snapshot per call
so a rotation cannot switch identity midway). There is no token/URL/role option,
directory scan, home-directory search, ambient secret, or between-call cache.
The file must be a regular, non-symlink file owned by you at mode 0600, in an
immediate parent directory owned by you at mode 0700, with no symlink component
in the path. It contains VBCDX_AGENTS_ROLE (descriptive) and a nonblank
VBCDX_AGENTS_TOKEN. The token is sent as Authorization: Bearer <token>;
Coolify has no password fallback. See
examples/credential-file.env.example.
Token permissions (read, read:sensitive, write, deploy, root) are the
token's, scoped to its team and role. A deploy-only token is legitimate. The
server never infers permission from the role, decodes token authority, or retries
a 403 with another identity.
Commands
vbcdx-coolify mcp # stdio MCP server (protocol frames on stdout; diagnostics on stderr)
vbcdx-coolify manifest # deterministic nonsecret JSON tool contract (no network, no credential reads)
vbcdx-coolify --help
vbcdx-coolify --versionUnknown commands or options exit 2.
Registration
The MCP identity is coolify. See
examples/mcp-registration.md for Claude Code,
Codex, OpenCode, and DSH. The tool catalog is discoverable without credentials; a
call without credentials returns an actionable error, not a crash.
Write controls and honest results
Every tool declares an effect:
read,write, ordestructive. Gates run before any file read or HTTP call, and all tools remain listed even when disabled.Destructive tools (
restart_application,stop_application,cancel_deployment,delete_application_env,delete_application) requireVBCDX_COOLIFY_WRITES=fulland an exact confirmation string that binds the normalized target and options. The confirmation is an accident interlock, not proof of human approval, and is never sent upstream.Results never over-claim. HTTP status is checked before body shape (a
403withsuccess:trueis a failure). A2xxalone is not completion. A read never turns an error into an empty list. A mutation whose outcome cannot be confirmed isunverifiedorindeterminateand is never replayed.
Each result carries outcome, effect, request:{method,path,attempted},
verification, and — for failures — a fixed reason and a secret-free message.
Tool catalog (27)
Reads (17): health, version, list_applications, get_application,
get_application_logs, list_application_envs, list_databases, get_database,
list_services, get_service, list_projects, get_project, list_servers,
get_server, list_resources, list_deployments, get_deployment.
Writes (5): create_application, deploy, start_application,
create_application_env, update_application_env.
Destructive (5): restart_application, stop_application, cancel_deployment,
delete_application_env, delete_application.
Run vbcdx-coolify manifest for the exact input/output schemas, effects, and
required permissions.
Development
npm ci
npm test # node --test; route-level fixtures, adversarial cases, no networkLicense
MIT — see LICENSE.
This server cannot be deployed
Maintenance
Related MCP Connectors
The bridge from K2 agents through Wrangler to your master AI - safe, approval-gated Cloudflare ops.
Supervised API-write gateway for AI agents with policy, human approval and execution receipts.
Tenant-scoped control plane over the TeleQuick platform's full API surface
- FullmaktOAuthai.fullmakt
Credential broker for AI agents: scoped, revocable API access with policy enforcement and audit.
Related MCP Servers
- FlicenseAqualityFmaintenanceEnables interaction with Coolify applications and resources through the Coolify API via a standardized interface, supporting application management operations such as listing, starting, stopping, restarting, and deploying.1113-
- AlicenseDqualityFmaintenanceProvides programmatic and CLI tools for managing Coolify deployments, allowing users to control applications, services, databases, and infrastructure through natural language or command line.1038 npm7Good Luck With That Public
- AlicenseAqualityDmaintenanceEnables AI assistants to interact with Coolify self-hosted instances for application deployment, management, and monitoring. Features 4 unified tools optimized for VS Code's limits, covering app management, environment configuration, system administration, and built-in documentation.4164 npm1MIT
- AlicenseBqualityBmaintenanceEnables control and management of Coolify self-hosted PaaS instances, allowing you to deploy applications, manage databases, monitor servers, and execute operations directly from AI assistants.899 npm29MIT