druid-mcp-server
v2.0.3AI-powered MCP server for Apache Druid cluster management and analytic
Values you need
| Variable | What it is | |
|---|---|---|
DRUID_ROUTER_URL | required | Druid router URL for connecting to the Druid cluster |
DRUID_COORDINATOR_URL | optional | Druid coordinator URL for querying metadata endpoints (optional) |
DRUID_AUTH_USERNAME | optional | Username for Druid authentication (optional) |
DRUID_AUTH_PASSWORD | optional secret | Password for Druid authentication (optional) |
DRUID_SSL_ENABLED | optional | Enable SSL/TLS support for Druid connections |
DRUID_SSL_SKIP_VERIFICATION | optional | Skip SSL certificate verification (for development/testing only) |
Docker discovery passed
Requires Docker
Run in a terminal
claude mcp add druid-mcp-server -e 'DRUID_ROUTER_URL=<DRUID_ROUTER_URL>' -- docker run -i --rm -e DRUID_ROUTER_URL docker.io/iunera/druid-mcp-server:2.0.3Add to
claude_desktop_config.json{
"mcpServers": {
"druid-mcp-server": {
"args": [
"run",
"-i",
"--rm",
"-e",
"DRUID_ROUTER_URL",
"docker.io/iunera/druid-mcp-server:2.0.3"
],
"command": "docker",
"env": {
"DRUID_ROUTER_URL": "<DRUID_ROUTER_URL>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"druid-mcp-server": {
"args": [
"run",
"-i",
"--rm",
"-e",
"DRUID_ROUTER_URL",
"docker.io/iunera/druid-mcp-server:2.0.3"
],
"command": "docker",
"env": {
"DRUID_ROUTER_URL": "<DRUID_ROUTER_URL>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "DRUID_ROUTER_URL",
"id": "druid-router-url",
"password": true,
"type": "promptString"
}
],
"servers": {
"druid-mcp-server": {
"args": [
"run",
"-i",
"--rm",
"-e",
"DRUID_ROUTER_URL",
"docker.io/iunera/druid-mcp-server:2.0.3"
],
"command": "docker",
"env": {
"DRUID_ROUTER_URL": "${input:druid-router-url}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.druid-mcp-server]
command = "docker"
args = ["run", "-i", "--rm", "-e", "DRUID_ROUTER_URL", "docker.io/iunera/druid-mcp-server:2.0.3"]
env = { "DRUID_ROUTER_URL" = "<DRUID_ROUTER_URL>" }For AI agents
- Ask the user for: DRUID_ROUTER_URL. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: getCompactionConfig, getCompactionStatus, getDatasources, getLookups, queryDruidSql, getRetentionRules, getSegmentLoadQueue, getSegments, ….
- If it fails, check that the required runtime is installed (Docker) and that the values above are set.
Machine-readable: install.md · manifest.json