What is the most critical requirement when using the DBT CLI MCP tools?
You **must** specify the full absolute path to your dbt project directory with the `project_dir` parameter. Relative paths will not work.
@MammothGrowth
Basic information
DBT CLI MCP Server
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"dbt-cli-mcp": {
"command": "uv",
"args": [
"venv"
]
}
}
}Run dbt models (requires absolute `project_dir`)
Run dbt tests (requires absolute `project_dir`)
List dbt resources (requires absolute `project_dir`)
Compile dbt models (requires absolute `project_dir`)
Debug dbt project setup (requires absolute `project_dir`)
Install dbt package dependencies (requires absolute `project_dir`)
Load CSV files as seed data (requires absolute `project_dir`)
Preview model results (requires absolute `project_dir`)
The DBT CLI MCP Server is a Model Context Protocol (MCP) server that wraps the dbt CLI tool, enabling AI coding agents to interact with dbt projects through standardized MCP tools.
Install with Python 3.10+, uv, and dbt CLI. Clone the repository, create a virtual environment, and install dependencies. Use the command-line interface directly or configure the server in an MCP client (e.g., Claude for Desktop) using the provided JSON configuration. All tools require the absolute path to the dbt project directory.
You **must** specify the full absolute path to your dbt project directory with the `project_dir` parameter. Relative paths will not work.
The server automatically sets `DBT_PROFILES_DIR` to the absolute path specified in `project_dir`. The project directory must contain a valid `dbt_project.yml` and a `profiles.yml` file that matches the profile referenced in the project.
Python 3.10 or higher, the `uv` tool for Python environment management, and the dbt CLI installed on your system.
Add an entry to the client's configuration with the `uv` command, pointing to the server script, and optionally set environment variables like `DBT_PATH` or `ENV_FILE`.
Yes, via the `--dbt-path` command-line option or the `DBT_PATH` environment variable. The default is `dbt`.
The data control plane for AI agents: acquire, validate, and land data over MCP with scoped keys, approval gates, and an audit log. Self-hosted, open source.

Customer intelligence for product builders: ask your AI assistant what to build next and get product insights from sales calls, support tickets and Slack, with the customers and quotes behind each one. Read-only.

Session replay, built for agents. Subtext is agentic session review: it captures production sessions of your app and connects them to your coding agent — Claude Code, Cursor, Codex, Devin, your own harness — so it can

Investigate any website's technology stack: CMS, eCommerce, frameworks, analytics, CRM, payments, and hosting behind any URL. Ask "which of these 15 prospects use HubSpot vs Salesforce?" and get a table back. Free tier:
Finewisdom API Hub is a remote MCP server available at https://finewisdom.top. One GET endpoint plus an MCP server for Douyin, Xiaohongshu (RED), Weibo, Bilibili, Zhihu, Kuaishou, WeChat Channels, WeChat Official Account
Comments