Checked against each project’s own docs on 13/11/2026. Corrections welcome.

Deploy from Claude Code or Cursor without handing over the server

Windlass has an MCP server built in. Connect Claude Code, Cursor, VS Code, Codex, Gemini CLI or Zed with an API token, and an agent can tell you what is running, why a service is down, what the last deploy did and whether staging is ahead of live. Give it a Deploy only token and it can also deploy, restart, roll back, promote staging and take a backup.

It cannot edit a compose file or .env, read env values or delete anything, at any access level. Agents change code in Git and deploy it; the compose file stays the authority.

This page compares that with the MCP servers for Coolify 4.7.5 and Dokploy 0.31.2.

Windlass Coolify Dokploy
Where it runs built into the panel built into the panel; off by default when self-hosted @dokploy/mcp, a separate package you run beside the agent
Tools 12 about 83 508
Narrowest token that deploys Deploy only: deploy, restart, roll back, promote, back up read and deploy: deploy, start, stop, restart, cancel, roll back what a key can be limited to, not checked; a deploy preset loads fewer tools
Edits compose or env never with the write permission yes
Deletes never with the delete permission yes, a compose project and its volumes included
Env values never returned hidden unless the token has read:sensitive hidden by default; one setting turns that off
Logs any token, with env values scrubbed needs read:sensitive not checked
Limit a token to some projects no yes: projects, environments or resources not checked

Windlass

The server is at /api/v1/mcp on your panel and takes the same tokens as the API. A token has one of four access levels, and tools/list shows it only the tools it can use. The two meant for agents:

No tool at any level edits Compose, env, files, Git settings or domains, and none starts, stops, deletes, restores, opens a terminal or touches users and tokens. The REST routes for those refuse a Deploy only token too, so the limit holds outside MCP.

No tool returns env values. Log lines reach the agent with any Windlass token and the project’s env values replaced by [redacted], and if Windlass cannot read those values it withholds the log rather than send it unscrubbed. The match is exact, so short values and secrets an app prints encoded get through; the MCP guide lists what it misses.

Each write needs confirm: true, and the server tells the agent to ask you first and to prefer staging and promote. That is a speed bump, not a control: in testing a model set it without asking when told plainly to redeploy. The controls are your client’s approval prompt for each tool call and the token’s access. Every write lands in the audit log twice, once naming the token and once naming the tool.

The endpoint refuses the panel’s session cookie and any request with an Origin header, so a web page open in your browser cannot call it.

Coolify

Coolify’s MCP server is part of the instance. On a self-hosted install an admin turns it on first. Its tokens are built from permissions: read, read:sensitive, deploy, write, delete and root. A token with read and deploy can deploy, start, stop, restart, cancel and roll back. Adding write lets an agent create and change resources, a compose file and env included, and delete lets it remove them. The deploy, log and write tools a token cannot use are hidden from the agent.

Two things Coolify does that Windlass does not: a token can be limited to chosen projects, environments or resources, and reading secrets is a separate permission from reading everything else. Coolify keeps logs behind read:sensitive; Windlass gives scrubbed logs to a Read only token.

Dokploy

Dokploy’s MCP server is a separate package, @dokploy/mcp, generated from its API: 508 tools across 49 categories, deletes and env saves among them. It runs beside the agent over stdio, or as an HTTP server, with your Dokploy URL and API key.

It hides env values, compose files and passwords from responses by default. Settings on the package choose which tools load: presets such as deploy or minimal, or tags to include and exclude. Those settings live on the machine that runs the agent and change what it is offered, not what the API key can do.

Portainer

Portainer’s official server, portainer-mcp, says in its README that it is no longer the supported way and may be archived. Its replacement, Portainer Command, is in Business Edition. See Windlass as a Portainer alternative.

What a Deploy only token can still reach

A token that can deploy can ship a commit. If the same agent can push to the project’s branch, it can deploy code that prints the environment to the log, or sends it anywhere. Treat a Deploy only token as able to reach the project’s secrets, store it the way you store them, and give an agent a Read only token unless you want it to ship.

Tokens expire after 90 days by default, at most 365, and can be revoked in the panel.

What Windlass is missing

Tested with real agents

Ten tasks run against a scratch instance with Claude Code as a plain agent: finding what is down, reading a failed deploy, refusing to deploy on a Read only token, asking before a redeploy, rolling back and promoting. On 08/11/2026 Claude Opus 5.5 passed 50 of 50, Sonnet 5.5 48 and Haiku 5.5 46. Every failure was an agent on a Read only token offering to deploy, or calling the tool missing, without saying the token could not; nothing was deployed, and a database password the scratch project prints to its logs never reached the agent. Method and tasks are in the MCP guide.

Terminal window
claude mcp add --transport http windlass https://panel.example/api/v1/mcp \
--header "Authorization: Bearer $WINDLASS_TOKEN"

Connect an agent or install Windlass.

Sources