Doris MCP Server is a Python FastAPI backend service implementing the Model Context Protocol for secure Apache Doris database interactions, featuring NL2SQL conversion, metadata management, and enterprise-grade authentication.
Execute SQL query and return results.
Get detailed table structure information.
Get list of all table names in specified database.
Get list of all database names.
Get table comment information.
Get comment information for all columns in table.
Get index information for specified table.
Get audit log records for recent period.
Get list of all catalog names.
Get SQL execution plan with configurable content truncation and file export for LLM analysis.
Get SQL execution profile with content management and file export for LLM optimization workflows.
Get table data size information via FE HTTP API.
Get Doris monitoring metrics definitions and descriptions.
Get actual Doris monitoring metrics data from nodes with flexible BE discovery.
Get real-time memory statistics via BE Memory Tracker with auto/manual BE discovery.
Get historical memory statistics via BE Bvar interface with flexible BE configuration.
Comprehensive data quality analysis combining completeness and distribution analysis.
End-to-end column lineage tracking through SQL analysis and dependency mapping.
Real-time data staleness monitoring with configurable freshness thresholds.
User behavior analysis and security anomaly detection with access pattern monitoring.
Data flow impact analysis and dependency mapping between tables and views.
Performance bottleneck identification with top-N slow query analysis and patterns.
Capacity planning with resource growth analysis and trend forecasting.
High-performance SQL execution using ADBC (Arrow Flight SQL) protocol.
ADBC connection diagnostics and status monitoring for Arrow Flight SQL.
{
"mcpServers": {
"doris-stdio": {
"command": "doris-mcp-server",
"args": ["--transport", "stdio"],
"env": {
"DORIS_HOST": "127.0.0.1",
"DORIS_PORT": "9030",
"DORIS_USER": "root",
"DORIS_PASSWORD": "your_db_password"
}
},
"doris-http": {
"url": "http://127.0.0.1:3000/mcp"
}
}
}