Back to MCP directory
publicPublicdnsLocal runtime

mcp-doris

Apache Doris的MCP服务器实现,提供模型上下文协议服务,支持通过命令行和开发模式运行。

article

README

🚀 Apache Doris MCP 服务器

Apache Doris MCP 服务器是一个专为 Apache Doris 打造的 MCP 服务器,能为相关应用提供有力支持。

示例 smithery badge

🚀 快速开始

💻 使用示例

基础用法

名称: doris
类型: 命令
命令: DORIS_HOST=<doris-host> DORIS_PORT=<端口> DORIS_USER=<doris 用户名> DORIS_PASSWORD=<doris 密码> uv run --with mcp-doris --python 3.13 mcp-doris

🛠️ 开发

先决条件

  • 安装 uv

运行 MCP 检查器

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=<端口> DORIS_USER=<doris 用户名> DORIS_PASSWORD=<doris 密码> mcp dev mcp_doris/mcp_server.py

然后在浏览器中访问 http://localhost:5173

🚀 发布

uv build
uv publish
help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client