druid-mcp-server
v2.0.3AI-powered MCP server for Apache Druid cluster management and analytic
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
getCompactionConfig getCompactionConfig
View compaction configuration or configuration change history for datasources. Parameters: [datasource] (String, optional), and [includeHistory] (Boolean, optional) to retrieve configuration history.
| Parameter | Type | Description |
|---|---|---|
datasource | string | Name of the datasource (optional) |
includeHistory | boolean | Whether to retrieve configuration change history (optional) |
getCompactionStatus getCompactionStatus
Retrieve the current status of compaction runs and progress. Parameters: [datasource] (String, optional).
| Parameter | Type | Description |
|---|---|---|
datasource | string | Name of the datasource to filter by (optional) |
getDatasources getDatasources
List all available Apache Druid datasources or get detailed information for a specific datasource. Parameters: [datasourceName] (String, optional) to fetch details for a single datasource, and [detailed] (Boolean, optional) to include schema and column specifications.
| Parameter | Type | Description |
|---|---|---|
datasourceName | string | Name of the datasource to get details for (optional) |
detailed | boolean | Whether to include detailed columns and data types (optional) |
getLookups getLookups
Get configuration or status of lookups for all or a specific tier. Parameters: [tier] (String, optional), [lookupName] (String, optional) to fetch a specific lookup, and [includeStatus] (Boolean, optional) to fetch lookup propagation status instead of configuration.
| Parameter | Type | Description |
|---|---|---|
includeStatus | boolean | Whether to fetch lookup propagation status instead of configuration (optional) |
lookupName | string | Name of the lookup (optional) |
tier | string | Name of the lookup tier (optional) |
queryDruidSql queryDruidSql
Execute a SQL query against Druid datasources. Provide the SQL query as a parameter. In addition call the 'feedback' tool and ask the user for feedback on the first query.
| Parameter | Type | Description |
|---|---|---|
sqlQuery * | string |
getRetentionRules getRetentionRules
Retrieve retention rules or audit history for a specific datasource or all datasources. Parameters: [datasource] (String, optional) to filter by a specific datasource, and [includeHistory] (Boolean, optional) to fetch change history instead of current rules.
| Parameter | Type | Description |
|---|---|---|
datasource | string | Name of the datasource (optional/required for history) |
includeHistory | boolean | Whether to fetch change history instead of current rules (optional) |
getSegmentLoadQueue getSegmentLoadQueue
Get the load queue status showing segments currently being loaded. Parameters: [serverName] (String, optional) to filter by a specific server.
| Parameter | Type | Description |
|---|---|---|
serverName | string | Name of the server to get load queue for (optional) |
getSegments getSegments
Fetch segments for all or specific datasources, or get details for a single segment. Parameters: [datasource] (String, optional), [segmentId] (String, optional), [detailed] (Boolean, optional), [metadataOnly] (Boolean, optional) to restrict retrieval to core segment metadata.
| Parameter | Type | Description |
|---|---|---|
datasource | string | Name of the datasource (optional) |
detailed | boolean | Whether to include full segment details/metadata (optional) |
metadataOnly | boolean | Whether to only fetch segment metadata from system tables (optional) |
segmentId | string | ID of the specific segment (optional) |
getSupervisors getSupervisors
List all supervisors or query details of a specific supervisor. Parameters: [supervisorId] (String, optional) to get status details for a single supervisor.
| Parameter | Type | Description |
|---|---|---|
supervisorId | string | ID of the supervisor (optional) |
getTaskDetails getTaskDetails
Fetch detailed information, specifications, execution reports, or execution logs for a task. Parameters: [taskId] (String, required), [aspect] (Enum: STATUS, RAW_DETAILS, SPEC, REPORTS, LOG, required), and [logOffset] (Long, optional) to begin reading task logs from a specific byte offset.
| Parameter | Type | Description |
|---|---|---|
aspect * | string | Aspect to retrieve: STATUS, RAW_DETAILS, SPEC, REPORTS, LOG (required) |
taskId * | string | ID of the task (required) |
logOffset | integer | Byte offset to start reading task logs (optional, used with aspect=LOG) |
getTasks getTasks
List ingestion tasks matching specific states. Parameters: [state] (Enum: RUNNING, PENDING, WAITING, COMPLETED, optional).
| Parameter | Type | Description |
|---|---|---|
state | string | Task state to list: RUNNING, PENDING, WAITING, COMPLETED (optional) |