Skip to content
Apache Doris MCP Server

Apache Doris MCP Server

Released
5 views
v1.0.0
Apache-2.0

Summary

Apache's official read-only MCP server for Doris — eight tool domains and 55 progressively disclosed children covering catalog, query, cluster, lineage and lakehouse.

Features

  • Eight stable tool domains with 55 progressively disclosed children
  • Read-only catalogue — the admin domain is reserved, not registered
  • Query, explain, profile, diagnosis and slow-query inspection
  • Cluster nodes, metrics, memory, cache, compaction and workload groups
  • Data lineage, audit, quality and storage governance tools
  • Static token, JWT, OAuth/OIDC and Doris-backed OAuth authentication
  • MCP 2026-07-28 on both stdio and Streamable HTTP

Installation

Set up this MCP server in your favorite AI agent — copy a ready-made configuration below.

Any MCP-compatible agent

Most agents (Claude, Cursor, Windsurf, VS Code, and more) read a standard mcpServers configuration.

  1. Open your agent's MCP configuration file.
  2. Merge the snippet below into it, filling in the environment variables with your own values.
  3. Restart the agent — the "Apache Doris MCP Server" tools will be available.
{
  "mcpServers": {
    "apache-doris-mcp-server": {
      "command": "doris-mcp-server",
      "args": [
        "--transport",
        "stdio"
      ],
      "env": {
        "DORIS_HOST": "127.0.0.1",
        "DORIS_PORT": "9030",
        "DORIS_USER": "mcp_reader",
        "DORIS_PASSWORD": "<YOUR_PASSWORD>",
        "DORIS_DATABASE": "information_schema"
      }
    }
  }
}

Description

The Apache Doris MCP Server exposes the real-time analytics database to agents over the MCP 2026-07-28 specification, and its 1.0 release is a deliberate rebuild of the tool surface. Instead of dozens of flat tools competing for context, it presents eight stable domainsdoris_catalog, doris_query, doris_cluster, doris_pipeline, doris_search, doris_governance, doris_lakehouse and doris_semantic — each of which is called with {} to discover the authorised children and their exact schemas, then called again with a child_tool, arguments and the returned manifest_version. Fifty-five children sit underneath, covering everything from table context and query profiling through node metrics, compaction and workload groups to ingestion freshness, text/vector/hybrid search, data lineage, audit and external lakehouse catalogs. Hosts that cannot do progressive disclosure can set MCP_TOOL_EXPOSURE_MODE=flat.

The catalogue is read-only by designdoris_admin is reserved and not registered — and authorisation is explicit, with static tokens, JWT, external OAuth/OIDC and Doris-backed OAuth all supported, plus per-request RBAC against the Doris route.

Requires Python 3.12+, Apache Doris 2.0.0+ and network access to the FE MySQL endpoint (usually port 9030). Both stdio and Streamable HTTP are GA; a legacy HTTP adapter (ENABLE_LEGACY_HTTP_ADAPTER=true, /mcp/legacy) covers hosts still on the 2025-06-18 handshake. Apache 2.0 licensed.

Related MCP Servers

New

Official AntV MCP server that turns a description of your data into a rendered chart — 26 visualization types from bar and line to sankey, mind-map, fishbone and geographic maps.

Featured

InfluxData's official MCP server for InfluxDB 3 — schema discovery, bounded SQL and InfluxQL queries, line-protocol writes and token administration across Core, Enterprise and Cloud.

Browse all MCP servers →