Skip to main content

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

2. Enter Your Databend DSN

Format: databend://user:password@host:port/database?warehouse=wh

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-databend

Powered 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

732 S 6TH ST, STE R, Las Vegas, NV 89101, USA
SOC 2 Type IIGDPR
© 2025 Databend Cloud. All Rights Reserved.