Skip to content
dbt-labs avatar

Configuring Dbt Mcp Server

Generates MCP server configuration for dbt, resolves authentication, and validates connectivity for AI clients.

CCM score
73 of 100
skills.sh installs
1.1K
GitHub stars
774
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers local and remote dbt MCP server setup, with a decision flow for choosing between them
  • Includes JSON templates for CLI-only, platform OAuth, token auth, and .env file configurations
  • Enforces environment variable references like ${DBT_TOKEN} and .gitignore for .env files to keep credentials out of version control
  • Designed for setting up or troubleshooting the dbt MCP server in Claude Desktop, Claude Code, Cursor, or VS Code

Install

$ npx -y skills add dbt-labs/dbt-agent-skills --skill configuring-dbt-mcp-server -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Configure dbt MCP Server

Overview

The dbt MCP server connects AI tools to dbt's CLI, Semantic Layer, Discovery API, and Admin API. This skill guides users through setup with the correct configuration for their use case.

Decision Flow

flowchart TB
    start([User wants dbt MCP]) --> q1{Local or Remote?}
    q1 -->|dev workflows,<br>CLI access needed| local[Local Server<br>uvx dbt-mcp]
    q1 -->|consumption only,<br>no local install| remote[Remote Server<br>HTTP endpoint]
    local --> q2{Which client?}
    remote --> q2
    q2 --> claude_desktop[Claude Desktop]
    q2 --> claude_code[Claude Code]
    q2 --> cursor[Cursor]
    q2 --> vscode[VS Code]
    claude_desktop --> config[Generate config<br>+ test setup]
    claude_code --> config
    cursor --> config
    vscode --> config

Questions to Ask

1. Server Type

Ask: "Do you want to use the local or remote dbt MCP server?"

Details

Repository
github.com/dbt-labs/dbt-agent-skills
Categories
Data Science & Analytics, Databases
First seen
Jun 3, 2026

Questions

What does the configuring-dbt-mcp-server skill do?

It generates MCP server configuration JSON for dbt, resolves authentication setup, and validates server connectivity. It helps you set up or troubleshoot the dbt MCP server for AI tools such as Claude Desktop, Claude Code, Cursor, or VS Code.

How do I install the configuring-dbt-mcp-server skill?

Run this command in a project: npx -y skills add dbt-labs/dbt-agent-skills --skill configuring-dbt-mcp-server -y. After installing, the agent loads the skill when your prompt asks to set up or configure the dbt MCP server.

Should I use the local or remote dbt MCP server?

The skill asks this first. The local server runs on your machine via uvx and supports dbt CLI commands such as run, build, and test. The remote server connects over HTTP to the dbt platform and suits consumption tasks like querying metrics and exploring metadata, but it has no CLI commands.

What do I need before configuring the dbt MCP server?

For a local server you need uv installed and a dbt project, plus the DBT_PROJECT_DIR and DBT_PATH paths. For a remote server you need a dbt Cloud account with AI features enabled, a production environment ID, and a personal access token or service token.

More from dbt-labs/dbt-agent-skills

All 12

Similar to Configuring Dbt Mcp Server

More Data Science & Analytics