dbt-agents
Provides tools for reviewing, querying, testing, and safely fixing dbt projects and their warehouses, with dbt as the only permitted path for writing warehouse relations in explicitly allowlisted datasets.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@dbt-agentsinspect my dbt project and list any failing tests"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
dbt-agents
dbt-agents is an open-source, local-first toolkit for reviewing, querying,
testing, and safely fixing dbt projects and their warehouses with AI agents.
The initial warehouse implementation targets BigQuery, while the core contracts are designed for additional adapters. The primary interfaces are an MCP server for ChatGPT/Codex and a CLI for local use and GitHub Actions.
The same policy-enforced core powers:
a Model Context Protocol server for ChatGPT and Codex;
a local CLI for inspection and diagnostics; and
deterministic automation suitable for GitHub Actions.
ChatGPT and Codex plugin
The internal plugin is branded as dbt Agents and packages the existing authenticated remote connection with a guided setup workflow. From this checkout, install it with:
make plugin-installRestart the ChatGPT desktop app, choose The Data Strategist Internal in the Plugins Directory, install dbt Agents, and connect with an approved Google account. See Plugin distribution for team setup, validation, and the requirements that remain before a public submission. Brand Monitor uses a separate hosted connection; see Brand Monitor plugin distribution for its exact project boundary and teammate onboarding flow.
The hosted internal plugin exposes only bounded, read-only access to the approved dbt mart. The local toolkit retains its separate plan-and-approval workflow for dbt changes.
Related MCP server: bq-guard-mcp
Quick start
python3 -m venv .venv
.venv/bin/pip install -e '.[all,dev]'
cp examples/keylo.dbt-agents.yml dbt-agents.yml
.venv/bin/dbt-agents check-config --config dbt-agents.yml
.venv/bin/dbt-agents project keylo --config dbt-agents.ymlSee Getting started for authentication, Codex, and ChatGPT setup. The architecture and acceptance criteria are in the design specification.
Project-scoped tools use the configured dbt-agents alias (for example,
keylo), not the warehouse project ID. Use the read-only project_list MCP
tool or dbt-agents projects CLI command to discover valid aliases. See the
project discovery specification.
For a repository that has not yet been configured, use the initial CLI-first project onboarding and readiness flow. It discovers a dbt project's configuration contract, collects operator-confirmed non-secret values, validates from offline checks through optional bounded warehouse access, and only then registers an MCP project alias.
Before approving dbt execution, run the offline and live readiness checks in Operational readiness. The same guide covers non-mutating IAM verification, the validation ladder, and trusted release publishing.
Safety model
strict repository roots and writable-path allowlists;
protected credential and environment files;
SHA-guarded atomic file replacement;
SQL AST validation, one-statement enforcement, dry runs, byte budgets, row limits, and IAM read-only query credentials;
exact short-lived plans plus out-of-band local approval for writes;
separate query and dbt-runner identities;
fixed dbt and Git command builders with no arbitrary shell tool; and
sanitized, owner-only JSONL audit events without file bodies or query results.
The initial warehouse provider is BigQuery. Provider contracts are intentionally small so other adapters can implement the same safety semantics.
Compatibility
The public names, safety defaults, and v1 support boundary are frozen in the v1 contract and ADR-0001. Additive changes remain possible; breaking configuration or MCP changes require a new contract version and migration guide.
v1 supports Python 3.11–3.13, dbt Core 1.10–1.11, BigQuery, macOS/Linux local
execution, and GitHub.com publishing through git and gh.
This server cannot be deployed
Maintenance
Related MCP Connectors
Safe, read-only Postgres and MySQL access for AI agents. Audit log + column-level controls.
The BigQuery remote MCP server is a fully managed service that uses the Model Context Protocol to connect AI applications and LLMs to BigQuery data sources. It provides secure, standardized tools for AI agents to list datasets and tables, retrieve schemas, generate and execute SQL queries through natural language, and analyze data—enabling direct access to enterprise analytics data without requiring manual SQL coding.
AI agents need permission before production SQL writes. Pilot $100 · Gateway $299. Lint≠authorize.
Query your org's data in natural language — read-only MCP access to SQL, NoSQL, files & warehouses.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables LLMs to explore BigQuery datasets and tables, run safe read-only queries, and optionally perform vector search using BigQuery embeddings.152 PyPI10MIT
- AlicenseAqualityAmaintenanceEnables AI agents to run BigQuery queries safely under a configurable policy, with parsing, dry-run byte limits, row caps, and audit logging for every request.5MIT
- FlicenseNot gradedqualityAmaintenanceEnables AI assistants to audit dbt project health, profile warehouse data, detect schema drift, suggest tests, and generate documentation through natural language. It provides read-only analysis and non-destructive YAML updates for dbt projects.-
- FlicenseNot gradedqualityAmaintenanceEnables AI assistants to audit dbt project health, profile warehouse data, detect schema drift, suggest tests, and safely generate or update model documentation through natural language.-