MCP.so
ログイン

Doris Mcp Server

@NomotoK

Doris Mcp Server について

A MCP server that supports Apache Doris for safe relational database queries (read-only)

基本情報

カテゴリ

その他

ライセンス

MIT license

ランタイム

python

トランスポート

stdio

公開者

NomotoK

設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "doris-mcp-server-nomotok": {
      "command": "uv",
      "args": [
        "venv",
        "#",
        "Create",
        "a",
        "virtual",
        "environment"
      ]
    }
  }
}

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is Doris Mcp Server?

Doris Mcp Server is a lightweight MCP server that connects LLMs and MCP clients to Apache Doris or MySQL-compatible databases. It exposes read-only SQL tools, database schema resources, and analytical prompt templates, enabling secure, standardized database interactions for AI applications.

How to use Doris Mcp Server?

Install via pip, setup.sh, or clone the source. Configure database connection in a .env file or directly in your MCP client’s configuration JSON. Launch the server with server doris://user:pass@localhost:9030/mydb (or python -m doris_mcp_server.server). Then connect with an MCP client like CherryStudio, Claude Desktop, or Cline to access tools and prompts.

Key features of Doris Mcp Server

  • Execute read-only SQL queries against Doris databases
  • Perform data analysis (yearly, monthly, daily)
  • Query database schemas, table structures, and resource usage
  • Built-in analytical prompt templates (general + user-defined)
  • Expose database schema as structured resources
  • Connection pooling and asynchronous execution

Use cases of Doris Mcp Server

  • Let an LLM explore a Doris schema to generate accurate queries
  • Build a chat interface that answers business analytics questions
  • Automate ad‑hoc data analysis reports via natural language
  • Enable secure, read‑only database access for AI assistants

FAQ from Doris Mcp Server

What dependencies does Doris Mcp Server require?

It requires Python, PyMySQL, and the MCP Python SDK. Installation via pip or uv handles these automatically.

Where does the server store data?

No data is stored locally. The server connects to your Doris/MySQL database; all data resides in that database.

What transport and authentication does it use?

It uses stdio transport (MCP default). Authentication is via a connection URL (doris://user:pass@host:port/db) or environment variables.

Is Doris Mcp Server production‑ready?

It is an early developer version. Some functions may have minor bugs. Use with caution in production.

What SQL operations are allowed?

Only read‑only queries are supported. Write operations (INSERT, UPDATE, DELETE, DDL) are not permitted.

コメント

「その他」の他のコンテンツ