Apache Doris MCP Server logo

Apache Doris MCP Server

by morningman

An MCP server for Apache Doris. It allows interaction with Apache Doris using the Model Context Protocol.

View on GitHub

Last updated: N/A

Apache Doris MCP Server

An MCP server for Apache Doris.

Demo

Demo

Usage

Cursor

Name: doris
Type: command
Command: DORIS_HOST=<doris-host> DORIS_PORT=<port> DORIS_USER=<doris-user> DORIS_PASSWORD=<doris-pwd> uv run --with mcp-doris --python 3.13 mcp-doris

Development

Prerequest

  • install uv

Run MCP Inspector

cd /path/to/mcp-doris
uv sync
source .venv/bin/activate
export PYTHONPATH=/path/to/mcp-doris:$PYTHONPATH
env DORIS_HOST=<doris-host> DORIS_PORT=<port> DORIS_USER=<doris-user> DORIS_PASSWORD=<doris-pwd> mcp dev mcp_doris/mcp_server.py

Then visit http://localhost:5173 in web browser.

Publish

uv build
uv publish