rtlee9/dokku-mcp

★ 0Forks 0JavaScriptGitHub ↗Compare

README

dokku-mcp

An MCP (Model Context Protocol) server that lets Claude Code manage a remote Dokku server over SSH.

Tools

Tool Description
dokku_run Run any Dokku command (automatically prefixed with dokku)
dokku_ssh Run an arbitrary shell command on the server

Prerequisites

  • Node.js >= 18
  • SSH access to your Dokku server (key-based auth recommended)

Setup

npm install
npm run build

Register with Claude Code:

claude mcp add --transport stdio dokku \
  --env DOKKU_HOST=root@your-server-ip \
  -- node /path/to/dokku-mcp/dist/index.js

Restart Claude Code to pick up the new server.

Environment Variables

Variable Required Description
DOKKU_HOST Yes SSH destination, e.g. [email protected]
DOKKU_SSH_OPTIONS No Additional SSH flags, space-separated

Contributors

rtlee9

Issues