Agent skill

Configuring Dbt MCP Server

by Kilo-Org in Kilo-Org/kilo-marketplace

Generates MCP server configuration JSON, resolves authentication setup, and validates server connectivity for dbt.

Apache-2.0Auto-check: notesData & Analytics

Install Configuring Dbt MCP Server

skills CLI
$ npx skills add Kilo-Org/kilo-marketplace --skill configuring-dbt-mcp-server -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Kilo-Org/kilo-marketplace configuring-dbt-mcp-server --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Kilo-Org/kilo-marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/dbt/skills/configuring-dbt-mcp-server .claude/skills/configuring-dbt-mcp-server && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
configuring-dbt-mcp-server
GitHub stars
190
Token cost
~2.5k tokens
SKILL.md length
745 words
Files
4 (incl. references)
Skills in repo
85
Repo updated
First seen
Licence
Apache-2.0

At a glance

Generates MCP server configuration JSON, resolves authentication setup, and validates server connectivity for dbt.

  • Works in 4 steps: Server Type → MCP Client → Use Case (Local Server Only) → …
  • Troubleshooting the dbt MCP server for compatible MCP clients
  • SKILL.md covers Overview, Decision Flow, Questions to Ask and Prerequisites, plus 4 more sections
  • Calls dbt and uvx; reaches cloud.getdbt.com; needs DBT_TOKEN

What it does

Configuring Dbt MCP Server is an agent skill from Kilo-Org/kilo-marketplace. Generates MCP server configuration JSON, resolves authentication setup, and validates server connectivity for dbt. Use when setting up, configuring, or troubleshooting the dbt MCP server for compatible MCP clients.

Its SKILL.md is about 2.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `references/environment-variables.md`, `references/finding-credentials.md` and `references/troubleshooting.md`).

It sits in Data & Analytics, covering Data pipelines and ETL and MCP servers. It works with dbt and Model Context Protocol. The repository describes itself as: Kilo Marketplace - A curated collection of Skills, MCP Servers, and Modes for enhancing AI agent capabilities across the Kilo ecosystem—including Kilo Code (VS Code extension)… The licence is Apache-2.0.

When your agent uses it

  • Troubleshooting the dbt MCP server for compatible MCP clients
  • Tasks that involve Data pipelines and ETL
  • Tasks that involve MCP servers

Example prompts

  • “Use the configuring-dbt-mcp-server skill to generate MCP server configuration JSON, resolves authentication setup, and validates server connectivity…”
  • “/configuring-dbt-mcp-server”

Requirements

  • A credential in DBT_TOKEN

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Server Type
  2. MCP Client
  3. Use Case (Local Server Only)
  4. Tools to Enable

What it can do on your machine

Read from SKILL.md and the folder at commit ff51758. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • dbt
    • uvx

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • cloud.getdbt.com

    Also links to:

    • docs.astral.sh

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • DBT_TOKEN

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Configuring Dbt MCP Server loads about 2.5k tokens when it runs, and up to ~3.8k if it reads all its reference files. Until then it costs about 60 tokens; SKILL.md has 745 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~60
When it runs · the whole SKILL.md, loaded when a task matches
~2.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:98
    - When using `.env` files, ensure they are added to `.gitignore` to prevent accidental commits
  • NoteMentions a .env fileSKILL.md:159
    ### Local Server - Using .env File
  • NoteMentions a .env fileSKILL.md:166
    "args": ["--env-file", "/path/to/.env", "dbt-mcp"]
  • NoteMentions a .env fileSKILL.md:286
    **Recommended: Use .env file**
  • NoteMentions a .env fileSKILL.md:287
    1. Create a .env file in your project root directory and add minimum environment variables for the CLI tools:
  • NoteMentions a .env fileSKILL.md:294
    uvx --env-file .env dbt-mcp

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Kilo-Org/kilo-marketplace at commit ff51758, republished under its Apache-2.0 licence (© Kilo-Org). 745 words, ~2,507 tokens.

Download SKILL.mdSave it as .claude/skills/configuring-dbt-mcp-server/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
configuring-dbt-mcp-server
description
Generates MCP server configuration JSON, resolves authentication setup, and validates server connectivity for dbt. Use when setting up, configuring, or troubleshooting the dbt MCP server for compatible MCP clients.
user-invocable
false
metadata.author
dbt-labs

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

mermaid
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 --> global[Global client config]
    q2 --> project[Project config]
    q2 --> desktop[Desktop MCP client]
    q2 --> editor[Editor MCP client]
    global --> config[Generate config<br>+ test setup]
    project --> config
    desktop --> config
    editor --> config

Questions to Ask

1. Server Type

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

Local ServerRemote Server
Runs on your machine via uvxConnects via HTTP to dbt platform
Required for development (authoring models, tests, docs) but can also connect to the dbt platform for consumption (querying metrics, exploring metadata)Best for consumption (querying metrics, exploring metadata)
Supports dbt CLI commands (run, build, test, show)No CLI commands (run, build, test)
Works without a dbt platform account but can also connect to the dbt platform for development (authoring models, tests, docs)Requires dbt platform account
No credit consumptionConsumes dbt Copilot credits
2. MCP Client

Ask: "Which MCP client are you using?"

  • Global client config
  • Project config
  • Desktop MCP client
  • Editor MCP client
3. Use Case (Local Server Only)

Ask: "What's your use case?"

CLI OnlyPlatform OnlyPlatform + CLI
dbt Core/Fusion usersdbt Cloud without local projectFull access to both
No platform account neededOAuth or token authRequires paths + credentials
4. Tools to Enable

Ask: "Which tools do you want enabled?" (show defaults)

Tool CategoryDefaultEnvironment Variable
dbt CLI (run, build, test, compile)EnabledDISABLE_DBT_CLI=true to disable
Semantic Layer (metrics, dimensions)EnabledDISABLE_SEMANTIC_LAYER=true to disable
Discovery API (models, lineage)EnabledDISABLE_DISCOVERY=true to disable
Admin API (jobs, runs)EnabledDISABLE_ADMIN_API=true to disable
SQL (text_to_sql, execute_sql)DisabledDISABLE_SQL=false to enable
Codegen (generate models/sources)DisabledDISABLE_DBT_CODEGEN=false to enable

Prerequisites

Local Server
  1. Install uv: https://docs.astral.sh/uv/getting-started/installation/
  2. Have a dbt project (for CLI commands)
  3. Find paths:
    • DBT_PROJECT_DIR: Folder containing dbt_project.yml
      • macOS/Linux: pwd from project folder
      • Windows: Full path with forward slashes (e.g., C:/Users/name/project)
    • DBT_PATH: Path to dbt executable
      • macOS/Linux: which dbt
      • Windows: where dbt
Remote Server
  1. dbt Cloud account with AI features enabled
  2. Production environment ID (from Orchestration page)
  3. Personal access token or service token

See How to Find Your Credentials for detailed guidance on obtaining tokens and IDs.

Credential Security

  • Always use environment variable references (e.g., ${DBT_TOKEN}) instead of literal token values in configuration files that may be committed to version control
  • Never log, display, or echo token values in terminal output
  • When using .env files, ensure they are added to .gitignore to prevent accidental commits
  • Recommend users rotate tokens regularly and use the minimum required permission set

Configuration Templates

Local Server - CLI Only
json
{
  "mcpServers": {
    "dbt": {
      "command": "uvx",
      "args": ["dbt-mcp"],
      "env": {
        "DBT_PROJECT_DIR": "/path/to/your/dbt/project",
        "DBT_PATH": "/path/to/dbt"
      }
    }
  }
}
Local Server - Platform + CLI (OAuth)
json
{
  "mcpServers": {
    "dbt": {
      "command": "uvx",
      "args": ["dbt-mcp"],
      "env": {
        "DBT_HOST": "https://your-subdomain.us1.dbt.com",
        "DBT_PROJECT_DIR": "/path/to/project",
        "DBT_PATH": "/path/to/dbt"
      }
    }
  }
}
Local Server - Platform + CLI (Token Auth)
json
{
  "mcpServers": {
    "dbt": {
      "command": "uvx",
      "args": ["dbt-mcp"],
      "env": {
        "DBT_HOST": "cloud.getdbt.com",
        "DBT_TOKEN": "your-token",
        "DBT_ACCOUNT_ID": "your-account-id",
        "DBT_PROD_ENV_ID": "your-prod-env-id",
        "DBT_PROJECT_DIR": "/path/to/project",
        "DBT_PATH": "/path/to/dbt"
      }
    }
  }
}
Local Server - Using .env File
json
{
  "mcpServers": {
    "dbt": {
      "command": "uvx",
      "args": ["--env-file", "/path/to/.env", "dbt-mcp"]
    }
  }
}

.env file contents:

DBT_HOST=cloud.getdbt.com
DBT_TOKEN=your-token
DBT_ACCOUNT_ID=your-account-id
DBT_PROD_ENV_ID=your-prod-env-id
DBT_DEV_ENV_ID=your-dev-env-id
DBT_USER_ID=your-user-id
DBT_PROJECT_DIR=/path/to/project
DBT_PATH=/path/to/dbt
Remote Server
json
{
  "mcpServers": {
    "dbt": {
      "url": "https://cloud.getdbt.com/api/ai/v1/mcp/",
      "headers": {
        "Authorization": "Token your-token",
        "x-dbt-prod-environment-id": "your-prod-env-id"
      }
    }
  }
}

Additional headers for SQL/Fusion tools:

json
{
  "headers": {
    "Authorization": "Token your-token",
    "x-dbt-prod-environment-id": "your-prod-env-id",
    "x-dbt-dev-environment-id": "your-dev-env-id",
    "x-dbt-user-id": "your-user-id"
  }
}
Show full SKILL.md (296 more words)Show less

Client-Specific Setup

Generic MCP Client
  1. Open your MCP client's server configuration.
  2. Add the JSON configuration.
  3. Save and restart the client.
  4. Verify: Confirm the dbt MCP server is listed and reachable.
Kilo

Add the mcp block to your kilo.json config file.

Config locations:

  • Global: ~/.config/kilo/kilo.json
  • Project: ./kilo.json or ./.kilo/kilo.json in your project root

Project-level configuration takes precedence over global settings. For project-specific dbt setups, use .kilo/kilo.json so your team shares the same configuration.

Add the dbt MCP server under the mcp key:

json
{
  "mcp": {
    "dbt": {
      "command": "uvx",
      "args": ["dbt-mcp"],
      "env": {
        "DBT_PROJECT_DIR": "/path/to/project",
        "DBT_PATH": "/path/to/dbt"
      }
    }
  }
}

VS Code Extension: Open Kilo Settings > Agent Behaviour > MCP Servers, then click "Edit Global MCP" (or "Edit Project MCP" for project-specific config) and add the config above.

Cursor
  1. Open Cursor menu → Settings → Cursor Settings → MCP
  2. Add the JSON configuration
  3. Update paths and credentials
  4. Save
VS Code
  1. Open Command Palette (Cmd/Ctrl + Shift + P)
  2. Run "MCP: Open User Configuration" (or Workspace for project-specific)
  3. Add the JSON configuration (note: VS Code uses servers not mcpServers):
json
{
  "servers": {
    "dbt": {
      "command": "uvx",
      "args": ["dbt-mcp"],
      "env": {
        "DBT_PROJECT_DIR": "/path/to/project",
        "DBT_PATH": "/path/to/dbt"
      }
    }
  }
}
  1. Open Settings → Features → Chat → Enable MCP
  2. Verify: Run "MCP: List Servers" from Command Palette

WSL Users: Configure in Remote settings, not local user settings:

  • Run "Preferences: Open Remote Settings" from Command Palette
  • Use full Linux paths (e.g., /home/user/project, not Windows paths)

Verification Steps

Test Local Server Config

Recommended: Use .env file

  1. Create a .env file in your project root directory and add minimum environment variables for the CLI tools:
bash
DBT_PROJECT_DIR=/path/to/project
DBT_PATH=/path/to/dbt
  1. Test the server:
bash
uvx --env-file .env dbt-mcp

Alternative: Environment variables

bash
# Temporary test (variables only last for this session)
export DBT_PROJECT_DIR=/path/to/project
export DBT_PATH=/path/to/dbt
uvx dbt-mcp

No errors = successful configuration.

Verify in Client

After setup, ask the AI:

  • "What dbt tools do you have access to?"
  • "List my dbt metrics" (if Semantic Layer enabled)
  • "Show my dbt models" (if Discovery enabled)

See Troubleshooting for common issues and fixes.

See Environment Variable Reference for the full list of supported variables.

© Kilo-Org, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (references) in skills/dbt/skills/configuring-dbt-mcp-server of Kilo-Org/kilo-marketplace.

  • SKILL.md
  • references/environment-variables.md
  • references/finding-credentials.md
  • references/troubleshooting.md

Open the folder on GitHubat commit ff51758

Compare with similar skills

Configuring Dbt MCP Server next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Configuring Dbt MCP Server compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Configuring Dbt MCP Server this skillKilo-Org/kilo-marketplace190—~2.5kAutomated safety check: NotesApache-2.0
Erd Studio Setupliam-machine/erd-studio165—~8.5kAutomated safety check: PassCustom licence
Delegating To Ottoastronomer/agents451—~3.9kAutomated safety check: WarnApache-2.0
Querying Indonesian Gov Datasuryast/indonesia-gov-apis172—~997Automated safety check: PassMIT
Openbb Data Fetchermonarchjuno/vibe-investing299—~2.9kAutomated safety check: NotesMIT
Diagnosekbanc85/claudia296—~1.8kAutomated safety check: PassCustom licence

Similar skills

  • Erd Studio Setup

    liam-machine/erd-studio

    Friendly, step-by-step setup for ERD Studio in an existing dbt project, for people who may be new to dbt or data modelling.

    165 GitHub stars~8.5k tokensUpdated today
    Data & AnalyticsAuto-check passed
  • Delegating To Otto

    astronomer/agents

    Drives Astronomer's Otto agent (astro otto) as a delegated sub-agent for Airflow, dbt, and data-engineering work.

    451 GitHub stars~3.9k tokensUpdated yesterday
    Data & AnalyticsAuto-check: warnings
  • Querying Indonesian Gov Data

    suryast/indonesia-gov-apis

    Query 57 Indonesian government APIs and data sources — BPJPH halal certification, BPOM food safety, OJK financial legality, BPS statistics, BMKG weather/earthquakes, Bank Indonesia exchange rates…

    172 GitHub stars~997 tokensUpdated yesterday
    Data & AnalyticsAuto-check passed
  • Openbb Data Fetcher

    monarchjuno/vibe-investing

    Fetch financial, market, economic, fundamental, news, options, crypto, ETF, index, and macro data through the OpenBB Python interface instead of the OpenBB MCP server.

    299 GitHub stars~2.9k tokensUpdated 5 mo ago
    Data & AnalyticsAuto-check: notes
  • Diagnose

    kbanc85/claudia

    Check memory system health and troubleshoot connectivity issues.

    296 GitHub stars~1.8k tokensUpdated 1 mo ago
    Data & AnalyticsAuto-check passed
  • Cesium Map

    gaopengbin/cesium-mcp

    Open and operate the Cesium MCP 3D map, create map objects and GeoJSON layers, or inspect the selected object in the connected map.

    140 GitHub stars~964 tokensUpdated today
    Data & AnalyticsAuto-check passed

More from Kilo-Org/kilo-marketplace

All 85 skills in this repo
  • AzureML Project Scaffolding

    Kilo-Org/kilo-marketplace

    Sets up and maintains AzureML-ready Python projects as uv workspaces with devcontainers, a Makefile and job YAML, so local runs match cloud jobs and experiments stay reproducible.

    190 GitHub stars~3.1k tokensUpdated 10 days ago
    Auto-check: notes
  • Jupyter Notebook Builder

    Kilo-Org/kilo-marketplace

    Creates, inspects, edits and runs Jupyter notebooks, scaffolding experiment or tutorial notebooks from templates and preferring a Jupyter MCP server over raw JSON edits.

    190 GitHub stars~1.3k tokensUpdated 10 days ago
    Auto-check passed
  • Tableau Dashboard Creator

    Kilo-Org/kilo-marketplace

    Takes a plain-language dashboard request through brand setup, data exploration, planning, an interactive HTML mock and a Tableau implementation spec.

    190 GitHub stars~3.8k tokensUpdated 10 days ago
    Auto-check: notes
  • Elasticsearch File Ingest

    Kilo-Org/kilo-marketplace

    Ingest and transform data files (CSV/JSON/Parquet/Arrow IPC) into Elasticsearch with stream processing and custom transforms.

    190 GitHub stars~2.8k tokensUpdated 10 days ago
    Auto-check passed
  • Nifi Flow Layout

    Kilo-Org/kilo-marketplace

    A skill your agent uses when arranging Apache NiFi processors, process groups, ports, comments, numbering, crossing connections, dense fan-in/fan-out, or reusable readable canvas layouts.

    190 GitHub stars~1.5k tokensUpdated 10 days ago
    Auto-check passed
  • Splunk Ingest Processor Setup

    Kilo-Org/kilo-marketplace

    Render Cisco Data Fabric ingest-time routing workflows and Splunk Cloud Platform Ingest Processor setup plans with SPL2 pipelines, source types, destinations, lifecycle handoffs, queue and…

    190 GitHub stars~1.2k tokensUpdated 10 days ago
    Auto-check passed

Questions about Configuring Dbt MCP Server

What does Configuring Dbt MCP Server do?

Generates MCP server configuration JSON, resolves authentication setup, and validates server connectivity for dbt. Configuring Dbt MCP Server is an agent skill from Kilo-Org/kilo-marketplace. Generates MCP server configuration JSON, resolves authentication setup, and validates server connectivity for dbt.

When should I use Configuring Dbt MCP Server?

Configuring Dbt MCP Server fits situations like: troubleshooting the dbt MCP server for compatible MCP clients; tasks that involve Data pipelines and ETL; tasks that involve MCP servers.

How do I install Configuring Dbt MCP Server in Claude Code?

Run `npx skills add Kilo-Org/kilo-marketplace --skill configuring-dbt-mcp-server -a claude-code`. Or copy the skill folder (skills/dbt/skills/configuring-dbt-mcp-server in Kilo-Org/kilo-marketplace) into .claude/skills/configuring-dbt-mcp-server in your project. Claude Code loads it when a task matches its description.

How do I install Configuring Dbt MCP Server in Codex?

Run `npx skills add Kilo-Org/kilo-marketplace --skill configuring-dbt-mcp-server -a codex`. Or copy the skill folder (skills/dbt/skills/configuring-dbt-mcp-server in Kilo-Org/kilo-marketplace) into .agents/skills/configuring-dbt-mcp-server in your project. Codex loads it when a task matches its description.

Can I use Configuring Dbt MCP Server in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Kilo-Org/kilo-marketplace --skill configuring-dbt-mcp-server -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/configuring-dbt-mcp-server, .gemini/skills/configuring-dbt-mcp-server, .github/skills/configuring-dbt-mcp-server and .opencode/skills/configuring-dbt-mcp-server in your project.

What does Configuring Dbt MCP Server need to run?

Going by SKILL.md and its folder, Configuring Dbt MCP Server needs the command-line tools its instructions call (dbt and uvx) and credentials named DBT_TOKEN. Our summary lists: A credential in DBT_TOKEN.

Does Configuring Dbt MCP Server access the network?

SKILL.md names 2 domains. In commands or code: cloud.getdbt.com; the agent is likely to contact it when it follows the instructions. As links in the text: docs.astral.sh. This is read from the text; nothing was executed.

Is Configuring Dbt MCP Server safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Configuring Dbt MCP Server use?

Configuring Dbt MCP Server is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Configuring Dbt MCP Server use?

About 2.5k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.3k tokens, read only when the agent opens those files.

What are the alternatives to Configuring Dbt MCP Server?

Skills that share tags, products or a category with Configuring Dbt MCP Server: Erd Studio Setup (liam-machine/erd-studio, 165 stars), Delegating To Otto (astronomer/agents, 451 stars), Querying Indonesian Gov Data (suryast/indonesia-gov-apis, 172 stars) and Openbb Data Fetcher (monarchjuno/vibe-investing, 299 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Configuring Dbt MCP Server?

Kilo-Org (a GitHub organization) maintains it in Kilo-Org/kilo-marketplace, which has 190 GitHub stars. The repository holds 85 skills in this directory. The repository was last updated on September 28, 2026.

Source: Kilo-Org/kilo-marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.