Skip to main content
Glama

dbt-mcp

Official
by dbt-labs

compile

Generate executable SQL from dbt model, test, and analysis files. Validate complex Jinja logic and macro usage by inspecting compiled output directly.

Instructions

dbt compile generates executable SQL from source model, test, and analysis files.

The compile command is useful for visually inspecting the compiled output of model files. This is useful for validating complex jinja logic or macro usage.

Input Schema

NameRequiredDescriptionDefault

No arguments

Input Schema (JSON Schema)

{ "properties": {}, "title": "compileArguments", "type": "object" }

You must be authenticated.

Other Tools from dbt-mcp

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dbt-labs/dbt-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server