Dokku MCP Server logo

Dokku MCP Server

Manage Dokku applications, deployments, services, domains, logs, and access through MCP tools over SSH.

Install Dokku MCP Server

Run the project’s own setup commands, in order.

Setup steps from the project

Dokku MCP Server installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Start the server
    make start
    
  2. 2. Install
    curl -L -o dokku-mcp https://github.com/dokku-mcp/dokku-mcp/releases/latest/download/dokku-mcp-linux-amd64
    
  3. 3. Install
    chmod +x dokku-mcp
    
  4. 4. Install
    sudo mv dokku-mcp /usr/local/bin/
    
  5. 5. Install
    git clone https://github.com/dokku-mcp/dokku-mcp.git
    
  6. 6. Run
    cd dokku-mcp
    

Overview

Dokku MCP Server MCP server exposes Dokku management operations to MCP-compatible AI clients through a Go-based server. It connects to a Dokku instance over SSH and provides tools for applications, deployments, logs, datastores, domains, HTTPS, access, and selected server information. Use it when an agent needs to inspect or change a Dokku environment, with allowlists, blacklists, and SSH-based command safety controls. The project is in early development, and its SSE transport does not yet provide authentication.

Use cases

  • Deploy an application to Dokku
  • Inspect failed deployment logs
  • Scale Dokku application processes
  • Manage linked datastore services
  • Configure application domains and HTTPS

Key features

  • Application lifecycle management
  • Asynchronous deployment status tracking
  • Datastore service management
  • Runtime and deployment log access
  • Domain and Let's Encrypt controls
  • SSH-based security controls

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

12/12 checks healthy over the last 42d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars9Stargazers on the source repository.
Last commit1mo agoMost recent push to the default branch.

How Dokku MCP Server works

What Dokku MCP Server MCP server does

Dokku MCP Server MCP server gives MCP clients an interface for managing a Dokku instance. It covers common application lifecycle tasks, including creating apps, syncing and deploying code, scaling processes, changing configuration, restarting or stopping apps, checking status, and rolling back deployments. It also exposes deployment status and build-log information after asynchronous deployments begin.

The server reaches Dokku over SSH rather than requiring the MCP process to run on the Dokku host. Its tools are grouped by area, and plugin-dependent groups appear only when the corresponding Dokku plugin is installed. Tool metadata includes MCP annotations such as read-only, destructive, and idempotent status.

How it works

The MCP process starts locally and communicates with an MCP client over stdio. It uses the configured SSH host, port, user, and private key to execute supported Dokku operations on the remote instance. A deployment returns a deployment ID after code synchronization; a separate status operation reports the build result and a tail of the build log.

Resources provide onboarding information, capability and intent maps, server details, and application logs. The app_doctor prompt supports an application-diagnosis workflow. Runtime log following can stream progress notifications while logs are being read.

Setup and configuration

Install a release binary for Linux or macOS, use the published MCP Bundle on macOS or Linux, or build from source with Go 1.26 or later. Verify a binary with dokku-mcp --version. Client configuration points the command field to the absolute binary path and supplies environment variables for the SSH connection and command restrictions.

Relevant variables include DOKKU_MCP_SSH_HOST, DOKKU_MCP_SSH_PORT, DOKKU_MCP_SSH_USER, DOKKU_MCP_SSH_KEY_PATH, DOKKU_MCP_SECURITY_ALLOWLIST, and DOKKU_MCP_SECURITY_BLACKLIST. Allowlist entries restrict matching commands, while blacklist patterns block commands containing specified text. The project also supports configuration through a YAML file at /etc/dokku-mcp/config.yaml or a user configuration location.

For a quick local check, make inspect builds the binary when necessary, starts the MCP Inspector in stdio mode, and supplies a browser URL for trying resources, prompts, and tools.

Tools and capabilities

Dokku MCP Server MCP server includes tools for:

  • Application creation, deployment, rollback, scaling, configuration, status, restart, stop, and start.
  • Deployment listing and status checks.
  • Runtime, failed-deployment, and service logs.
  • Creating, inspecting, listing, linking, unlinking, and destroying supported datastore services, including PostgreSQL, MySQL, MariaDB, Redis, MongoDB, RabbitMQ, Memcached, ClickHouse, and Elasticsearch.
  • Application and global domain management.
  • Let's Encrypt status, enablement, disablement, and email configuration.
  • SSH key management and container-registry login, logout, and reporting.
  • Optional server log exposure.

Datastore URLs and passwords are masked in tool results. Free-form values such as environment variables, registry passwords, and SSH public keys are encoded or sent over stdin instead of being placed directly in command arguments.

Limitations and notes

The project is in early development, so breaking changes are expected and production use is not recommended. Ports, checks, storage, cron, and datastore backups are missing or only partially implemented. Destructive confirmation through MCP elicitation is planned rather than available now.

The SSH key used by the server should be treated as a sensitive credential. The SSE transport currently has no authentication, so it should be limited to a trusted network or placed behind an authenticating proxy. The server also includes safeguards for service destruction and certain SSH-key names, but operators should still restrict commands with the allowlist and blacklist settings.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Dokku MCP Server

Dokku MCP Server is an MCP server that connects AI clients to Dokku over SSH. Its main tools manage applications, deployments, scaling, configuration, logs, datastore services, domains, Let's Encrypt, SSH keys, and registry access. It is written in Go and communicates with MCP clients primarily through stdio.

Install a prebuilt Linux or macOS binary, install the published MCP Bundle, or build it from source with Go 1.26 or later. After installation, verify it with `dokku-mcp --version` and configure the client to use the binary's absolute path.

It connects to Dokku over SSH using a configured host, port, user, and private key. Set `DOKKU_MCP_SSH_HOST`, `DOKKU_MCP_SSH_PORT`, `DOKKU_MCP_SSH_USER`, and `DOKKU_MCP_SSH_KEY_PATH` in the MCP client configuration.

Yes, it can be configured in Cursor through `.cursor/mcp.json`. The README also names Claude Desktop, Claude Code, Zed, and Windsurf, and states that the server works with MCP-compatible clients.

No, the project is identified as early development and is not recommended for production use. Its SSE transport has no authentication, and breaking changes are expected. Use command allowlists, blacklists, trusted network placement, and careful SSH-key handling when evaluating it.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewDokku MCP Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/dokku-mcp-server?style=directory)](https://allmcps.com/mcp/dokku-mcp-server)
HTML Embed
<a href="https://allmcps.com/mcp/dokku-mcp-server"><img src="https://allmcps.com/api/badge/dokku-mcp-server?style=directory" alt="Dokku MCP Server on AllMCPs" /></a>