Back to Home
iamsocool24 icon

dbt-core-mcp

Verified Safe

by iamsocool24

Overview

The dbt Core MCP Server enables interaction with dbt projects, providing tools to query project metadata, run dbt commands, inspect data models, sources, and tests, view compiled SQL, and analyze lineage and impact within a Model Context Protocol (MCP) framework.

Installation

Run Command
uv run dbt-core-mcp

Security Notes

The server design generally appears robust. It uses `asyncio.create_subprocess_exec` to run `dbt` commands in the user's environment, constructing the command arguments safely using `json.dumps` to prevent shell injection through user-provided parameters. It employs `yaml.safe_load` for configuration files. The `psutil` library is used for process checking, which is a common and generally safe practice. No hardcoded secrets, obfuscation, or direct use of `eval` or `exec` on untrusted input were identified. The primary security consideration lies in the permissions granted to the `dbt` installation itself and the database credentials configured in `profiles.yml`, which is external to the server's source code and managed by the user. The server will operate with the same privileges as the user's `dbt` environment.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens1500
Stars0
Forks0
Last Update2026-01-19

Tags

dbtdata-analyticsetldata-modelingmcp-server