Dokploy MCP Server
Enables integration with Bitbucket for managing repositories and application deployments.
Allows for the configuration and management of Discord notifications for server events and deployment updates.
Provides comprehensive tools for managing Docker containers, images, and Docker Compose stacks.
Supports generic Git provider integrations for repository management and application deployment.
Enables integration with Gitea for self-hosted Git repository management and deployment workflows.
Supports GitHub integration for managing repositories and automated application deployments.
Enables GitLab integration for repository management and deployment automation.
Provides management tools for MariaDB database instances, including configuration and deployment.
Provides management tools for MongoDB database instances, including configuration and deployment.
Provides management tools for MySQL database instances, including configuration and deployment.
Provides management tools for PostgreSQL database instances, including configuration and deployment.
Provides management tools for Redis cache instances, including configuration and deployment.
Allows for the configuration and management of Slack notifications for server events and deployment updates.
Supports management of Stripe billing and subscription settings for the platform.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Dokploy MCP Serverlist all my projects and their current deployment status"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Dokploy MCP Server
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+ (check with
node -v)A Dokploy account with API access
API key from Settings → API Keys in your Dokploy dashboard
Quick Start
1. Install
npm install -g @jarciahdz111/dokploy-mcpOr run without installing:
npx @jarciahdz111/dokploy-mcp2. Configure Claude Desktop
Create or edit your Claude Desktop config file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.jsonAdd this configuration:
{
"mcpServers": {
"dokploy": {
"command": "dokploy-mcp",
"env": {
"DOKPLOY_URL": "https://your-dokploy.com/api",
"DOKPLOY_API_KEY": "your-api-key"
}
}
}
}3. Configure Claude Code CLI (optional)
If you use the Claude Code CLI, add this to ~/.claude.json:
{
"mcpServers": {
"dokploy": {
"command": "dokploy-mcp",
"env": {
"DOKPLOY_URL": "https://your-dokploy.com/api",
"DOKPLOY_API_KEY": "your-api-key"
}
}
}
}4. Restart Claude
Restart Claude Desktop or your terminal. The 463 Dokploy tools will be available.
Environment Variables
Variable | Description | Required | Default |
| Your Dokploy API URL (e.g., | Yes | — |
| API key from Dokploy Settings → API Keys | Yes | — |
| HTTP request timeout in milliseconds | No |
|
| Set to | No | — |
Available Tools
463 tools across 42 categories. Tool names follow the pattern dokploy_{category}_{action}.
Category | Tools | Description |
| 1 | Admin operations |
| 9 | AI-powered features |
| 29 | Application deployment and management |
| 1 | Audit log access |
| 11 | Backup configuration and execution |
| 7 | Bitbucket integration |
| 4 | SSL certificate management |
| 4 | Cluster management |
| 28 | Docker Compose stack operations |
| 6 | Custom role permissions |
| 8 | Deployment operations |
| 6 | Deployment destinations |
| 7 | Container and image management |
| 9 | Domain management |
| 7 | Environment variables |
| 8 | Gitea integration |
| 2 | Generic Git provider |
| 6 | GitHub integration |
| 7 | GitLab integration |
| 6 | License management |
| 14 | MariaDB database management |
| 14 | MongoDB database management |
| 6 | Volume mounts |
| 14 | MySQL database management |
| 38 | Slack, email, Discord notifications |
| 11 | Organization management |
| 12 | Patch management |
| 4 | Port configuration |
| 14 | PostgreSQL database management |
| 4 | Preview deployments |
| 8 | Project and environment management |
| 14 | Redis cache management |
| 4 | Redirect rules |
| 7 | Docker registry management |
| 2 | Deployment rollback |
| 6 | Scheduled tasks |
| 4 | Security settings |
| 16 | Server provisioning and management |
| 49 | Server and application settings |
| 10 | SSO/OIDC/SAML configuration |
| 6 | SSH key management |
| 7 | Stripe billing |
| 3 | Docker Swarm mode |
| 20 | User and session management |
| 6 | Volume backup management |
| 4 | Whitelabel configuration |
Usage Examples
List all projects
dokploy_project_allGet Docker containers
dokploy_docker_getContainersGet 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_allGet server status
dokploy_settings_getDokployVersionRestart 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.jsTroubleshooting
"Unauthorized" Error
Your DOKPLOY_API_KEY is invalid or expired.
Go to Settings → API Keys in your Dokploy dashboard
Generate a new API key
Update the
DOKPLOY_API_KEYin your Claude Desktop configRestart Claude
"Connection Refused" Error
The server cannot reach your Dokploy instance.
Verify
DOKPLOY_URLis correct (must include/apiat the end)Check your Dokploy server is running and accessible
If behind a corporate firewall, set proxy environment variables:
export HTTP_PROXY=http://proxy.company.com:8080
export HTTPS_PROXY=http://proxy.company.com:8080Request Timeout Error
The request took too long and was aborted.
Increase the timeout by setting REQUEST_TIMEOUT_MS:
{
"mcpServers": {
"dokploy": {
"env": {
"DOKPLOY_URL": "https://your-dokploy.com/api",
"DOKPLOY_API_KEY": "your-api-key",
"REQUEST_TIMEOUT_MS": "60000"
}
}
}
}Enable Debug Logging
To see detailed request/response logs:
{
"mcpServers": {
"dokploy": {
"env": {
"DOKPLOY_URL": "https://your-dokploy.com/api",
"DOKPLOY_API_KEY": "your-api-key",
"DEBUG": "1"
}
}
}
}Debug output is written to stderr as JSON.
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:
Loads the embedded OpenAPI spec (1.4 MB, 463 endpoints)
Converts each endpoint to an MCP tool with Zod-validated input schema
Routes GET requests as tRPC queries and POST requests as tRPC mutations
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
Contributing
Want to modify or extend this MCP server? See CLAUDE.md for the development workflow, architecture overview, and contribution guidelines.
License
MIT
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jarciahdz111/dokploy-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server