Does the dbt MCP server meet our tool control requirements?
The dbt MCP server gives you two control points: per-call authorization on the remote server, and tool-level disable and allowlist settings on the self-hosted server. dbt does not name a separate enterprise tier of controls in the documentation we reviewed, so the controls you get depend on how you deploy and configure the server. Before approval, decide which deployment you will allow, then write down the tool list, token type and user permissions that apply to it.
For the self-hosted server, set the tool list explicitly. All toolsets are on by default in disable mode, and DISABLE_TOOLS takes a comma-separated list of tool names to turn off. Enable mode works as an allowlist, but mixing both modes for one toolset leads to unpredictable behavior, so pick one. Confirm in the MCP environment variables reference which toolsets are enabled by default, since SQL, codegen and server metadata tools start disabled while CLI, Semantic Layer, Discovery and Admin API tools start enabled. Review the Admin API job tools and any build or run commands before you grant them.
The gaps remain in three places. The self-hosted server runs on the user's machine, so your allowlist binds only if staff cannot edit their own environment variables or swap the binary. The remote server's tool set can change without notice or a deprecation period, so pin a version of the self-hosted server if you need a frozen tool list. Finally, authorization follows identity: personal access tokens inherit the permissions of the user who created them, and OAuth is limited to the scopes and projects the user consented to. Use the remote MCP setup guide to confirm which token type your team will use, and check each user's dbt permissions before approving access.
Which dbt MCP security controls apply to which deployment
This table compares the remote and self-hosted dbt MCP servers across authorization, token scope, tool disabling and allowlisting, and default toolsets. Each cell marks whether the control is built in, configured by the customer, or not documented, so reviewers can see where they must act themselves. Plan-dependent tool lists must be confirmed against your dbt plan before approval.
| Control | Remote server | Self-hosted server |
|---|---|---|
| Per-call authorization | Built in: each tool call is checked against the project, environment, job or run it targets | Not documented: confirm with dbt how the local process authorizes calls against the platform |
| OAuth scopes and consented projects | Built in: OAuth access is limited to the scopes and projects the user consented to | Not documented: confirm whether OAuth applies to the local server's connection |
| Personal access token inheritance | Configured by customer: a token carries the creator's permissions, so use a user with least privilege | Configured by customer: the server acts with whatever credentials the local environment provides |
| DISABLE_TOOLS deny list | Not applicable: remote tool set is not controlled through this variable | Configured by customer: comma-separated list of tool names to turn off |
| DBT_MCP_ENABLE allowlist | Not applicable: tool set depends on plan and is not set by this variable | Configured by customer: when any enable variable is set, only listed toolsets run; do not mix modes for one toolset |
| Default-enabled toolsets | Built in: tool set varies by plan because Discovery and Semantic Layer APIs differ by plan | Built in: dbt CLI, Semantic Layer, Discovery and Admin API tools are on by default; SQL, codegen and metadata tools are off |
| Tool list stability | Not documented: dbt says remote tools can change without notice or a deprecation period | Configured by customer: pin a server version to freeze the tool set |
| Plan-dependent tools | Configured by customer: confirm the exact tool list for your dbt plan before approval | Not applicable: tool set is set by the local configuration |
Which dbt tools carry the most risk
The riskiest dbt MCP tools are the ones that can change data or run work in your warehouse, and the first decision is which of them an assistant may reach at all. dbt's own documentation warns that letting a client use dbt commands through the MCP tooling could modify your data models, sources and warehouse objects, so you should proceed only if you trust the client. The CLI group includes build, run, test, clone, compile and show. Of these, build and run materialize models and can overwrite tables, clone creates objects in the target schema, and show executes SQL against the database and returns the results, so it can read any table the credentials allow. Treat show as a data read path, not a harmless preview.
The Admin API tools trigger_job_run, retry_job_run and cancel_job_run act on dbt platform jobs rather than on your local project. An agent with the right permissions can start a production job, retry a failed run that writes to production, or cancel a run in progress. Confirm which of these your team wants exposed to an assistant, and confirm that production jobs are not reachable from a development token. Because these tools sit in the same enabled-by-default set as the CLI tools, a self-hosted server started without explicit restrictions exposes them. On the self-hosted server, SQL, codegen and server metadata tools are disabled by default, while CLI, Semantic Layer, Discovery and Admin API tools are enabled by default. Review that default list for each deployment, because the defaults do not match a read-only policy.
Before rollout, write down the tools you will keep, then check the active set in the environment your assistant actually uses, not only in the configuration you intended. Ask dbt which tools each plan exposes for the remote server, since the tool list depends on the plan. Confirm with your dbt administrator which job and environment scopes the connecting user holds, because the service account behind a job tool decides what a trigger can affect. Record the tools you disabled and the reason, so a reviewer can see the decision and so that a later version change does not silently re-enable a risky tool.
Decisions to make before enabling dbt MCP tools
Four decisions shape what an AI client can do through the dbt MCP server: where the server runs, which credential it uses, which tools are switched on, and which version is installed. Each one changes the blast radius, so settle them in writing before any staff member connects an assistant.
Remote or self-hosted deployment
The remote server connects over HTTP to the managed dbt platform and needs no installation, while the self-hosted server runs on the user's machine and is started with uvx. Remote suits data consumption; the self-hosted server is the one that exposes dbt CLI commands that can change models, sources and warehouse objects. Decide which deployment each group may use, and confirm the tool list each one exposes on your plan. Where a team needs local development, the self-hosted server is where tool lockdown matters most.
About dbt MCP serverOAuth scopes and projects
OAuth access is limited to the scopes and projects the user consented to, so a person's approval defines the reach of the connection. Each tool call is also authorized against the project, environment, job or run it targets. Ask which projects and scopes are granted to each user, and whether consent is reviewed when roles change. Confirm with dbt how consent is shown to users and revoked by admins before rolling out broadly.
Personal access tokens inherit creator rights
A personal access token carries the permissions of the user who created it, so it can trigger, retry or cancel jobs wherever that person can. This is a risk when a token is copied into a shared config file or used by a bot. Require that tokens are created by named users with the minimum role, rotated when people leave, and never stored in shared repositories. Treat any token that can reach Admin API job tools as a high-impact credential.
Service tokens for shared automation
Service tokens authorize calls against the same project, environment, job or run checks as OAuth and personal tokens, but they are tied to a service identity rather than a person. They suit CI or scheduled agent use where no single employee should own the credential. Ask which permission set a service token holds, who can create and revoke it, and whether its Admin API reach matches the job it actually needs. Keep its scope narrower than any human role.
Enable or disable mode for self-hosted tools
The self-hosted server exposes all toolsets by default in disable mode, and DISABLE_TOOLS turns off named tools from a comma-separated list. Enable mode is an allowlist: once any DBT_MCP_ENABLE variable is set, only the toolsets you name are active. Mixing both modes for one toolset leads to unpredictable behavior, so pick one approach and document it. SQL, codegen and server metadata tools are disabled by default, while dbt CLI, Semantic Layer, Discovery and Admin API tools are enabled, so check each toolset against your intended use.
MCP environment variables referencePinning a self-hosted version
dbt states that remote MCP tools can change without notice or a deprecation period, and recommends pinning a version of the self-hosted server when a frozen tool set is needed. A pinned version lets a security review match the approved tool list to what runs in production. Without a pin, an upgrade can add tools that your allowlist never reviewed. Ask dbt which version pins are supported for your deployment, and retest your allowlist after every upgrade.
Available toolsAdmin API permissions held by each identity
The Admin API tools include trigger_job_run, retry_job_run and cancel_job_run, so any identity with those permissions can start, retry or cancel dbt platform jobs. Map every user and service identity to its Admin API role before enabling the tools, and remove job-control rights from identities that only need to read metadata. Ask dbt to confirm how plan tiers affect which tools each identity sees, because the tool set depends on the plan.
How the lockdown differs by deployment and team
The self-hosted server runs on the analyst's machine and is started with the uvx command. Its tool set is controlled by environment variables on that machine, so the main lockdown lever is the configuration each analyst carries. By default, SQL tools, codegen tools and server metadata tools are disabled, while dbt CLI, Semantic Layer, Discovery and Admin API tools are enabled. Anyone who edits their own configuration can change that, so the baseline is only as strong as the setup you hand out.
- Default state: confirm which toolsets are on in the version you pin, since the defaults are documented in the environment variables reference.
- Disable list:
DISABLE_TOOLSremoves named tools, such as job triggers, from the set the client sees. - Allowlist mode: setting a
DBT_MCP_ENABLEvariable limits the server to the toolsets you name. Do not mix both modes for one toolset. - Pinned version: dbt recommends pinning the self-hosted server if you need a stable tool set, because remote tools can change without notice.
- Credentials on the laptop: the analyst's warehouse and dbt platform credentials sit on the machine, so disk and session controls still matter.
Confirm with your own environment that every analyst uses the approved configuration file and that the client cannot override the environment variables.
The remote server connects over HTTP to the managed dbt platform and needs no local installation. dbt authorizes each tool call against the project, environment, job or run it targets, whichever OAuth, personal access token or service token is used. The team's exposure therefore depends on how each person's identity is granted, not on a local toggle. Personal access tokens inherit the permissions of the user who created them, so a team member with broad rights passes those rights to the AI client.
- Per-target checks: every call is checked against the project, environment, job or run it names, so scope is enforced server side.
- Personal tokens: these carry the creator's full permissions, which makes the creator's role the real ceiling.
- OAuth consent: OAuth limits access to the scopes and projects the user consented to, so review those consent screens.
- Plan-dependent tools: the tools offered depend on the plan, so the same user may see different tools across environments.
- Tool drift: remote tools can change without a deprecation period, so re-check the tool list after vendor updates.
Confirm which accounts sit behind each team member's connection and whether job trigger rights are needed at all for analysts.
A CI pipeline or scheduled agent uses a non-human identity, usually a service token or a token tied to a service account. This identity runs without a person watching each action, so its permissions define the blast radius. The remote server authorizes calls against the same targets as for people, which means a service identity with job rights can start, retry or cancel runs on its own schedule. Treat this identity as the highest-privilege entry in the setup.
- Minimum rights: grant only the projects and environments the pipeline needs, and omit job trigger and cancel rights unless required.
- Admin API tools:
trigger_job_run,retry_job_runandcancel_job_runare the calls to restrict first. - Owner of record: a personal access token would inherit a person's permissions, so confirm who owns the identity and how it is rotated.
- Disable list: on the self-hosted server,
DISABLE_TOOLScan remove job tools from the pipeline's configuration. - Logged actions: confirm how job activity from this identity appears in the dbt platform so reviewers can tell it apart from people.
Confirm the service identity's scopes in the dbt platform and whether any agent in the pipeline can reach a tool that changes warehouse objects.
In a regulated environment, the user's machine is treated as a boundary. A self-hosted server on a managed device can be controlled by device policy, but a personal machine or unmanaged session cannot. The reviewer's question is whether the configuration, credentials and tool set are fixed by the organization and whether a user can change them. Because the self-hosted server reads its toolsets from local environment variables, the approved configuration must be enforced outside the user's reach.
- Managed devices: require that the server runs only on managed endpoints with the approved configuration in place.
- Locked configuration: confirm users cannot edit environment variables or switch the server version.
- Warehouse access: the SQL tools, if enabled, run queries against the warehouse, so keep them disabled unless a reviewer has approved them.
- Tool change control: pin the server version and review tool changes before upgrading.
- Evidence: keep the configuration, scope and approval records that an auditor would ask for.
Confirm with your compliance and security teams which controls they accept as the boundary, and document any gap they require you to close before rollout.
Where dbt MCP controls fall short
The dbt MCP server gives an agent useful access, but several of its controls depend on version pinning, how modes are configured, how tokens are issued and where the server runs. Each card below names one gap and the control that usually covers it, so reviewers can check each one before approval.
Remote tool lists can change
dbt states that remote MCP tools can change without notice or a deprecation period. A tool your reviewers approved today may be added, renamed or altered after an upgrade, and nothing in your approval record will show it. Pin a version of the self-hosted server if you need a frozen tool set, and retest the tool list after any change. For the remote server, ask dbt how tool changes are announced and whether you can receive notice before they take effect.
Available toolsEnable and disable modes conflict
The self-hosted server uses a disable list by default, where all toolsets are on unless you turn specific tools off with DISABLE_TOOLS. Setting an enable variable switches to an allowlist, where only enabled toolsets run. dbt warns that mixing both modes for one toolset leads to unpredictable behavior. Choose one mode for the whole deployment, prefer the allowlist for regulated use, and review the resulting active tool list in a test environment before rollout.
Personal tokens carry full creator permissions
dbt says personal access tokens inherit the permissions of the user who created them. A token created by an engineer with broad project and job rights gives any agent that holds the token the same reach, including job triggers through the Admin API tools. Use service tokens with narrow scope for shared or automated use, and rotate or revoke tokens when a person changes role or leaves. Ask dbt which token types your plan supports and how revocation takes effect.
Set up remote MCPLocal server depends on endpoint control
The self-hosted server runs on the user's machine, so its environment variables, pinned version and network path are only as controlled as the laptop or workstation it runs on. A developer can change DISABLE_TOOLS or swap the package version locally. Enforce these settings through managed endpoint policy or a centrally deployed configuration, restrict who can edit the MCP client configuration, and check endpoints during audits.
Per-tool audit records need confirmation
Reviewers usually need to know which tool an agent called, against which project, environment or job, and when. Authorization is checked per call against the target project, environment, job or run, but this page does not establish what the server records for each call. Ask dbt whether individual tool invocations are logged, where those records live, how long they are kept and whether they can be exported to your SIEM. Until the answer is in writing, treat audit coverage as a gap and log at the client and warehouse layers.
Order of work to lock down dbt MCP tools before production
This sequence moves a team from an unreviewed dbt MCP connection to one with a confirmed tool list, a deliberate deployment and token choice, a single filter mode, and a tested block on refused tools. Each step ends with a check a reviewer can record.
Confirm the plan and the tool list
The platform owner checks which dbt platform plan the organization holds and reads the current Available tools page to list every toolset and tool the target server exposes. Remote tools depend on the plan because the Discovery and Semantic Layer APIs vary by plan, so the list must come from the account that will actually be used. Done means a written inventory that names each tool, its toolset, and the plan it was checked against.
Choose the deployment and token types
The security lead and platform owner decide between the self-hosted server and the remote server based on the use case, then decide which token types are permitted. Personal access tokens inherit the permissions of their creator, and OAuth is limited to the scopes and projects the user consented to, so shared or automated use needs a deliberate token choice. Done means a short decision record stating the deployment, the allowed token types, and who owns each credential.
Pick one enable or disable mode
On the self-hosted server, the team selects either disable mode, where all toolsets start active and named tools are switched off, or enable mode, where only listed toolsets run. Mixing the two modes for one toolset leads to unpredictable behavior, so the configuration should use exactly one approach. Done means a reviewed configuration file that the security lead has signed off, with a single mode recorded.
Remove risky tools for the consumer use case
Using the inventory from the first step, the team decides which tools a consumer of dashboards and lineage does not need. Build, run, test, clone, compile and show can change models or warehouse objects, show executes SQL, and the Admin API job tools can start, retry or cancel jobs. Tools that a read-only consumer does not need should be turned off or left out of the enabled set. Done means a list of retained and removed tools, each with a stated reason.
Pin the self-hosted server version
Remote tools can change without notice or a deprecation period, so the platform owner pins a specific version of the self-hosted server if the tool set must stay fixed. Each version upgrade then becomes a change that goes through review rather than an automatic update. Done means the pinned version is recorded in the deployment record, and the team knows which upgrade path requires a new review.
Test that blocked tools are refused
A tester connects a client using the production-like configuration and attempts to call each removed tool, along with one permitted tool that depends on the same permissions. Refused calls confirm the filter works, and a successful call on a removed tool means the configuration must be fixed before release. Done means a dated test record listing each tool and its observed result, reviewed by security.
Set a review cadence for tool list changes
The security lead assigns an owner to watch for changes in the tool list and sets a recurring review of the inventory, the filter settings and the pinned version. Each change should trigger a repeat of the blocked-tool test before it reaches users. Done means a named owner, a review schedule agreed in writing, and a change log that records every tool addition or removal.
Evidence a security reviewer should ask for
This table lists the evidence to request for a dbt MCP deployment, with the source each item comes from and what a reviewer should confirm. Read it as a request list: each row names an artifact, where dbt documents it, and what a complete answer looks like. Gaps in any row are a reason to pause approval until the owner provides the artifact.
| Evidence item | What to request | Where dbt documents it |
|---|---|---|
| Tool allowlist or disable configuration | The exact DISABLE_TOOLS list or DBT_MCP_ENABLE settings, and confirmation that no toolset mixes both modes | MCP environment variables reference |
| Default toolset state | Which SQL, codegen and server metadata tools are off, and which dbt CLI, Semantic Layer, Discovery and Admin API tools remain on | MCP environment variables reference and Available tools |
| Deployment type and version | Whether the self-hosted or remote server is used, and the pinned self-hosted version for a frozen tool set | About dbt MCP server and Available tools |
| Token types and permission owners | Which identity each personal access token, service token or OAuth grant belongs to, and what that user can reach | Set up remote MCP |
| OAuth consent scope | The scopes and projects each user consented to, and whether any grant is broader than the use case | Set up remote MCP |
| Project and environment scope | The project, environment, job or run each identity targets, with confirmation that tool calls are checked against them | Set up remote MCP |
| Job and run action controls | Whether trigger_job_run, retry_job_run and cancel_job_run are disabled or limited to named jobs | Available tools |
| dbt-side audit records | Platform logs of job triggers, run changes and user or token activity, with retention period confirmed with dbt | Confirm with dbt account documentation and your plan owner |
Questions buyers ask before approving dbt MCP tools
Is SSO required to use the dbt remote MCP server?
The supplied dbt documentation does not state that SSO is required, so confirm the sign-in options your dbt platform plan offers before approving the remote server. The remote server authenticates through the managed dbt platform, and dbt's remote MCP docs say each tool call is authorized against the project, environment, job or run it targets, whether the client uses OAuth, a personal access token or a service token. Ask dbt whether your identity provider can be used for sign-in on your plan, and document which token type each client uses. Start with the remote MCP setup guide to see the authentication options dbt describes.
What does the dbt MCP server cost, and which plan do we need?
The remote server is available on all dbt platform plans, so the server itself is not a separate purchase in the supplied documentation. What changes by plan is the tool set, because the Discovery API and Semantic Layer API differ between plans. Your recurring cost is therefore your existing dbt platform subscription, and the question for procurement is which tools your plan exposes to AI clients. Ask dbt in writing for the current price of your plan, whether any MCP-related usage is metered, and the exact tool list your plan returns. The self-hosted server runs on user machines and carries its own cost in engineering time for installation, version pinning and updates.
How long does it take to lock down the dbt MCP server?
The supplied sources do not give a duration, so treat any timeline as something to agree with your own team or a partner in writing. The work breaks into a few parts: deciding which server flavor each use case needs, turning off risky tools on the self-hosted server, confirming which token types clients use, and checking that the users behind personal access tokens hold only the access they should. Hypothetically, a team with one project and one approved client has less to review than a team with many projects, several clients and CI jobs. Ask for the scope, the deliverables and the retest step in writing before work starts.
Can our own team lock down the dbt MCP server without outside help?
Yes, a platform team with dbt administrator access can make most of the changes, because the controls are configuration settings. For the self-hosted server, dbt's environment variables reference describes the disable mode, where DISABLE_TOOLS takes a comma-separated list of tool names, and the enable mode, where any DBT_MCP_ENABLE variable limits the server to the toolsets you name. dbt warns that mixing both modes for one toolset leads to unpredictable behavior, so pick one mode per toolset. The harder part is governance: confirming who holds the permissions behind each token, reviewing logs, and retesting after each version change. An outside security review can help with that verification, and DeployOpen's AI agent rollout review covers tool permissions, credential handling and admin settings for coding agents and MCP servers.
What makes the dbt MCP lockdown effort go up or down?
The main drivers are the number of dbt projects and environments in scope, the token types in use, whether CI jobs or shared services call the server, and how many AI clients you approve. Each project adds permission checks, and each token type adds a different ownership question: a personal access token inherits the permissions of the user who created it, while OAuth is limited to the scopes and projects the user consented to. CI and service use add job-triggering tools such as trigger_job_run, retry_job_run and cancel_job_run to the review. dbt's available tools page also says tools can change without notice on the remote server, so a recurring review cost applies. Fewer projects, one token policy and a short list of approved clients keep the effort lower.
What should we ask dbt to confirm in writing before approval?
Ask for written answers on five points: which tools your plan exposes on the remote server, which sign-in and token types it supports for each client, how authorization is checked per project, environment, job and run, whether tool changes are announced in advance, and what the data and logging terms are for your account. Also ask how a frozen tool set can be kept, since dbt recommends pinning a version of the self-hosted server for that purpose. Request the license terms, support scope and any fees tied to your current plan. Keep the answers with your approval record so reviewers can see which tools were allowed and why.
Which dbt MCP tools should we disable first?
Start with the tools that can change data or run work. The dbt CLI tools include build, run, test, clone, compile and show, and dbt warns that letting a client use dbt commands could modify data models, sources and warehouse objects, so proceed only if you trust the client. The show tool executes SQL against the database and returns results, which makes it a data exposure path as well. On the self-hosted server, SQL tools, codegen tools and server metadata tools are disabled by default, while dbt CLI, Semantic Layer, Discovery and Admin API tools are enabled by default. Review the Admin API job tools before enabling them for any AI client, because they can start, retry or cancel dbt platform jobs.
Where to check each control against dbt's documentation
Reviewers should treat dbt's own documentation as the authority for what each dbt MCP server tool does, and use the pages below as the checklist. Start with the Available tools page, which lists the dbt CLI, SQL, Admin API and other tool groups, and note which ones can run build, run or show or trigger, retry and cancel jobs. Next, read the MCP environment variables reference to confirm the toggles for the self-hosted server, including DISABLE_TOOLS and the DBT_MCP_ENABLE variables, and to check which toolsets are on by default. Then open the remote MCP setup page to confirm how each tool call is authorized against the project, environment, job or run it targets.
The tool list is not fixed. dbt states that the tool list is generated from the dbt-mcp README on GitHub when the docs are built, and that remote MCP tools can change without notice or a deprecation period. A control that you verified last quarter may no longer match the tool names in production, so the allowlist or disable list should be tied to a specific version of the self-hosted server and rechecked after each upgrade. Ask dbt, in writing, how it announces tool changes for the remote server and whether any notice channel is available to your team.
Keep a dated record of each check: the server version or remote endpoint tested, the environment variables or tool names set, the plan your dbt account is on, and the token type in use. Confirm with dbt which Discovery API and Semantic Layer capabilities apply to your plan, since the remote tools depend on it. Where a documented behavior is unclear to your reviewers, such as how a personal access token interacts with a project scope, record the question and get the answer from dbt before approval rather than assuming the default.
How DeployOpen tests and hardens a dbt MCP rollout
DeployOpen treats dbt MCP security as a bounded engagement: we map which dbt MCP tools a client exposes, test how permissions and tool toggles behave in that environment, and document the settings that keep risky tools off. The work follows a written scope agreed before testing starts, and the findings lead to fixes and a retest.
How we scope
- Inventory which dbt MCP server flavor each team uses, self-hosted or remote, and the dbt plan behind it
- List the CLI, SQL, Admin API and other tool groups that agents can reach in your setup
- Agree in writing which environments, projects, tokens and AI clients are in the test
- Confirm who owns approval for enabling or disabling tools before any change is made
How we build
- Test whether DISABLE_TOOLS and DBT_MCP_ENABLE settings produce the tool set you intended
- Check that remote tool calls are refused when a token lacks rights to the targeted project, environment or job
- Review personal access token and OAuth consent scope for over-broad access to projects and jobs
- Probe risky paths such as build, run, SQL execution and job retry or cancel for unintended changes
How we hand over
- Deliver a findings report covering tools, permissions, configuration and data exposure, with fixes ranked by risk
- Provide a tool allowlist or disable configuration documented for each approved client and team
- Record a pinned self-hosted server version where a frozen tool set is required, with an upgrade review step
- Run a retest after fixes are applied and document the results for your security review file
How we support
- Offer ongoing support, upgrades and continuous testing as a retainer when the tool set changes
- Re-review the tool list when dbt updates its remote tools, which dbt says can change without notice
- Support evidence requests from your security or compliance team as part of the written scope
- Confirm retainer terms, scope and deliverables in writing before work begins

