Writing safely over MCP
How an AI app changes records in Volatilis GRC without overwriting anyone, what needs a confirmation, which limits apply, and what always stays with a person.
Role needed
An AI app with write access changes the register directly. Layers around every change keep that safe. Each layer can only take access away, never add it.
1. Grants
A token holds grants per module and level: Read, Write, Delete and Approve. Create it with the least it needs. A new token starts as "Read only"; the presets "Risk team" and "Legal team" add Write on their modules, and "Full access" is the widest. Delete and Approve are never in a preset. Details: Authentication.
Attachments have no module of their own. They follow the record they hang on: risks:write allows adding a link to a risk, but not to a contract. A Read grant on the record's module allows listing; deleting an attachment needs the Delete grant of that module. The organization's token policy applies as for other writes. Tokens without grants keep working as before.
2. The organization's token policy
Admins can switch off, for all tokens and connected AI apps: "Allow tokens that can write", "Allow delete grants" and "Allow approve grants". Delete and approve are off by default. See API and MCP tokens.
3. The person's own access
Every call runs as the person behind the token: role, groups, department scope and ownership of records. The assistant never sees or changes more than the person could in the app. Plan limits apply too.
4. recordVersion: nothing is overwritten
Every read result carries recordVersion. A tool that changes or deletes a record needs that value. If the record changed in the meantime, the tool refuses and the assistant must read again, check the new state with you and repeat. The REST API does the same with If-Match (428 without it, 412 when stale) and accepts JSON Merge Patch for PATCH. See REST conventions.
5. Deleting needs confirm
Delete tools take confirm: true and are marked destructive, so apps such as Claude Desktop and Claude Code ask you before the call. The tool description tells the assistant to call it only after you confirmed. Deleting also needs a Delete grant. A framework or requirement cannot be deleted while something refers to it. Risks are never deleted over MCP: close or archive them, so the audit trail stays.
Tools that send something to another party on your behalf also take confirm: true, without the destructive mark: support_requests_create (a support request to Volatilis) and support_requests_reply. The assistant must show you the exact text first and pass confirm: true only after you said yes. Support requests are part of Intelligence and Tailored; on the Foundation plan the tools answer with the address support@volatilis.org. They are never counted against the monthly API allowance, and you can open at most 10 requests an hour.
6. Four-eyes stays
An assistant can request an approval, a risk acceptance or a board paper submission. Deciding needs an Approve grant, and nobody can decide a request they raised, a token included. Policies and board papers start as drafts and only become effective through a second person's decision.
7. Limits and the audit log
A token may make 120 changes a minute and 500 a day. Reads are not counted against that ceiling. MCP calls never use the monthly API allowance. Every change is written to the audit log with the channel mcp or mcp-oauth, the token or the OAuth app name, so a bad run can be found and corrected. Text that comes back from tools is data, not instructions; the assistant is told to treat it that way.
What stays with a person
| Not a tool | Why |
|---|---|
Creating or changing an automation (draft_automation only prepares a draft) | An automation runs later, unattended, with its creator's rights. A person must accept it in the app, otherwise an injected instruction could plant a lasting actor |
| Accepting or dismissing AI findings of a contract, accepting AI-extracted obligations | Human review of AI output is the promise of the legal module |
| Answering an attestation, confirming a policy review, signing off the year-end pack | A person's own statement. An assistant cannot attest for someone |
| Applying the result of an approval | It follows from the decision. Exposing it would bypass four-eyes |
| Members, roles, groups, invitations, settings, single sign-on, creating tokens | Only the REST API with an administrator's token, or the app. A prompt-injected assistant could otherwise grant itself access |
| Deleting the organization, transferring ownership, billing | Irreversible or confirmed by an emailed code. A person in the browser |
| Uploading a contract document | Binary upload, REST route POST /contracts/{id}/documents |
Recommended setup
- One token per assistant, named after it, with the shortest expiry that fits.
- Grant Write only on the modules the assistant needs. Keep Delete and Approve off.
- Test with a read token first, then add write.
- Review the audit log after the first runs.