Back to Home
dbt-labs icon

dbt-mcp

Verified Safe

by dbt-labs

Overview

Provides AI agents with tools to interact with dbt Core, dbt Fusion, and dbt Platform, enabling advanced data analytics and project management capabilities within a model context protocol (MCP) server.

Installation

Run Command
uv run dbt-mcp

Environment Variables

  • OPENAI_API_KEY
  • DBT_TOKEN
  • DBT_HOST
  • DBT_PROD_ENV_ID
  • DBT_DEV_ENV_ID
  • DBT_USER_ID
  • DBT_PROJECT_DIR
  • DBT_PATH
  • MCP_TRANSPORT

Security Notes

The server processes tool arguments from LLM responses using `json.loads`. While `pydantic` validation follows this, parsing potentially untrusted JSON prior to validation could pose a risk (e.g., resource exhaustion). The local OAuth server's `/shutdown` endpoint, intended for graceful self-termination, could be a minor concern if exposed outside a local-only context without authentication. The `OAUTH_CLIENT_ID` is hardcoded but is a public client identifier.

Similar Servers

Stats

Interest Score87
Security Score7
Cost ClassMedium
Avg Tokens1000
Stars430
Forks94
Last Update2025-12-06

Tags

dbtMCPAI AgentsData AnalyticsTools