Skip to content
agents.store
devinfrastructure

dokploy-dev

Dokploy self-hosted PaaS development plugin (aligned with Dokploy v0.30.x). Deploy applications, provision 6 database types (Postgres, MySQL, MariaDB, MongoDB, Redis, LibSQL), manage domains and Docker Compose stacks, AND debug failed deployments end-to-end — reads runtime logs of every container (including each container in a Docker Compose stack) over the API/MCP with tail/since/search, plus AI-powered log analysis (ai-analyzeLogs), Docker container and host introspection (server health, events, disk usage, images, volumes), Traefik diagnosis, and a guided recovery chain. Complete MCP/REST coverage: all 604 operations across 57 categories indexed with params — covers per-service Docker network management, vault (external secrets) providers, DNS providers, forward-auth SSO domain protection, SCIM provisioning, build concurrency, and the auto-generated @dokploy/cli (604 commands incl. read-logs). Uses the official @dokploy/mcp server (secret fields are redacted by default since 0.30.0) plus debugging-focused slash commands including /compose-logs.

v1.7.4Updated

  • dokploy
  • paas
  • deployment
  • docker
  • self-hosted
  • applications
  • databases
  • domains
  • compose
  • traefik
  • backups
  • infrastructure
  • debugging
  • ai-analysis
  • log-analysis
  • runtime-logs
  • compose-logs
  • dokploy-v0.30
  • dev
  • agents-store

Install

Pick your agent for the steps.

Install on Claude Code

  1. 1.Add the marketplace

    /plugin marketplace add Agents-Store/claude-plugins
  2. 2.Install the plugin

    /plugin install dokploy-dev@agents-store-claude-plugins

    Type it inside Claude Code.

Claude Code install docs

What is inside

Skills (9)

  • ai-assist

    This skill should be used when the user wants AI-powered deployment debugging on Dokploy — wiring up an LLM provider (OpenAI, Anthropic, Gemini, Ollama, OpenRouter, etc.), summarising build logs with AI, or asking Dokploy for a next-step suggestion. Triggers: "analyze my failed deploy with AI", "ai analyze logs dokploy", "set up dokploy ai", "configure ai provider in dokploy", "why is dokploy not suggesting fixes", "dokploy ai-analyzeLogs", "dokploy ai-suggest".

  • api-reference

    This skill should be used when making direct HTTP/curl calls to the Dokploy API, looking up endpoint parameters, or building integrations that bypass the MCP server. Triggers: "dokploy API", "curl dokploy", "REST endpoint", "HTTP request to dokploy".

  • cli-recipes

    This skill should be used when running Dokploy operations from the terminal with the @dokploy/cli — authenticating, creating projects/apps, deploying, managing environment variables, provisioning databases, or reading logs via command line. Triggers: "dokploy cli", "dokploy command", "dokploy auth", "dokploy application deploy", "dokploy read-logs from terminal", "deploy dokploy from terminal".

  • debug-deploy

    End-to-end recovery of a failed or misbehaving Dokploy deployment, covering failed or errored builds, deployments stuck in running or queued, a redeploy marked done while the old version is still served, crash-looping containers, 502 and 504 after a deploy, safe rollback, and verifying the fix. Use it for any Dokploy deploy that is not working, in any language. For one known symptom use troubleshoot; for reading logs only use read-logs.

  • examples

    This skill should be used when learning how to deploy apps, provision databases, set up Docker Compose stacks, or debug a failed deployment on Dokploy. Provides end-to-end workflow walkthroughs. Triggers: "dokploy example", "how to deploy on dokploy", "dokploy tutorial", "dokploy walkthrough", "show me how to use dokploy", "dokploy debug example".

  • mcp-patterns

    This skill should be used when deploying applications, managing projects, provisioning databases, configuring domains, working with Docker Compose, or performing any Dokploy operation via MCP tools. Triggers: "deploy app", "create project", "add domain", "provision database", "dokploy compose", "manage dokploy".

  • read-logs

    This skill should be used whenever the user wants to read, tail, stream, or search Dokploy logs — application runtime logs, Docker Compose stack logs (every container), database logs, or deployment build logs — and especially to diagnose why something failed. Triggers: "read the logs", "show me the dokploy logs", "tail the logs", "compose logs", "all containers' logs", "container logs", "why is my app crashing", "why did my deploy fail — check the logs", "grep the logs for an error", "runtime logs", "build logs". Use it instead of telling the user logs aren't available over the API — since Dokploy v0.29.0 they are.

  • setup

    This skill should be used when verifying Dokploy MCP connection, CLI installation, and API access. Use when user says "set up dokploy", "verify dokploy connection", "check dokploy", "test dokploy access", or enables the dokploy-dev plugin for the first time.

  • troubleshoot

    Symptom-to-cause lookup for an app, domain, database or proxy on Dokploy - a domain that does not open or resolve, an SSL certificate error on a new domain, 502 or 404 from Traefik while the container runs (Traefik dashboard), connection refused between containers (internal hostname), a known deploy or compose error such as a registry pull or port conflict, Dokploy MCP or API errors such as missing tools or 401. Not for a full failed-deploy walkthrough (debug-deploy) or reading logs (read-logs).

Commands (14)

  • add-domain

    Add a custom domain to a Dokploy application

  • analyze

    AI-summarise a failed Dokploy deployment or a crashing container via the configured ai provider

  • cleanup

    Reclaim disk space on the Dokploy server with a guided cleanup chain

  • compose-logs

    Read the logs of EVERY container in a Dokploy Docker Compose stack and highlight errors

  • create-app

    Create a new application in a Dokploy project

  • create-db

    Create and deploy a database in a Dokploy project

  • create-project

    Create a new Dokploy project

  • debug

    Debug a failed or stuck Dokploy deployment with full decision-tree analysis

  • deploy

    Deploy or redeploy a Dokploy application or Docker Compose service

  • list-apps

    List all applications and services in a Dokploy project

  • list-projects

    List all Dokploy projects

  • logs

    Read runtime or build logs for a Dokploy application, compose stack, database, or deployment

  • rollback

    Roll a Dokploy application or compose stack back to a previous version

  • status

    Check Dokploy application or deployment status

Agents (1)

  • dokploy-assistant

    Dokploy development assistant for deploying applications, managing projects, provisioning databases, and configuring domains on a self-hosted Dokploy PaaS instance. <example> Context: User wants to deploy a web application from GitHub user: "Deploy my Next.js app from github.com/myorg/myapp to Dokploy with a custom domain" assistant: "I'll create a project, set up the application with your GitHub repo, configure the domain, and deploy it." <commentary>Full deployment workflow: create project, create app, connect git, set build type, add domain, deploy.</commentary> </example> <example> Context: User needs to debug a failed deployment user: "My deployment is failing with a build error, can you check what's wrong?" assistant: "I'll run the full debug-deploy workflow: locate the failed run, read the build log (or per-container runtime logs for a compose stack), inspect the container and Traefik, AI-summarise if a provider is configured, then recommend a recovery action." <commentary>Diagnostic workflow: deployment-all → deployment-readLogs (build) or application-readLogs / per-container compose-readLogs (runtime) → docker-getContainersByAppLabel/Match → docker-getConfig → application-readTraefikConfig → ai-analyzeLogs {aiId,logs,context} (if enabled) → killBuild/redeploy/rollback. Use `/dokploy-dev:debug`, or `/dokploy-dev:compose-logs` to read every container.</commentary> </example> <example> Context: User's deploy "succeeded" but the live site is unchanged user: "I deployed but nothing changed on production" assistant: "Likely a compose-mode mismatch — the standalone application deployed but production runs from a compose service. I'll check the project layout and deploy the compose resource instead." <commentary>Common silent-failure pattern. Inspect project-one for both an application AND a compose service; if compose exists, deploy compose instead of the standalone app.</commentary> </example> <example> Context: User wants to set up AI-powered log analysis user: "Can Dokploy summarise build errors for me using AI?" assistant: "Yes — I'll wire up an AI provider via the ai-* router, test the connection, and from then on `/dokploy-dev:analyze` runs ai-analyzeLogs against any failed deployment." <commentary>v0.29 AI router: ai-create → ai-testConnection → ai-analyzeLogs. Provider-agnostic, OpenAI-compatible. See the `ai-assist` skill.</commentary> </example> <example> Context: User wants to provision a database with backups user: "Set up a PostgreSQL database for my project with daily backups" assistant: "I'll create a PostgreSQL instance, deploy it, configure external access, and set up automated backups." <commentary>Database provisioning workflow: create instance, deploy, configure external port, set up automated backup schedule.</commentary> </example>

MCP servers (1)

  • dokploy stdio

README

Dokploy self-hosted PaaS development plugin for Claude Code. Deploy applications, provision databases, manage domains, Docker Compose stacks, backups, server operations — and debug failed deployments end-to-end with AI-powered log analysis.

Uses the official @dokploy/mcp server (maintained by the Dokploy team). Aligned with Dokploy v0.30.x (OpenAPI verified on v0.30.7; upstream latest v0.30.8).

Reads runtime logs of every container — including each container in a Docker Compose stack — over the API/MCP (no SSH/Beszel), and diagnoses errors end-to-end.

Interfaces

InterfacePackageTools/EndpointsLogs/debug?
MCP Server@dokploy/mcp604 tools across 57 categories (secret fields redacted by default)✅ runtime + build logs, AI analysis, docker introspection
REST API—604 endpoints (OpenAPI v0.30.7)✅ GET /api/*.readLogs
CLI@dokploy/cli604 auto-generated commands in 57 groups (dokploy <group> <action>), 1:1 with the API✅ <group> read-logs commands

Skills

SkillDescription
setupVerify MCP connection, CLI installation, and API access
mcp-patternsCore MCP tools by category with usage patterns, Docker networks, vault/DNS providers, and the redaction rules (filterable via DOKPLOY_TOOL_PRESET / DOKPLOY_ENABLED_TAGS)
api-referenceREST API endpoint reference: two exhaustive operation indexes (604 operations) plus 7 curated reference files (projects/apps, databases, domains, compose/docker, server/settings, ai-and-debugging, schedule-patch-previews)
cli-recipesAuto-generated CLI (0.30.x): auth, command model, provisioning + read-logs recipes
read-logsRead runtime + build logs of any resource — app, every container in a Compose stack, database, or deployment — with tail/since/search and AI-triage handoff
debug-deployEnd-to-end failed-deployment decision tree — failed-run lookup → build/runtime logs → container/Traefik inspection → AI summary → recovery
ai-assistConfigure AI providers and call ai-analyzeLogs / ai-suggest for log analysis and recommendations
troubleshootSymptom-to-cause reference table (domain, database, Docker, Traefik, MCP issues)
examplesEnd-to-end deployment AND debug scenarios with concrete tool chains

Commands

CommandDescription
/dokploy-dev:list-projectsList all projects
/dokploy-dev:list-appsList applications in a project
/dokploy-dev:create-projectCreate a new project
/dokploy-dev:create-appCreate an application in a project
/dokploy-dev:create-dbCreate a managed database (Postgres, MySQL, MariaDB, Mongo, Redis, LibSQL)
/dokploy-dev:add-domainAttach a domain (with HTTPS) to an application or compose stack
/dokploy-dev:deployDeploy or redeploy an application or compose stack (detects compose-mode mismatch)
/dokploy-dev:statusCheck current state and recent deployments
/dokploy-dev:debugFull failed-deploy decision tree — locate, log, container, Traefik, AI, recover
/dokploy-dev:logsRead runtime/build logs for any resource (app / db / deployment) with tail/since/search
/dokploy-dev:compose-logsRead EVERY container's logs in a Compose stack and highlight errors per container
/dokploy-dev:analyzeAI-summarise a failure (fetches the log text, then ai-analyzeLogs) via the configured ai-* provider
/dokploy-dev:rollbackRoll an application or compose stack back to a previous version
/dokploy-dev:cleanupGuided disk-space cleanup chain with per-step confirmation

Debugging Workflow

When a deploy fails, the canonical path is:

/dokploy-dev:debug [resource]

The command runs through debug-deploy/SKILL.md:

  1. Step 0 — platform health (settings-checkInfrastructureHealth, getDockerDiskUsage, and on v0.30+ docker-getServerHealth / docker-getEvents for inotify limits, disk, memory/CPU reservations, network IP-pool usage and daemon events)
  2. Step 1 — locate the failed run (deployment-all, save deploymentId)
  3. Step 2 — read the logs (all over MCP/REST/CLI): build → deployment-readLogs { deploymentId, tail }; app runtime → application-readLogs { applicationId, tail, since, search }; Compose → every container via docker-getContainersByAppNameMatch then compose-readLogs { composeId, containerId } per container (/dokploy-dev:compose-logs); db → {type}-readLogs
  4. Step 3 — inspect the container (docker-getContainersByAppLabel { appName, type }, docker-getConfig — its Env is [REDACTED] unless DOKPLOY_REDACT_ENV=false)
  5. Step 4 — check Traefik routing (application-readTraefikConfig)
  6. Step 5 — recover with the smallest safe action (killBuild / cleanQueues / deployment-removeDeployment / rollback-rollback)
  7. Step 6 — AI-summarise (ai-analyzeLogs { aiId, logs, context } if a provider is configured — see ai-assist)
  8. Step 7 — verify (application-redeploy, poll deployment-all, curl the endpoint)

/dokploy-dev:analyze is the one-shot AI wrapper; /dokploy-dev:compose-logs reads every container in a stack.

Dokploy v0.30 coverage

v0.30 added features this plugin documents (tool tables in mcp-patterns, per-operation params in the api-reference indexes):

  • Docker networks — network-* (create/inspect/remove/recreate/resync/import) and per-service attachment: networkIds + detachDokployNetwork on application-update and the six database *-update tools, serviceNetworks on compose-update. Replaces the now-deprecated Isolated Deployment (compose-isolatedDeployment).
  • Vault (secrets) providers — vaultProvider-*; env values like DB_PASSWORD=${{vault.<provider>.<ref>}} are resolved at deploy time and never stored in Dokploy. Providers: HashiCorp Vault / OpenBao, Infisical, AWS Secrets Manager, AWS Parameter Store, Doppler, Azure Key Vault, Scaleway, Phase.
  • DNS providers — dnsProvider-* (Cloudflare, Route 53, Porkbun, Infomaniak, OVHcloud): browse zones and manage records; domain-toggleEnable switches a domain off without deleting it.
  • Docker host diagnostics — docker-getServerHealth, docker-getEvents, dockerDiskUsage-*, dockerImage-*, dockerVolume-*, docker-listContainerFiles / docker-readContainerFile (read-only parts are safe for /dokploy-dev:debug).
  • Overview and fresh volumes — overview-services / overview-backups / overview-domains, server-getServices, and freshVolumes on compose-deploy / compose-redeploy.

Removed in v0.30: settings-cleanRedis / settings-reloadRedis were removed in v0.30.0 (Dokploy no longer uses Redis). domain-validateDomain: serverIp was replaced by serverId in v0.30. settings-cleanAll now runs in the background (it returns { status: "scheduled" }) and does containers + image prune --all + builder + system prune --all, never volumes or monitoring data.

Agent

  • dokploy-assistant — Developer assistant for deploying apps, managing projects, provisioning databases, configuring domains, AND running the full debug workflow on failed deploys

Prerequisites

  • A running Dokploy instance
  • Dokploy API key (generate in Dokploy dashboard under user settings)
  • Recommended Dokploy server >= v0.30.0 (includes the v0.29.13 command-injection/IDOR security batch and the 20 fixes backported in its hotfix, the Route53 SSRF and compose serviceName command-injection fixes, and Traefik 3.6.25). The v0.30 features listed above (networks, vault/DNS providers, Docker host diagnostics) need a v0.30 server

Configuration

The plugin reads two environment variables, used across all three interfaces:

VariableDescriptionUsed by
DOKPLOY_URLDokploy server base URL without /api (e.g. https://dokploy.example.com). MCP/REST endpoints live at /api/… under itMCP, REST API
DOKPLOY_API_KEYDokploy access token (Settings > API/Tokens)MCP, REST API

.mcp.json injects these into the @dokploy/mcp server via ${DOKPLOY_URL} / ${DOKPLOY_API_KEY} — set them in your Claude Code environment (e.g. the env block of .claude/settings.local.json, or your shell). The CLI reads the same DOKPLOY_URL/DOKPLOY_API_KEY env vars directly (or dokploy auth -u <url> -t <token> to persist them).

Secrets are redacted by default. @dokploy/mcp ≥ 0.30.0 sets DOKPLOY_REDACT_ENV=true, so MCP responses show [REDACTED] instead of env, passwords and tokens — you can still write them (application-saveEnvironment), but not read them back. Direct REST/CLI calls are not redacted. Details and a names-only recipe: "Redaction" in the mcp-patterns skill.

After changing either value, restart Claude Code or reconnect the dokploy MCP server (/mcp → reconnect) — a stdio MCP server reads its env once at startup. Symptoms of a stale process: "Invalid URL" (empty DOKPLOY_URL) or 401 (bad key).

Optional env vars (set in .mcp.json env block)

VariablePurpose
DOKPLOY_TOOL_PRESETPredefined toolset (@dokploy/mcp ≥ 0.30.0): all (default), minimal = project + application, core = project + server + application, deploy = project + environment + server + application + compose + domain + deployment, databases = postgres + redis + mysql + mariadb + mongo + libsql, git = github + gitlab + bitbucket + gitea + gitProvider + registry + sshKey. An unknown value falls back to all with a warning. The server logs a warning above 150 tools. No preset includes docker, ai, settings, rollback or schedule — for /dokploy-dev:debug use DOKPLOY_ENABLED_TAGS or add them back (see below)
DOKPLOY_ENABLED_TAGSComma-separated category filter (e.g. project,application,domain,compose,postgres,deployment,docker,settings,ai,rollback,schedule) to reduce the exposed tool surface from 604 down to what you actually need. Takes priority over DOKPLOY_TOOL_PRESET. Include ai and docker to keep the /dokploy-dev:debug workflow working
DOKPLOY_DISABLED_TAGSComma-separated categories to drop from the selected toolset (≥ 0.30.0). Applied last, after the preset or DOKPLOY_ENABLED_TAGS — e.g. DOKPLOY_TOOL_PRESET=deploy + DOKPLOY_DISABLED_TAGS=domain
DOKPLOY_CUSTOM_HEADERSJSON object of extra headers sent to the upstream Dokploy API (string values only; x-api-key, content-type and accept are reserved and rejected)
DOKPLOY_REDACT_ENVDefault true in @dokploy/mcp ≥ 0.30.0 (it was false before 0.30): every response field whose name ends in env, buildArgs, composeFile, password, token, apiKey, secret, privateKey, … comes back as [REDACTED]. That includes the env of application-one / compose-one / {db}-one, the Env of docker-getConfig, and 27 whole operations in settings-getOpenApiDocument. Set DOKPLOY_REDACT_ENV=false only when you knowingly want raw values in the model context. See "Redaction" in the mcp-patterns skill
DOKPLOY_REDACT_FIELDSComma-separated response field names to redact when DOKPLOY_REDACT_ENV=true; replaces the built-in default list (not additive). Matched case-insensitively as a key suffix at any nesting depth
MCP_TRANSPORTstdio (default); http for Streamable HTTP (+ legacy SSE)
DOKPLOY_TIMEOUTPer-request timeout in ms (default 30000)
DOKPLOY_RETRY_ATTEMPTSRetry count on transient failure (default 3)
DOKPLOY_RETRY_DELAYRetry backoff in ms (default 1000)

Optional: CLI

npm install -g @dokploy/cli
dokploy auth -u https://dokploy.example.com -t <API_KEY>   # or just export DOKPLOY_URL / DOKPLOY_API_KEY