Docs menu

Reference

Security and privacy for AI assistants

How LedgerOne's MCP server keeps your books safe: sign-in, permissions, tenant isolation, limits and what assistants can see.

Sign-in

  • Every request needs a valid sign-in; without one the server answers 401 and points the assistant to the sign-in metadata.
  • OAuth uses the standard OAuth 2.1 flow with PKCE, exact redirect matching, single-use codes and rotating refresh tokens. You approve each app on a LedgerOne page, and it never sees your password.
  • Personal access tokens have 256 bits of randomness. Only a fingerprint (SHA-256) is stored; revoked or expired tokens stop working at once.

Permissions and isolation

  • An assistant acts as you. The same database rules that protect the app (row-level security) decide what every request can reach.
  • Tools never take a user, business or owner id as input, so an assistant can't be talked into acting for someone else.
  • Inputs are strictly validated; unknown fields are refused.

Guardrails

  • Destructive tools are labelled so assistants ask first, take explicit ids (never "delete everything"), and the irreversible ones require confirm: true.
  • Customer emails go through a draft step and are sent from your own mail server, at most 200 a day per business.
  • Rate limits per address and per person, and temporary blocks after repeated bad tokens.
  • Results are plain records; assistants are told to treat text inside them as data, not instructions.

Your controls

Settings → AI assistants lists connected apps and tokens, with when each was last used. Disconnect or revoke any of them at any time.