mcp-doris

mcp-doris

13

The Apache Doris MCP Server is designed to integrate with Apache Doris, providing a command execution interface through the Model Context Protocol. It facilitates seamless operation and integration with databases using the MCP framework.

Apache Doris MCP Server

smithery badge

An MCP server for Apache Doris.

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