dbt
Official
🗄️ Data & Files
Official dbt Labs MCP server for analytics engineering. Query semantic layers, explore data models, run dbt commands, manage jobs, generate code, and search documentation across Core, Fusion, and Platform environments.
Tags
Tools (25)
Client configuration
Cursor (.cursor/mcp.json)
{
"mcpServers": {
"dbt": {
"command": "uvx",
"args": [
"dbt-mcp@2.2.1"
],
"env": {
"DBT_HOST": "your-dbt-host-here",
"DBT_TOKEN": "your-dbt-token-here",
"DBT_PROD_ENV_ID": "your-dbt-prod-env-id-here",
"DBT_DEV_ENV_ID": "your-dbt-dev-env-id-here"
}
}
}
}VS Code (.vscode/mcp.json)
{
"servers": {
"dbt": {
"command": "uvx",
"args": [
"dbt-mcp@2.2.1"
],
"env": {
"DBT_HOST": "your-dbt-host-here",
"DBT_TOKEN": "your-dbt-token-here",
"DBT_PROD_ENV_ID": "your-dbt-prod-env-id-here",
"DBT_DEV_ENV_ID": "your-dbt-dev-env-id-here"
},
"type": "stdio"
}
}
}Replace the placeholders before connecting. Authorize in your client when prompted.
The Cursor JSON also works in Claude Desktop's local MCP configuration. Install the required runtime and local software first.