# Dokploy MCP server

> Exposes all Dokploy API endpoints as tools to allow AI clients to manage projects, applications, databases, and Docker configurations.

- Repository: https://github.com/Dokploy/mcp
- Page: https://hostedmcp.org/servers/dokploy/mcp
- Transport: stdio
- Stars: 430

## Install

### Claude Code

```sh
claude mcp add mcp -- npx -y @ahdev/dokploy-mcp
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@ahdev/dokploy-mcp"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@ahdev/dokploy-mcp"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"mcp","type":"stdio","command":"npx","args":["-y","@ahdev/dokploy-mcp"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@ahdev/dokploy-mcp"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add mcp -- npx -y @ahdev/dokploy-mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.mcp]
command = "npx"
args = ["-y", "@ahdev/dokploy-mcp"]
```

### Gemini CLI

```sh
gemini mcp add -s user mcp npx -- -y @ahdev/dokploy-mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@ahdev/dokploy-mcp"
      ]
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `DOKPLOY_API_KEY` | no | no |  |
| `DOKPLOY_CUSTOM_HEADERS` | no | no |  |
| `DOKPLOY_DISABLED_TAGS` | no | no |  |
| `DOKPLOY_ENABLED_TAGS` | no | no |  |
| `DOKPLOY_TOOL_PRESET` | no | no |  |
| `DOKPLOY_URL` | no | no |  |
| `MCP_TRANSPORT` | no | no |  |

## Tools (6)

- `all`
- `minimal`
- `core`
- `deploy`
- `databases`
- `git`

## FAQ

### Does this server support HTTP transport?

Yes, it supports both stdio for desktop applications and HTTP/HTTPS for web applications, including modern Streamable HTTP and legacy SSE.
