Skip to main content
Glama

dbt CLI MCP Server

dbt_deps

Install or update external package dependencies for a dbt project. Ensures required modules, macros, and models are available before project execution.

Instructions

Install dbt package dependencies. An AI agent should use this tool when it needs to install or update external packages that the dbt project depends on. This ensures that all required modules, macros, and models from other packages are available before running the project.

Returns: Output from the dbt deps command as text (this command does not support JSON output format)

Input Schema

NameRequiredDescriptionDefault
profiles_dirNoDirectory containing the profiles.yml file (defaults to project_dir if not specified)
project_dirNoABSOLUTE PATH to the directory containing the dbt project (e.g. '/Users/username/projects/dbt_project' not '.').

Input Schema (JSON Schema)

{ "properties": { "profiles_dir": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Directory containing the profiles.yml file (defaults to project_dir if not specified)", "title": "Profiles Dir" }, "project_dir": { "default": ".", "description": "ABSOLUTE PATH to the directory containing the dbt project (e.g. '/Users/username/projects/dbt_project' not '.')", "title": "Project Dir", "type": "string" } }, "title": "dbt_depsArguments", "type": "object" }

Other Tools from dbt CLI MCP Server

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/MammothGrowth/dbt-cli-mcp'

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