Use the dbt MCP server well and safely
Sets up how an AI assistant connects to your dbt project, picks the right dbt tool for each question, and keeps results small. It asks before running anything that changes data or switches environments.
Use it when
- You have just connected dbt and want to know what the assistant can do.
- A dbt tool is missing or returns an error and you want to know why.
- You want to query dbt metrics or metadata without accidentally using the wrong environment.
Tools it uses
list_metricsget_dimensionsget_dimension_valuesquery_metricslist_saved_queriesget_model_detailsget_model_parentsget_model_childrenget_lineageget_all_modelsget_mart_modelsget_model_healthget_model_performanceget_exposuresexecute_sqltext_to_sqlget_all_sourcesget_all_macros
Connect to our dbt project and tell me which environment you are querying and what you can do with it.
You are querying the production environment of the analytics project through the remote server. I can read metrics, metadata and lineage, and run SQL. I cannot run dbt builds on this setup. I found 214 models in the project and 38 metrics; I will filter before listing them in full.