MCP.so
登录

Doris MCP Server

@FreeOnePlus

基本信息

分类

其他

许可证

Apache-2.0

传输方式

stdio

作者

FreeOnePlus

关于 Doris MCP Server

Apache Doris MCP Server

Doris MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "doris-mcp-server-freeoneplus": {
      "command": "docker",
      "args": [
        "build",
        "-t",
        "doris-mcp-server",
        "."
      ]
    }
  }
}

Doris MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Doris MCP Server?

Doris MCP Server is a backend service built with Python and FastAPI that implements the Model Context Protocol (MCP). It connects to Apache Doris databases and can leverage Large Language Models (LLMs) for tasks like converting natural language queries to SQL (NL2SQL), executing queries, and performing metadata management and analysis.

How to use Doris MCP Server?

Install via pip install doris-mcp-server. Start the server in Streamable HTTP mode with database connection details (e.g., doris-mcp-server --transport http --db-host 127.0.0.1 --db-port 9030 --db-user root --db-password your_password) or in Stdio mode for direct integration with MCP clients like Cursor (doris-mcp-server --transport stdio). Configuration can also be set via environment variables.

Key features of Doris MCP Server

  • MCP protocol implementation with tool calls, resources, and prompts
  • Streamable HTTP and Stdio communication modes
  • Enterprise authentication with Token, JWT, and OAuth support
  • Web-based token management dashboard (localhost only)
  • Catalog federation support for multi-catalog environments
  • Enhanced SQL security validation and injection protection

Use cases of Doris MCP Server

  • Natural language to SQL conversion using LLMs over Doris data
  • Secure multi-tenant access to Apache Doris with token-bound database configuration
  • Metadata extraction and analysis across internal and external catalogs
  • Performance monitoring and query profiling with advanced analytics
  • Enterprise data governance with quality analysis, lineage tracking, and compliance

常见问题

1

What transport modes are supported?

The server supports two modes: Streamable HTTP (unified HTTP endpoint for both request/response and streaming) and Stdio (standard input/output for direct integration with MCP clients).

2

How is authentication handled?

Authentication can use Token, JWT, or OAuth mechanisms. A web-based token management dashboard (restricted to localhost) allows creation, revocation, and database binding of tokens.

3

What database does Doris MCP Server require?

It connects to an Apache Doris instance. Connection details (host, port, user, password, database) are required either via command-line arguments or environment variables.

4

What are the system requirements?

Python 3.12+ and an accessible Apache Doris database. The server is built on FastAPI and uses optional ADBC (Apache Arrow Flight SQL) for high‑performance data retrieval.

5

Can I use the token management interface remotely?

No. The token management dashboard is intentionally restricted to localhost (127.0.0.1 and ::1) for maximum security.

评论

其他 分类下的更多 MCP 服务器