MCP Hub
Back to servers

Dokploy MCP Server

Provides complete control over Dokploy infrastructure with 463 tools for managing projects, applications, databases, and Docker containers. It enables users to deploy and configure their self-hosted PaaS resources directly through natural language.

glama
Updated
Apr 1, 2026

Dokploy MCP Server

npm version license Node.js

MCP server that provides 100% coverage of the Dokploy API — 463 tools auto-generated from the Dokploy OpenAPI specification. Manage projects, applications, databases, Docker Compose stacks, and more directly from Claude.

Requirements

  • Node.js 18+
  • A Dokploy account with API access
  • API key from Settings → API Keys in Dokploy

Quick Start

Install

npm install -g @jarciahdz111/dokploy-mcp

Or run without installing:

npx @jarciahdz111/dokploy-mcp

Claude Desktop Configuration

Add this to your Claude Desktop config file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Linux: ~/.config/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "dokploy": {
      "command": "dokploy-mcp",
      "env": {
        "DOKPLOY_URL": "https://your-dokploy.com/api",
        "DOKPLOY_API_KEY": "your-api-key"
      }
    }
  }
}

Then restart Claude Desktop.

Claude Code CLI Configuration

If you use the Claude Code CLI (claude command), add this to ~/.claude.json:

{
  "mcpServers": {
    "dokploy": {
      "command": "dokploy-mcp",
      "env": {
        "DOKPLOY_URL": "https://your-dokploy.com/api",
        "DOKPLOY_API_KEY": "your-api-key"
      }
    }
  }
}

Then restart your terminal or run claude to load the configuration.

Environment Variables

VariableDescriptionRequiredDefault
DOKPLOY_URLYour Dokploy API URL (e.g., https://cloud.dokploy.com/api)Yes
DOKPLOY_API_KEYAPI key from Dokploy Settings → API KeysYes
REQUEST_TIMEOUT_MSHTTP request timeout in millisecondsNo30000
DEBUGSet to 1 to enable debug logging (JSON to stderr)No

Available Tools

463 tools across 42 categories. Tool names follow the pattern dokploy_{tag}_{action}.

CategoryToolsDescription
project8Project and environment management
application29Application deployment and management
compose28Docker Compose stack operations
docker7Container and image management
mysql14MySQL database management
postgres14PostgreSQL database management
redis14Redis cache management
mongo14MongoDB database management
mariadb14MariaDB database management
settings49Server and application settings
notification38Slack, email, Discord notifications
server16Server provisioning and management
user20User and session management
domain9Domain management
backup11Backup configuration and execution
deployment8Deployment operations
ai9AI-powered features
github6GitHub integration
gitlab7GitLab integration
gitea8Gitea integration
bitbucket7Bitbucket integration
gitProvider2Generic Git provider
certificate4SSL certificate management
registry7Docker registry management
cluster4Cluster management
mounts6Volume mounts
security4Security settings
redirects4Redirect rules
port4Port configuration
destination6Deployment destinations
previewDeployment4Preview deployments
sshKey6SSH key management
stripe7Stripe billing
swarm3Docker Swarm mode
organization11Organization management
licenseKey6License management
sso10SSO/OIDC/SAML configuration
whitelabeling4Whitelabel configuration
customRole6Custom role permissions
auditLog1Audit log access
schedule6Scheduled tasks
rollback2Deployment rollback
volumeBackups6Volume backup management
environment7Environment variables
patch12Patch management
admin1Admin operations

Usage Examples

List all projects

dokploy_project_all

Get Docker containers

dokploy_docker_getContainers

Get application details

dokploy_application_one
// arguments: { applicationId: "your-application-id" }

Deploy an application

dokploy_application_deploy
// arguments: { applicationId: "your-application-id", to: "production" }

List PostgreSQL databases

dokploy_postgres_all

Get server status

dokploy_settings_getDokployVersion

Restart a Docker container

dokploy_docker_restartContainer
// arguments: { containerId: "your-container-id" }

Local Development

# Clone the repository
git clone https://github.com/jarciahdz111/dokploy-mcp.git
cd dokploy-mcp

# Install dependencies
npm install

# Build
npm run build

# Run in development mode
npm run dev

# Test
node test-mcp.js

How It Works

This MCP server is auto-generated from the Dokploy OpenAPI specification. When Dokploy releases an API update, a new version of this package can be published with updated tool coverage — no manual tool writing required.

The server:

  1. Loads the embedded OpenAPI spec (1.4 MB, 463 endpoints)
  2. Converts each endpoint to an MCP tool with Zod-validated input schema
  3. Routes GET requests as tRPC queries and POST requests as tRPC mutations
  4. Handles tRPC response wrapping and error parsing automatically

API Coverage

  • 100% of Dokploy API v0.28.8 endpoints
  • 463 MCP tools
  • 42 functional categories
  • Auto-generated and auto-synced with API spec

License

MIT

Reviews

No reviews yet

Sign in to write a review