AWS MarketplaceLearn more
Skip to main content
AI-Powered Database Integration

Connect AI Agents to Databend

One MCP server. Full schema context. Works with Codex, Cursor, Claude Code, Gemini CLI, and any MCP-compatible agent.

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

1

Select Your Coding Agent

2

Enter Your Databend DSN

Get My DSN

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

3

Enable Safe Mode

SAFE_MODE
When enabled, blocks DROP, DELETE, TRUNCATE, ALTER, UPDATE, REVOKE operations
4

Run This Command in Your Terminal

codex mcp add databend \
  --env DATABEND_DSN='databend://user:password@host:port/database?warehouse=your_warehouse' \
  --env 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.

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