CtrlK
BlogDocsLog inGet started
Tessl Logo

dbt-labs/dbt-agent-skills

A curated collection of Agent Skills for working with dbt, to help AI agents understand and execute dbt workflows more effectively.

70

Quality

88%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

High

Do not use without reviewing

Overview
Quality
Evals
Security
Files

troubleshooting.mdskills/dbt/skills/configuring-dbt-mcp-server/references/

Troubleshooting

"uvx not found" or "spawn uvx ENOENT"

Find full path and use it in config:

# macOS/Linux
which uvx
# Use output like: /opt/homebrew/bin/uvx

# Windows
where uvx

Update config:

{
  "command": "/opt/homebrew/bin/uvx",
  "args": ["dbt-mcp"]
}

"Could not connect to MCP server"

  1. Check uvx is installed: uvx --version
  2. Verify paths exist: ls $DBT_PROJECT_DIR/dbt_project.yml
  3. Check dbt works: $DBT_PATH --version

OAuth Not Working

Only accounts with static subdomains (e.g., abc123.us1.dbt.com) support OAuth. Check your Access URLs in dbt platform settings.

Remote Server Returns 401/403

  • Verify token has Semantic Layer and Developer permissions
  • For execute_sql: Use personal access token, not service token
  • Check environment ID is correct (from Orchestration page)

Common Mistakes

MistakeFix
Using npm/npx instead of uvxThe package is dbt-mcp via uvx, not npm
Wrong env var names (DBT_CLOUD_*)Use DBT_TOKEN, DBT_PROD_ENV_ID, etc.
Using mcpServers in VS CodeVS Code uses servers key in mcp.json
Service token for execute_sqlUse personal access token for SQL tools
Windows paths in WSLUse Linux paths (/home/...) not Windows
Local user settings in WSLMust use Remote settings in VS Code
Missing uv installationInstall uv first: https://docs.astral.sh/uv/

skills

CHANGELOG.md

CONTRIBUTING.md

README.md

RELEASING.md

tile.json