drio
Open app

Apache Doris MCP Server

Source

An MCP server for Apache Doris & VeloDB

Catalog onlyCatalog onlySTDIO

Overview

Apache Doris MCP Server is a server designed for managing and interacting with Apache Doris, a high-performance analytical database. It facilitates the Model Context Protocol (MCP) for seamless data operations.

To use the server, set up the necessary environment variables for your Doris instance and run the MCP server using the provided command. You can also access the MCP Inspector via a web browser after running the server.

  • Integration with Apache Doris for efficient data management. - Command-line interface for executing database commands. - Web-based MCP Inspector for monitoring and managing database operations.
  1. Managing large datasets in real-time analytics.
  2. Facilitating data operations for data science applications.
  3. Providing a robust backend for data-driven applications.

Add to your AI client

Use these steps to connect Apache Doris MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "mcp-mysql-beat4ocean": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-mysql-beat4ocean"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "mcp-mysql-beat4ocean": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-mysql-beat4ocean"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-mysql-beat4ocean": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-mysql-beat4ocean"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mcp-mysql-beat4ocean": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-mysql-beat4ocean"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-mysql-beat4ocean": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-mysql-beat4ocean"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-mysql-beat4ocean": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-mysql-beat4ocean"
      ]
    }
  }
}

FAQ

What is the purpose of the MCP Server?

The MCP Server allows users to interact with Apache Doris using the Model Context Protocol, simplifying data management tasks.

Is there a graphical interface available?

Yes, the MCP Inspector provides a web-based interface for easier management of your database operations.

What are the prerequisites for running the server?

You need to install the 'uv' package and set up the necessary environment variables for your Doris instance.