An MCP (Model Context Protocol) server that lets Claude Code manage a remote Dokku server over SSH.
| Tool | Description |
|---|---|
dokku_run |
Run any Dokku command (automatically prefixed with dokku) |
dokku_ssh |
Run an arbitrary shell command on the server |
- Node.js >= 18
- SSH access to your Dokku server (key-based auth recommended)
npm install
npm run buildRegister with Claude Code:
claude mcp add --transport stdio dokku \
--env DOKKU_HOST=root@your-server-ip \
-- node /path/to/dokku-mcp/dist/index.jsRestart Claude Code to pick up the new server.
| Variable | Required | Description |
|---|---|---|
DOKKU_HOST |
Yes | SSH destination, e.g. [email protected] |
DOKKU_SSH_OPTIONS |
No | Additional SSH flags, space-separated |