← Back to the journal

DataFocus · Journal

What Can an External Agent Write in OT Heavy? The Three-Way Intersection

According to the OT Heavy 8.0.9 manual, an external agent can write only where three controls overlap: the External Agents operation setting, the exact OAuth grant, and EDIT access on the resource. Heavy's MCP support is reported, not site-tested.

You limit an MCP agent's writes in DataFocus OT Heavy by controlling three things at once, because the manual says the scope an external agent can actually write to is the intersection of them: the External Agent operation setting, the exact OAuth grant range, and System resource EDIT access. Remove any one and the write is out of scope. The External Agents tab does not create a second set of resource permissions, so the controls you already run for people stay the ceiling for agents. This post describes what the Heavy 8.0.9 manual documents.

What is the status of MCP in OT Heavy?

The product brief's edition table marks AI agent access (MCP) as available in both editions (see the product brief).

Two further limits are worth knowing before a security review:

  • The Heavy manual documents version 8.0.9 and, per DataFocus's documentation index, does not assert how other versions or a specific deployment behave. For Agent/MCP integration, the Heavy docs page refers readers to the OT Flash manuals.
  • DataFocus publishes no public MCP endpoint and no live sandbox. The tool schema comes from an authenticated product instance, so you cannot inspect Heavy's tool list from the website. Available tools depend on your instance and the account's permissions.

So the right posture is: apply the intersection rule below, and verify every row against your own instance before you rely on it.

Why model agent writes as an intersection?

OWASP's LLM06:2025 Excessive Agency names three root causes: excessive functionality, excessive permissions and excessive autonomy. Its mitigations include requiring a human to approve high-impact actions before they are taken. The MCP specification's Security Best Practices (2025-06-18 version) recommends progressive least-privilege scopes and logging scope elevation events.

An intersection maps onto those three causes:

OWASP root causeControl that bounds itWhere in OT Heavy
Excessive functionalityWhich write operation types agents may initiate at allAdmin > External Agents
Excessive permissionsThe grant's exact range, capped by the user's EDIT accessOAuth grant; Admin > Permission
Excessive autonomyAgent changes wait for approvalAgent change approvals (External Agents tab)

The mapping is our reading of the two documents side by side, not something either vendor states.

What does the External Agents tab control?

Admin has 12 tabs, and External Agents is one of them. According to the manual, it configures:

  1. Which kinds of write operations external Agents, connected through MCP, may initiate.
  2. Agent change approvals.
  3. MCP data administrator access.

This is the coarsest control. It answers "may any agent initiate this class of change in this installation?" It does not say which tables or ontologies, and it does not say whose authority the agent acts under. That is what the other two sets decide.

How do the OAuth grant and resource EDIT access limit a write?

The second set is the exact OAuth grant range: whatever scope and resources the authorizing user approved for that client connection. The third is System resource EDIT access, managed under the Permission tab, where custom roles receive permissions by resource category (All Resources, Ontology, Data Entry). The manual states that access to tables, ontologies, projects and other resources is controlled centrally there.

The ontology brief states the same principle in general terms: an agent gets only what the authorizing user may see, a request outside the grant does not reveal whether the data exists, and withdrawing access takes effect at once. Put the withdrawal and no-existence-leak behavior on your test list.

Worked example (hypothetical)

Consider a hypothetical analyst, Lin, who has EDIT on a data-entry table called "Supplier master" and only read access to "Purchase orders". An administrator has enabled data-entry writes under External Agents. Lin authorizes a coding agent with a grant covering both resources.

Agent requestOperation enabled?In the grant?Lin has EDIT?Result per the documented rule
Update a Supplier master rowYesYesYesIn scope, still subject to approval
Update a Purchase orders rowYesYesNoOut of scope
Edit a table outside the grantYesNoYesOut of scope
A write type the admin has not enabledNoYesYesOut of scope

Only the first row passes all three checks. This table is illustrative: it applies the documented rule to invented names, and we did not run it.

Which roles matter, and what are MCP roles?

OT Heavy ships preset system roles that cannot be modified: SYSTEM_MANAGER (global configuration, users, roles), SOURCE_MANAGER (manages all resources and grants permissions), DEPARTMENT_MANAGER, DEVELOPER (adds resources and manages those they have permissions on) and LOG_MANAGER (audits logs). Custom roles can be created.

The roles list also includes MCP roles for external Agents. The manual's examples are MCP_EXECUTION_RUN_ADMIN and MCP_DATA_ENTRY_AUTHORING_ADMIN. The sources we used list these names but do not state what each role grants. Read that as a prompt for your own review:

  • Find out which of your users hold an MCP role, because an agent acts for the user who authorized it.
  • Keep SOURCE_MANAGER and SYSTEM_MANAGER holders out of casual agent authorizations. A person who can grant permissions is a broad authority to delegate.
  • Confirm the exact meaning of each MCP role with DataFocus support or your instance's tool catalog before assigning it. Do not infer it from the name.

The manual's warning about executions applies here too: executions are Python scripts that actually read or change data, so grant them only to people who need them and save only after a test run. If an agent can trigger an execution through a user's authority, that user's execution rights are part of the blast radius.

How do change approvals and audit fit in?

Writing permission is only half of the control. The other half is what happens after an agent proposes a change.

DataFocus's docs describe changes as moving through draft, diff, validation, approval, commit and read-back. Approval applies to a specific plan and base version and must be confirmed again if either changes. The homepage says every change records before and after, the diff and who approved it. The brief adds that when AI wants to change something it can only submit a draft, which takes effect after a person approves it. These are the product's documented design. For Heavy, the brief states that every agent action is also recorded.

What you can rely on from the Heavy manual itself is narrower. Operate Logs record operations such as logins, table imports, new projects and pinboard changes, and viewing them requires the LOG_MANAGER or SYSTEM_MANAGER role. Entries show host, type, status, detail, operate user, username and time. Whether MCP-initiated writes appear there with the agent distinguished from the user is not stated in the sources, so test it.

DataFocus also does not claim to store your client's conversations. To trace what an agent did, combine the tool-access records with the conversation records from your own client. The MCP specification's Security Best Practices make the identity point: if a server passes client tokens through, downstream logs show a different identity than the real caller. Ask whether your instance records the authorizing user, the agent client and the approver as separate fields.

A pre-production checklist

Run this against a non-production instance, with synthetic data, before any agent touches real tables.

  1. Read the tool catalog from your instance. Product documentation does not grant permission to act, and the public site has no tool schema.
  2. Open Admin > External Agents and enable only the write types you need. Leave the rest off.
  3. Authorize the agent from a low-privilege test user, with the narrowest grant that completes one task. DataFocus's guidance is to start with a narrowly scoped query and add write access as the task requires.
  4. For each row of the worked-example table, attempt the write and record the result: allowed, refused, or refused with a message that reveals nothing about whether the record exists.
  5. Remove the test user's EDIT permission and retry. Withdrawal is described as taking effect at once; confirm it.
  6. Change the target record between draft and approval and confirm the approver is asked again.
  7. Check Operate Logs under a LOG_MANAGER account and note what an MCP-initiated change looks like.
  8. Check data destinations and token revocation, and whether the client can reach the service from where it runs.

When this is not the right fit

If your policy requires an agent to hold its own identity, separate from any person, the documented model does not match: agents act within an authorizing user's reach. If you need a vetted Heavy MCP tool list today, none is published, and the Heavy manual defers to Flash for integration. In those cases, treat Heavy agent writes as a design to evaluate with DataFocus, not a control to assume.

Next step

Read the OT Heavy documentation page and Admin chapter 14 of the 8.0.9 manual, then read the tool catalog and MCP role definitions from your own instance. OT Heavy is free to download at datafocus.ai/download, and the installers and release notes are also on the DataFocus_OT_Heavy GitHub repository.