Discover and explore top open-source AI tools and projects—updated daily.
apacheMCP server for Apache Doris database interaction and LLM integration
Top 98.3% on SourcePulse
Apache Doris MCP Server provides a Python-based backend service using FastAPI to enable sophisticated interactions with Apache Doris databases. It implements the Model Context Protocol (MCP), allowing clients to leverage Large Language Models (LLMs) for natural language to SQL (NL2SQL) conversion, query execution, metadata management, and data analysis. This offers a scalable, secure, and efficient gateway for data professionals and researchers to interact with Doris data.
How It Works
The server acts as an intermediary, translating client requests via the MCP into actions against Apache Doris. It employs a modular architecture with dedicated managers for tools, resources, and prompts. Communication is supported via streamable HTTP for robust web services and stdio for direct integration with clients like Cursor. Key architectural choices include a stateless multi-worker design for horizontal scalability and advanced connection pooling with session caching to reduce overhead. The system prioritizes security through comprehensive validation, role-based access control, and SQL injection protection.
Quick Start & Requirements
pip install doris-mcp-serverdoris-mcp-server --transport http --host 0.0.0.0 --port 3000 --db-host <doris_host> --db-port <doris_port> --db-user <doris_user> --db-password <doris_password>doris-mcp-server --transport stdioDORIS_HOST) or command-line arguments can be used.http://localhost:3000/token/management (requires specific environment variables and admin token).Highlighted Details
tokens.json) without service interruption.Maintenance & Community
No specific details regarding maintainers, community channels (like Discord/Slack), or roadmap were provided in the README.
Licensing & Compatibility
Limitations & Caveats
Small parameter LLMs may require specific prompt engineering to effectively utilize MCP tools, as detailed in the FAQ. The web-based token management interface is restricted to localhost access for security reasons.
2 months ago
Inactive