mcp-doris
by: morningman
An MCP server for Apache Doris & VeloDB
📌Overview
Purpose: To provide an MCP server that facilitates communication and interaction with the Apache Doris database.
Overview: The Apache Doris MCP Server is designed to streamline the integration of the Model Context Protocol (MCP) with Apache Doris, enabling developers to build efficient applications leveraging Doris's capabilities.
Key Features:
-
MCP Support: Implements the Model Context Protocol, allowing for structured interaction with Apache Doris and facilitating easier data management and retrieval.
-
Development Flexibility: Includes a setup that supports synchronization and development utilities, making it easy for developers to inspect and interact with the MCP services.
Apache Doris MCP Server
An MCP server for Apache Doris.
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
Prerequisite
- 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 a web browser.
Publish
uv build
uv publish