Databricks MCP security: does it meet our agent access requirements?
Databricks MCP servers enforce Unity Catalog permissions through Unity Gateway, but the Databricks SQL MCP server permits reads and writes by default, and the sandbox server is in Beta, so the controls must be configured before an agent is approved. The Databricks-provided data and tool servers are Genie One, Databricks SQL, web search and sandbox. Unity Gateway itself is generally available, while system.ai.dbsql, system.ai.sandbox and system.ai.web_search are marked Beta. The supplied documentation does not establish which plans or editions include these servers or their governance features, so confirm entitlements with Databricks in writing before the review closes. Also note that the Genie Agent MCP calls bypass Unity Gateway governance, so it is governed only by permissions on the Genie Agent and its data.
Start with the write path. Set disallow_writes to true in the built-in system.ai.dbsql_policy policy if the agent is meant to read only, then test that setting with an agent that attempts an INSERT, UPDATE or DELETE against a sample Unity Catalog table. For the Genie One server, Unity Catalog permissions are always enforced, so the approval question is which catalogs, schemas and tables the service identity and users can reach. Give the agent a dedicated identity with the narrowest grants, and confirm with your own test that it cannot read tables outside its use case.
For the sandbox, which runs Python or shell code in an isolated environment, treat the Beta label as a reason to ask Databricks what isolation, egress and file access apply, and to request the current documentation on those points. For registered external MCP servers, the tool list is open by default: admins must select tools manually or by prefix such as get_*, leave automatic inclusion of future tools off, and remember that exclusion patterns such as !delete_* are not supported. Service policies are in Beta and can block, allow or require approval for a call, and rate limits apply to tools/call requests. Record these settings as the evidence the review asks for.
Which security controls are built in, configurable or not available
This table compares the security controls Databricks documents for its MCP servers, showing whether each one is enforced by default, configurable by an admin, in Beta, or limited to a specific server. Read the status column first, because a control in Beta or a setting that allows writes by default needs an explicit decision before agents use it. Plan and edition requirements for each control should be confirmed with Databricks before you rely on them in a rollout decision.
| Capability | Status | Where it applies |
|---|---|---|
| Unity Catalog permission enforcement | Always enforced for Genie One | Genie One MCP server; users and agents can query only data they are allowed to access |
| Unity Gateway governance | Generally available | Governs system.ai MCP securables and external MCP servers registered through Unity Gateway |
| Grants on system.ai MCPs | Configurable through grants and policies | Each Databricks-provided system.ai MCP is a Unity Catalog securable |
| Databricks SQL read-only policy | Configurable; reads and writes allowed by default | Databricks SQL MCP server; set disallow_writes to true in system.ai.dbsql_policy (Beta) |
| Service policies with Sensitive Data Detection | Beta | Registered MCPs; can allow, block or require approval per tool call, and block PII in calls and results |
| Tool selection and prefix filters | Configurable; all tools exposed by default | Registered MCPs; select tools by exact name or prefix such as get_*. Exclusion patterns like !delete_* are not supported |
| Rate limits on tools/call | Configurable | Registered MCPs; the Databricks example caps an MCP at 60 calls per minute, returning HTTP 429 over the limit |
| Sandbox isolation | Beta | system.ai.sandbox MCP; runs Python or shell code in an isolated environment |
| Genie Agent MCP governance | Governed by Genie Agent and data permissions only | Genie Agent MCP; its calls bypass Unity Gateway governance |
How Unity Gateway enforces access to each Databricks MCP
Every Databricks-provided system.ai MCP server is a Unity Catalog securable invoked through Unity Gateway, so grants and policies are the decision points for what an agent can reach. A reviewer should start by listing which principals hold EXECUTE on each system.ai MCP, which service policies are attached, and which workspace groups can change those settings. Confirm in your own workspace how these grants are inspected and who can modify them, because the outcome for an agent depends on those settings rather than on the agent's own configuration. Genie One is the strongest of the three on data scope: its documentation states that Unity Catalog permissions are always enforced, so users and agents can only query data they are allowed to access.
The Databricks SQL MCP server is the place where the gap between data access and data change matters most. It lets agents run AI-generated SQL against Unity Catalog tables to read and write data, and writes are allowed by default. Unity Catalog grants still limit which tables the caller can touch, but they do not stop an authorized writer from changing those tables. To make the server read-only, set disallow_writes to true in the built-in system.ai.dbsql_policy policy, then test that an agent's INSERT, UPDATE, DELETE and MERGE attempts fail. The sandbox server runs Python or shell code in an isolated environment, so its risk is different: confirm what that isolation covers for network egress and for data reachable from the workspace, and note that the server is in Beta.
Service policies are where you can intervene before a call runs. A policy on an MCP can evaluate a tool call first and allow, block or require approval for it, and a built-in Sensitive Data Detection policy can block calls and results that contain PII. Service policies are in Beta, so test them against the exact tool names your agents use before you rely on them. Registered external servers follow a URL pattern of the form https://<workspace-hostname>/ai-gateway/mcp-services/<catalog>.<schema>.<service>, which places them under the same Unity Gateway governance as a registered service. Note that the Genie Agent MCP is governed by permissions on the Genie Agent and its data, and its calls bypass Unity Gateway governance, so it needs its own review.
Which Databricks MCP tools carry the most risk
Databricks MCP servers differ in how much they can change and how much they route around central governance. The cards below pair each high-risk tool or setting with the control that limits it, so reviewers can decide which servers to allow, restrict or block before rollout.
SQL writes through the Databricks SQL MCP
The Databricks SQL MCP server lets an agent run AI-generated SQL against Unity Catalog tables to read and write data, and writes are allowed by default. A misdirected or injected prompt could change or delete production rows. Check whether any workspace uses this server without a policy change. To block writes, set disallow_writes to true in the built-in system.ai.dbsql_policy policy, then confirm the change in a test workspace before relying on it.
Databricks SQL MCP docsSandbox code execution in Beta
The system.ai.sandbox MCP runs Python or shell code in an isolated environment, which means an agent can execute arbitrary commands on the agent's behalf. The server is marked Beta, so the isolation model and its roadmap may change. Ask Databricks what the sandbox can reach over the network, which files it can read, and how its output is returned. Restrict its use to approved workspaces until those answers are documented.
Genie Agent MCP bypassing Unity Gateway
The Genie Agent MCP is governed by permissions on the Genie Agent and its data, and its calls bypass Unity Gateway governance. That means Unity Gateway policies, such as service policies and rate limits, do not apply to these calls. Reviewers should confirm that the Genie Agent permissions match the data owners' intent, and that the team knows which controls cover this path and which do not.
Registered external MCPs exposing all tools
Registered MCPs expose all server tools by default, so a newly registered external server may offer delete or write operations to agents without anyone choosing them. Admins can select tools manually or use exact names or prefixes such as get_*, and automatic inclusion of future tools can be left off. Exclusion patterns such as !delete_* are not supported, so the allowlist must name the tools to keep.
Govern an MCP docsWeb search egress in Beta
The system.ai.web_search MCP sends agent queries to the open web, which can carry internal names, project codes or customer details into search requests. The server is marked Beta. Before approving it, decide which queries are acceptable to send outside the company, and test whether an agent can be steered by injected content in search results. Pair the decision with the service policies described for MCP governance.
PII in tool calls and results
Agents can pass personal data into tool calls and receive it back in results, so sensitive records may leave the governed path. Service policies on MCPs are in Beta and can allow, block or require approval for a tool call before it runs. The built-in Sensitive Data Detection policy can block calls and results that contain PII. Enable it, test it against sample records, and add rate limits, since calls over 60 per minute return HTTP 429 in the docs example.
Govern an MCP docsHow the answer changes by use case and data sensitivity
Genie One is the Databricks-provided MCP server recommended for natural-language business questions. Its main safeguard is that Unity Catalog permissions are always enforced, so a user or agent can only query data that the caller is already allowed to access. The review therefore centers on the grants behind the Genie space and the data it can reach, not on the tool itself.
- Scope the data, not just the tool: Confirm which catalogs, schemas and tables the Genie space exposes and that each caller holds only the grants needed.
- Use named identities: Require individual user identities rather than shared service access so queries can be attributed in review.
- Review the Genie Agent path separately: The Genie Agent MCP is governed by permissions on the Genie Agent and its data, and its calls bypass Unity Gateway governance, so add it to the review as its own item.
- Confirm feature status: Check the current availability status for each Databricks-provided server before production use, since the docs mark several tools as Beta.
- Test with sensitive questions: Ask representative business questions that touch restricted columns and confirm access is denied where it should be.
Before approval, confirm in your workspace which grants apply to each Genie space and whether any Genie Agent calls are in use.
The Databricks SQL MCP server lets agents run AI-generated SQL against Unity Catalog tables to read and write data. Reads and writes are allowed by default, so this is the highest-risk data tool in the Databricks set and needs explicit configuration before any production use. The system.ai.dbsql tool is marked Beta.
- Make it read-only by default: Set
disallow_writestotruein the built-insystem.ai.dbsql_policypolicy for any environment where agents should not change data. - Limit writes to sandboxes: If engineers need write access, restrict it to development catalogs and keep production grants separate.
- Apply rate limits and policies: Use the MCP rate limits and service policies to add approval or blocking for risky calls, bearing in mind that service policies are Beta.
- Keep the sandbox out of production: The system.ai.sandbox tool runs Python or shell code and is Beta, so it should not be enabled for production workloads without a dedicated review.
- Verify the policy took effect: Run a test write from a development identity and confirm it is blocked.
Before rollout, confirm the policy name and setting in your own workspace, and document which identities can reach the server.
External MCP servers are self-hosted or third-party servers you register through Unity Gateway, and custom servers can be built on Databricks Apps. Registration brings the server under Databricks governance, but the server's own code, credentials and data handling remain your responsibility. The URL pattern for registered servers follows the form in the external MCP server documentation.
- Review the server code and owner: Confirm who maintains the server, what it can change and whether it has been reviewed before registration.
- Narrow the tool list: Registered MCPs expose all tools by default, so select tools manually or use exact names or prefixes such as
get_*, and leave automatic inclusion of future tools off. - Know the exclusion limit: Exclusion patterns such as
!delete_*are not supported, so build an allowlist rather than trying to subtract dangerous tools. - Add a call-level policy: Use service policies to block or require approval for specific tool calls, noting the Beta status.
- Control credentials: Check how the server authenticates to downstream systems and who can read those secrets.
Before registration, confirm the exact tool list the server returns and re-check it whenever the server is updated.
When data includes personal information or regulated records, the question is whether the agent can see that data at all and whether results leave controlled boundaries. Unity Catalog grants are the first line, and the MCP policy layer is the second. Neither should be relied on alone, and compliance obligations under frameworks such as HIPAA or GDPR must be confirmed with your own counsel and compliance team.
- Apply the Sensitive Data Detection policy: The built-in policy can block calls and results that contain PII, which should be tested against your own data samples.
- Avoid Beta features in production: Keep system.ai.dbsql, system.ai.sandbox and system.ai.web_search out of regulated workloads until they are generally available.
- Restrict by table and column: Grant access only to the minimum tables and confirm that sensitive columns are excluded from grants.
- Log and retain calls: Confirm where MCP calls are recorded, who can read those logs and how long they are kept.
- Document the data path: Record which regions, services and vendors touch query results.
Before approval, ask Databricks for current documentation on data handling and confirm your own compliance requirements, because this page does not establish any certification.
Order of work to lock down Databricks MCP before production
This sequence moves a Databricks MCP rollout from an open default to a reviewed configuration, with each server limited to what the use case needs and checked before agents reach production data.
Inventory every MCP server in use
The platform owner lists each Databricks-provided system.ai MCP that is enabled (Genie One, Databricks SQL, web search and sandbox), each registered external or custom MCP server, and each Genie Agent MCP that agents may call. Record the workspace, the Unity Catalog objects each one touches and the owner of each. Note which features are Beta, since the docs mark system.ai.dbsql, system.ai.sandbox and system.ai.web_search as Beta. The step is done when every server has a named owner and a written business purpose. Genie Agent calls bypass Unity Gateway governance, so list them separately and confirm their controls in the Genie Agent permissions instead.
Set grants to least privilege
The Unity Catalog administrator reviews the grants on each system.ai MCP and on the catalogs, schemas and tables behind it, removing access that the use case does not need. Genie One enforces Unity Catalog permissions for users and agents, so the data grants themselves are the main control there. The check is a grant review: for each principal used by agents, confirm the tables it can read and write, and confirm that service identities are not shared with people. Keep the output as an exported list of grants, which the retest in the final step will compare against.
Make the Databricks SQL policy read-only where writes are not needed
Reads and writes are allowed by default on the Databricks SQL MCP server. Where agents only need to answer questions or read data, set disallow_writes to true in the built-in system.ai.dbsql_policy policy. Platform engineering makes the change and a second reviewer confirms it. Verify by running a test write through an agent identity in a non-production workspace and confirming the call is refused. Where a team does need writes, document which tables, which identity and which change process apply, and keep that scope narrow.
Decide on Beta sandbox and web search features
The sandbox MCP runs Python or shell code in an isolated environment, and it is in Beta, as is web search. Security and platform leads decide whether each Beta feature may be enabled in production at all, or only in a sandbox workspace. Record the decision, the reason and the owner of the review. If the sandbox stays enabled, confirm with Databricks what the isolation covers, which data it can reach and how its outputs are logged. If it stays off, confirm that no agent or registered server can invoke it. The check is a signed decision record that names each Beta feature.
Select tools on registered MCP servers
Registered MCPs expose all server tools by default. For each external or custom MCP server, the admin selects only the tools the use case needs, by exact name or prefix such as get_*, and leaves automatic inclusion of future tools off. Exclusion patterns such as !delete_* are not supported, so the allowlist must be built from inclusions. Verify by listing the exposed tools from an agent identity and comparing the result with the approved list. Any new tool a server publishes should stay hidden until a reviewer adds it.
Add service policies and Sensitive Data Detection
Service policies on MCPs are in Beta. They evaluate each tool call before it runs and can allow, block or require approval. Attach policies to the riskiest tools first, such as write-capable SQL and sandbox execution, and enable the built-in Sensitive Data Detection policy to block calls and results containing PII. The check is a test set of prompts that try to read or send sensitive fields, where the expected result is a block or an approval request. Record the policy version and the test results so the approval workflow can be audited.
Set rate limits for tool calls
Rate limits apply to tools/call requests. The docs example caps an MCP at 60 calls per minute, with calls over the limit returning HTTP 429. Platform engineering sets a limit for each server that fits its expected agent workload, and confirms the limit with the owner of each server. Verify by sending calls above the configured limit from a test identity and confirming that HTTP 429 is returned. Limits protect data stores and reduce the blast radius of a runaway agent loop, so record the chosen value next to the server inventory.
Retest and record the approved configuration
Security runs a retest against the final configuration: it compares the exported grants with the baseline, checks the read-only policy, repeats the blocked-call tests, confirms the tool allowlists and confirms the rate limits. It also tests prompt injection against each agent that can call the servers, since injected instructions can request writes or sandbox execution. The step is complete when every control has a dated test result and every exception has an owner and a review date. Repeat the retest after any change to grants, tools or policies.
Request flow from agent to Unity Catalog data
An agent client sends its tool call to Unity Gateway, which first runs any service policy on the call, such as a block, approval requirement or Sensitive Data Detection check. The call then reaches the Unity Catalog grant check, and only then does the Databricks SQL, Genie One or sandbox MCP server act on the data. The Genie Agent MCP sits outside this path: its calls bypass Unity Gateway, so reviewers must check its permissions on the Genie Agent and its data separately. Confirm which service policies are configured and in what state (Beta features) before approving a server.
Tool calls pass a policy check and a grant check before reaching Databricks MCP servers.
What a security reviewer will ask to see
This table lists the controls a security reviewer should ask the team to show for Databricks MCP servers, with the evidence to request and where each setting lives in Databricks. Read it as a checklist: each row names a setting, the artifact that proves its current state, and the place in the workspace or account where the owner can export it. Confirm each item against the live workspace, because the Beta features in the last row may change before general availability.
| Control | Evidence to request | Where it comes from in Databricks |
|---|---|---|
| Grants on system.ai MCPs | Current grants on each Databricks-provided system.ai MCP, with the principals that hold them and an export from the grant listing | Unity Catalog permissions on the system.ai securables, which Unity Gateway enforces |
| dbsql_policy setting | Value of disallow_writes in the built-in system.ai.dbsql_policy policy, plus a dated screenshot or export showing it | Built-in policy on the Databricks SQL MCP server; writes are allowed by default until it is set to true |
| Tool selection on registered MCPs | List of tools each registered MCP exposes, showing manual selections, exact names or prefixes, and whether future tools are auto-included | Govern an MCP settings for each external or custom MCP registered through Unity Gateway |
| Service policy configuration | Each policy attached to an MCP, its allow, block or approval action, and whether Sensitive Data Detection is enabled | Service policies on registered MCPs, which are in Beta and evaluate tool calls before they run |
| Rate limit configuration | Configured tools/call limit for each MCP and the HTTP 429 behavior confirmed in testing | MCP rate limit settings in Govern an MCP; limits apply to tools/call requests |
| Audit records of MCP calls | Sample log entries for tool calls by user or agent, retention period set by the account, and who can read the records | Audit logging for Unity Gateway and Unity Catalog; confirm the export path and retention with the Databricks account team |
| Beta feature list | Inventory of MCPs in use that are marked Beta, with a named owner and a review date for each | Databricks-provided MCPs page marks system.ai.dbsql, system.ai.sandbox and system.ai.web_search as Beta |
Questions buyers ask before approving Databricks MCP
Does the Genie One MCP server enforce Unity Catalog permissions on every query?
Yes. For the Genie One MCP server, Unity Catalog permissions are always enforced, so users and agents can only query data they are allowed to access. The main control to review is therefore the set of grants on catalogs, schemas and tables. Confirm which identity the agent calls with, because a broadly granted service identity widens what the agent can reach. Test the setup with a restricted user and confirm that a table the user cannot read stays unreadable through the agent. Note that the Genie Agent MCP is a different case: its calls bypass Unity Gateway governance and are controlled by permissions on the Genie Agent and its data, so it needs its own review. Ask Databricks to confirm how these permissions apply in your workspace.
Can writes through the Databricks SQL MCP server be turned off?
Yes, but only through configuration, because the server permits reads and writes by default. Set disallow_writes to true in the built-in system.ai.dbsql_policy policy to make the Databricks SQL MCP server read-only. After the change, verify it by having a test agent attempt an insert or update against a non-production table. Pair the policy with Unity Catalog grants that remove write privileges at the data layer, so a single setting is not the only barrier. Keep in mind that the server is in Beta and that AI-generated SQL can be broad, so test the query patterns your teams actually use before approval. If some teams need write access, put them in a separately reviewed configuration.
Is the Databricks sandbox MCP production ready given its Beta status?
Not on the basis of its documented status alone, so plan to pilot it before any broad rollout. The docs mark system.ai.sandbox as Beta, and it runs Python or shell code in an isolated environment. Beta features can change in behavior, limits and interfaces, so treat the sandbox as a pilot tool until your review says otherwise. Before approval, ask Databricks what the isolation boundary covers, what outbound network access the sandbox has, which identity it runs under and what it logs. During the pilot, limit it to non-sensitive datasets and keep it away from production credentials. Code execution is where risk concentrates, so DeployOpen's AI agent rollout security reviews test tool permissions, credential handling and data exposure, and deliver a findings report with fixes and a retest.
What does a Databricks MCP deployment cost, and what drives the effort?
Cost has two main parts, and the researched facts do not give a price for either, so confirm both in writing. The first part is Databricks platform consumption that agent calls trigger, such as SQL compute, which Databricks sets and bills. Ask Databricks for the consumption terms that apply to your edition. The second part is the scoped work to configure and verify controls. DeployOpen does not publish a price list; a quote follows from a written scope. Effort rises with the number of MCP servers you expose, the number of external or custom servers built on Databricks Apps, the size of the Unity Catalog estate, and the number of test and retest cycles needed. Ask the quote to separate one-time work from recurring items, such as retainers for continuous testing.
Can our internal team configure Databricks MCP controls without outside help?
Often yes for the basic controls, which are documented. A team comfortable with Unity Catalog grants can review permissions, set disallow_writes on the SQL policy and choose which tools a registered MCP exposes. Registered MCPs expose all tools by default, so an admin must select tools deliberately. The harder work is testing agent behavior: prompt injection, misuse of tools that change data, and whether Sensitive Data Detection catches the PII you care about. Service policies on MCPs are in Beta, and rate limits apply to tool calls, with the docs example capping an MCP at 60 calls per minute. Assess your team's skills in Unity Catalog administration, MCP tool governance and security testing. Gaps in those areas are the usual reason to bring in a fixed-scope engagement.
Which Databricks edition entitlements should we confirm before approval?
Confirm them in writing with Databricks before approval, because the researched documentation does not tie each MCP feature to a specific plan or edition. Check whether Unity Gateway and the Databricks-provided MCP servers are enabled in your workspace, and whether the Databricks SQL, Genie One, web search and sandbox servers are available in your region and cloud. Ask which Beta features your agreement permits and whether Beta status carries any change or support terms. Confirm that service policies, the Sensitive Data Detection policy and the rate limit controls are available to you. Also confirm whether MCP call audit logs are included and where they are stored. Record the answers in the approval file so reviewers can see which controls depend on your edition.
Official Databricks pages to check each claim against
Before approving any Databricks MCP server, the reviewer should check each claim in this guide against Databricks' own pages, because the product behavior described here changes between releases and several components are still in Beta. Start with the Databricks SQL MCP server page and confirm the default read and write behavior, the exact name and location of the built-in system.ai.dbsql_policy policy, and the disallow_writes setting that makes the server read-only. Record the page date and the workspace version you tested, since the default write permission is the single setting most likely to decide your risk rating.
Next, open the Databricks-provided MCPs page and verify which system.ai servers exist in your workspace, which of them are Beta, and which ones bypass Unity Gateway governance. The Genie Agent MCP is the one to confirm closely, because its calls are governed by permissions on the agent and its data rather than by the same Unity Gateway controls. Ask Databricks to confirm in writing whether the sandbox server, which runs Python or shell code, is enabled for your workspace and region.
Then check the Genie One MCP server page for its statement that Unity Catalog permissions are always enforced, and test that statement with a non-privileged test identity rather than accepting it as written. Finish with the Govern an MCP page, which covers tool selection, the Beta service policies, Sensitive Data Detection, and the 60-calls-per-minute example rate limit. Confirm which of these controls your plan and workspace support, and note that the tool filtering options do not support exclusion patterns such as !delete_*, so any blocking must be done through allowlisting.
How DeployOpen reviews Databricks MCP setups
DeployOpen plans, tests and hardens the self-hosted and integrated parts of an AI agent rollout inside the client's own environment, so the client's security and compliance teams can review them. For Databricks MCP security, the work covers which MCP servers are enabled, which tools they expose, and how grants, policies and logging are set.
How we scope
- Inventory which Databricks-provided MCP servers and external servers staff or agents may reach, and which are blocked.
- Map Unity Catalog grants, the Databricks SQL policy and each tool exposed to agents before any testing starts.
- Agree the scope in writing as a fixed-scope engagement, with deliverables and timelines confirmed before work begins.
How we build
- Configure read-only Databricks SQL access through the built-in dbsql policy and confirm writes are blocked in practice.
- Test risky tools such as SQL writes and sandbox code execution with prompt injection and permission abuse scenarios.
- Check tool allowlists, rate limits and service policy coverage, then test whether sensitive data gets through calls and results.
How we hand over
- Deliver a findings report that lists each gap, its severity, the fix and the setting it applies to.
- Document the final grants, policies, tool selections and logging so reviewers can verify them independently.
- Retest after fixes are applied and confirm the closed findings in a written retest result.
How we support
- Offer ongoing support, upgrades and continuous testing as a retainer when Databricks MCP servers change.
- Re-review new tools and policy changes before staff or agents use them in production workspaces.
- Prepare evidence for customer or internal security reviews, such as configuration records and test results.

