> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dataturner.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Egress and governance

> Understand tenant opt-in, external data transfer, and Hosted MCP audit records.

External Model Context Protocol (MCP) connections represent a
**customer-directed egress class** distinct from DataTurner's internal
ZDR-routed LLM calls. After tenant opt-in, authorized tool results leave
DataTurner for the assistant the customer chose. DataTurner's internal
zero-data-retention routing does not cover that external transfer.

## Tenant controls

* Every tenant defaults to `mcp_access = 'off'` regardless of data class
  (`DEMO` or `LIVE`). Enabling `read` requires strong sign-in and current
  tenant-wide `tenant.capabilities.manage`. DataTurner audits the change.
* Effective access is the intersection of OAuth client scopes, the tenant's
  MCP access level, live operator permissions, and PostgreSQL row-level
  security (RLS). DataTurner resolves the active tenant and operator from the
  verified token without provisioning a user.
* Human approval submission is excluded from MCP.

Console session JWTs cannot call `/mcp`, and MCP access tokens cannot call regular REST routes.

## Egress attribution

After tenant resolution, DataTurner records a content-free `DECISION` audit
event with `command_type = "mcp.tool.call"`. The event records the MCP source,
client ID, tool, outcome, reason code, and tenant data class. Tool arguments and
result content are excluded from this event.

Token issuance requires an approved client for the workspace and user
consent. Tenant administrators manage approved clients in **External AI (MCP)**.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.