Loading languages...
DR

druid-mcp-server

@iunera3

A comprehensive Model Context Protocol (MCP) server for Apache Druid that provides extensive tools, resources, and AI-assisted prompts for managing and analyzing Druid clusters. Built with Spring Boot and Spring AI, this server enables seamless integration between AI assistants and Apache Druid through standardized MCP protocol.

Spring Boot
Spring AI
Apache Druid
MCP Server
AI-Assisted Prompts

Druid MCP Server

A comprehensive Model Context Protocol (MCP) server for Apache Druid, enabling AI assistants to manage and analyze Druid clusters. Built with Spring Boot and Spring AI, it supports STDIO and SSE transports.

Features

  • Tool-based architecture for MCP compliance
  • STDIO and SSE transport support
  • Customizable AI prompts
  • Druid cluster management tools

Quick Start

mvn clean package -DskipTests
java -jar target/druid-mcp-server-1.0.0.jar

Installation

Available via Maven Central, Docker, or direct JAR download. See GitHub README for details.

# mcpServer Config

{
  "mcpServers": {
    "druid-mcp-server": {
      "command": "java",
      "args": [
        "-Dspring.ai.mcp.server.stdio=true",
        "-Dspring.main.web-application-type=none",
        "-Dlogging.pattern.console=",
        "-jar",
        "target/druid-mcp-server-1.0.0.jar"
      ],
      "env": {
        "DRUID_ROUTER_URL": "http://localhost:8888",
        "DRUID_AUTH_USERNAME": "your-username",
        "DRUID_AUTH_PASSWORD": "your-password",
        "DRUID_SSL_ENABLED": "true",
        "DRUID_SSL_SKIP_VERIFICATION": "false"
      }
    }
  }
}

# stdio

java -Dspring.ai.mcp.server.stdio=true -Dspring.main.web-application-type=none -Dlogging.pattern.console= -jar target/druid-mcp-server-1.0.0.jar

# sseURL

http://localhost:8080
Transport:
stdio
sse
Language:
Java
Created: 6/27/2025
Updated: 7/29/2025