DLH Logo

DbDeux · Model Context Protocol

DbDeux MCP for your AI assistant.

Connect Claude, Cursor, VS Code and any MCP client to your dbt projects and data warehouse data via DLH dbdeux. Ask about lineage, runs and metrics, and act only with the permissions you approve.

  • No API key
  • Per-permission consent
  • Read-only
  • Auditing enabled
  • Enterprise AI Ready
Claude · connected to dbdeuxsigned in as you

What feeds fct_orders, and what breaks if I change it?

projects:readlineage fct_orders
catalog:readnode detail · 3 parents, 4 children
runs:readlast run · success · 02:14 UTC

fct_orders builds from stg_orders, stg_payments and dim_customers. Changing it affects 4 downstream models, including the revenue metric used by 2 dashboards.

Every call above is recorded in your audit log.

Endpoint
Unique via your account's MCP tab
Sign-in
Browser sign-in, no API key
Unattended
Scoped service account tokens
Plan
Enterprise and Business Plans

What your assistant can do

The same answers you would dig for in the IDE, the job history and the catalog, asked in plain language from the tools you already use.

Understand your project

Browse models, lineage and catalog metadata, and read the compiled SQL for any model in any environment.

“What feeds fct_orders, and what breaks if I change it?”

Watch your jobs

Read scheduled jobs, run history, logs and artifacts, so your assistant can tell you what failed and where.

“Did last night's job fail, and where?”

Act, with your approval

Trigger existing jobs, run approved dbt commands, query governed metrics and run read-only SQL, only with the permissions you grant.

“What was revenue by region last month?”

Install

Connect your assistant

Use the server name dbdeux. Your organization's address goes wherever you see YOUR_MCP_ADDRESS.

  1. 1

    In DbDeux, open your organization and choose the MCP Server tab. Copy the connection address.

  2. 2

    In Claude, open Settings > Connectors and choose Add custom connector. Name it DbDeux and paste the address.

  3. 3

    Select Connect. Sign in to DbDeux in the browser window and approve the permissions this assistant gets.

Connector address

YOUR_MCP_ADDRESS

No API key. Claude opens DbDeux sign-in, and you approve each permission.

Running unattended?

For CI or a scheduled agent, create a token under Service Accounts and grant only the permissions that assistant needs. The token is shown once, so keep it in a secret manager. Service account tokens cannot run SQL.

Service accounts documentation
mcp.json (service account)
{
  "mcpServers": {
    "dbdeux": {
      "type": "http",
      "url": "YOUR_MCP_ADDRESS",
      "headers": { "Authorization": "Bearer ${DBDEUX_SERVICE_TOKEN}" }
    }
  }
}

You approve every permission

The consent screen lists each one. Approve only what the assistant needs; the rest never appear in its tool list.

Reading

  • projects:readList projects, models, and lineage
  • catalog:readBrowse catalog metadata and node detail
  • jobs:readList scheduled jobs and their settings
  • runs:readRead run history, logs, and artifacts
  • environments:readList environments, never their secret values
  • connections:readList connection names and types, never their secrets
  • semantic:readDiscover governed metrics, dimensions, and saved queries

Acting

  • jobs:writeCreate or change a scheduled job
  • jobs:runTrigger a job that already exists
  • dbt:runRun approved dbt commands, the same run as the editor's Run button
  • semantic:queryRun a governed metric query and read the results
  • sql:executeRun read-only SQL as you and read the rows it returns

Built for governed teams

Assistants work inside the same access rules, audit trail and plan controls as the rest of DbDeux.

Never more than you

An assistant can only see and do what your own DbDeux account can.

Permissions are never implied

A permission you did not approve does not even appear in the assistant's tool list.

Read-only SQL

One read-only query at a time, with capped rows and a timeout. Data-changing queries are refused before they reach your warehouse.

Every action audit logged

Actions carry your name, or the token's name for a service account, in the audit log.

Scoped service tokens

Per-token expiry, rate limits and optional IP allowlists. Service accounts cannot run SQL at all.

Revoke instantly

See every connected assistant, when it was authorized and last used. Revoking takes effect immediately.

Questions

Business plan and above

Bring your assistant to your dbt projects.

See DbDeux MCP answer questions about your own models, runs and metrics, with the permissions and audit trail your team already trusts.

  • Claude
  • Claude Code
  • Cursor
  • VS Code
  • Any MCP client