> Toden documentation. For the full index fetch /llms.txt. Every page is available as Markdown by appending .md to its URL. Every endpoint is under /api/v1. Identity verification and Risk Intelligence are separate contracts there with different error shapes; /api/kyc and /api/identity are older prefixes that still answer the same. Never invent an endpoint, field or enum value: read the API reference page for the operation first.

# Security and data

> Security model of the Toden MCP server: OAuth 2.1, live permission checks, revocation on security events, token handling, data returned, prompt injection and limits.

## How access is controlled

* **Standard sign-in.** OAuth 2.1 with PKCE. You sign in on Toden's own console, so your AI app never sees your Toden password, and you never paste a key into the app.
* **One workspace per connection.** A connection works in the one organisation and environment you chose, with the permissions you ticked.
* **Checked live on every call.** Each call re-checks that the connection is still active, you are still a member of the organisation, your current role allows the tool, your account needs no action (such as a required password change or two-factor set-up), and, for Production, that your business is verified. Nothing is cached from when you connected.
* **Ended on security events.** Resetting or changing your password, an admin resetting your account, turning off or resetting two-factor authentication, or blocking the organisation ends every AI app connection you have. Signing out of the console does not.
* **Short-lived, single-use credentials.** Access tokens last one hour. Refresh tokens last 30 days and are replaced on every use. If a code or refresh token is ever presented twice, Toden treats it as stolen and ends that connection. Codes, tokens and app secrets are stored only as one-way hashes.
* **Bound to Toden.** Tokens are issued for the Toden MCP server only and are refused anywhere else.
* **You approve every change.** See [Permissions and approvals](/get-started/ai/mcp-permissions#approval-prompts-before-any-change). Nothing is published, deleted or resolved from an AI app.
* **Audited.** Every change made from an AI app is in your organisation's audit log, marked as coming from an AI app, with how it was approved.

## What data the tools return

| Area           | Returned                                                                                                            | Never returned                                                           |
| -------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------ |
| Verifications  | Status, reason, which checks ran and how they ended, workflow, console link                                         | Name, ID number, date of birth, contact details, document or face images |
| Workflows      | Configuration, decision graph, publication state, editor link                                                       | Anything about the people verified                                       |
| Account        | Usage and spend totals, wallet balance, billing summary, webhook endpoint and delivery statuses                     | Webhook URLs, secrets or payloads                                        |
| Cases and risk | Case timelines, linked evidence, risk signals and relationships, bounded and redacted as in the console's assistant | Raw provider responses                                                   |

What your AI app does with the answers is governed by that app's own terms and settings. Check whether your plan allows the provider to train on your chats, and connect only the workspaces your policies allow.

## Prompt injection

AI models can be misled by instructions hidden in text they read, such as a case note or a customer reference. Toden reduces the risk:

* Tool results are returned as data, and the server tells the model to treat record contents as data, never as instructions.
* A misled model can still only use the permissions you chose, and any change waits for your approval, built from the actual change rather than the model's description.

You should still keep your app's own tool approval on for tools that change data, read every approval before accepting it, and start with read permissions.

## Limits

These are the defaults. They protect the service and can change; a refused request says so and can be retried later.

| Limit                              | Default                                                                                                                                                                             |
| ---------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Requests per connection            | 120 a minute                                                                                                                                                                        |
| Live sessions per connection       | 8 (one conversation usually uses one). A ninth takes the place of the one you used least recently, and that chat gets a place back when you use it again                            |
| How long an old chat keeps working | 7 days after you last used it, then Toden sets it up again on the next message. A chat set up again cannot show approval questions, so changes that need approval are refused there |
| Connected AI apps per person       | 25 active at once. Disconnect one in Settings > MCP to add another                                                                                                                  |
| Time to answer an approval prompt  | About 55 seconds, then nothing is saved and you can ask again                                                                                                                       |
| Request size                       | 256 KB on the connected server, 64 KB on the public server                                                                                                                          |
| Public server                      | 60 requests a minute per IP address                                                                                                                                                 |
| Sign-in requests                   | Limited per IP address, and new app registrations are limited per hour                                                                                                              |
| Verification links                 | Count towards your organisation's session creation limit, as they do from the API                                                                                                   |

## Report a problem

If you think a connection was misused, disconnect it in **Settings > MCP**, reset your password (which ends every connection), and contact Toden support.