Connect AI Agents to Databend
One MCP server. Full schema context. Works with Codex, Cursor, Claude Code, Gemini CLI, and any MCP-compatible agent.
1. Select Your Coding Agent
3. Enable Safe Mode
SAFE_MODEWhen enabled, blocks DROP, DELETE, TRUNCATE, ALTER, UPDATE, REVOKE operations
4. Run This Command in Your Terminal
codex mcp add databend -- -e DATABEND_DSN="databend://user:password@host:port/database?warehouse=your_warehouse" -e SAFE_MODE=false -- uv tool run mcp-databendPowered by specialized tools
10x faster
Lightning-fast SQL Generation
Generate complex SQL queries instantly based on natural language requirements.
Full introspection
Schema Exploration
Explore database schemas and validate query syntax with AI assistance.
Zero config
ETL Workflow Automation
Build ETL workflows with COPY, MERGE, and Stage operations.
Configuration Options
Fine-tune your MCP integration
DATABEND_DSN
Connection string to your Databend instance
SAFE_MODE
Block DROP/DELETE operations for safety
QUERY_TIMEOUT
Set query execution timeout limits


