- Dokku Mcp Server
Dokku Mcp Server
Dokku MCP Server
Model Context Protocol (MCP) server for Dokku, written in Go.
Version: v0.2.0
This server exposes Dokku's management capabilities through the standardized Model Context Protocol (MCP), allowing Large Language Models (LLMs) to interact with and manage a Dokku instance.
⚠️ Early Development: This project is in its early stages. Breaking changes are expected, and it is not recommended for production use.
Try it now — turn your Dokku instance into an AI-manageable PaaS
Follow Installation or grab a prebuilt binary to get started in minutes with cursor, claude-code, goose and all agentic tools which support mcp.
Or make start if you already have go locally.
MCP Inspector Playground
For a quick tour of the server without wiring up a full MCP client, use the dedicated make target:
make inspect
It builds the binary (if needed), launches the MCP Inspector CLI, and connects it to the server in stdio mode. Inspector prints a local URL—open it in your browser to browse resources, prompts, and tools, or to issue ad-hoc calls. This is a great way to validate your setup before wiring Dokku MCP into Cursor, Claude, other IDE or internal tools.
Connecting MCP Clients
The server can be used with any MCP-compatible client.
Add the following to your zed, .cursor/mcp.json, claude_desktop_config.json or .mcp.json:
{
"mcpServers": {
"dokku": {
"command": "/home/user/dokku-mcp/build/dokku-mcp",
"args": [],
"env": {
"DOKKU_MCP_SECURITY_BLACKLIST": "destroy,uninstall,remove",
"DOKKU_MCP_SSH_HOST": "127.0.0.1",
"DOKKU_MCP_SSH_KEY_PATH": "/home/user/.ssh/id_rsa",
"DOKKU_MCP_SSH_PORT": "22",
"DOKKU_MCP_SSH_USER": "dokku"
}
}
}
}
Remember to replace the command path with the absolute path to the binary.
For more info or contributing : https://github.com/dokku-MCP/dokku-mcp
Server Config
{
"mcpServers": {
"dokku": {
"command": "/home/user/dokku-mcp/build/dokku-mcp",
"args": [],
"env": {
"DOKKU_MCP_SECURITY_BLACKLIST": "destroy,uninstall,remove",
"DOKKU_MCP_SSH_HOST": "127.0.0.1",
"DOKKU_MCP_SSH_KEY_PATH": "/home/user/.ssh/id_rsa",
"DOKKU_MCP_SSH_PORT": "22",
"DOKKU_MCP_SSH_USER": "dokku"
}
}
}
}