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

# Aiveth MCP server

> Manage your Aiveth organization from an AI app such as Claude, Cursor or ChatGPT through your organization's own Aiveth MCP server.

Each organization can turn on its own Aiveth MCP server. An admin then adds it to an AI app, such as Claude, Cursor or ChatGPT, and asks things like "who hasn't turned on two-step?" or "invite [asha@example.com](mailto:asha@example.com) as a Developer". The AI app acts as the signed-in person, with that person's current permissions, and every change waits for their approval in Aiveth.

> [!NOTE]
>
> The Aiveth MCP server is available on the Business plan and above, as part of AI agents and MCP servers.

## Turn it on

**1. Open AI agents**

In the console, go to **AI agents** and find **Aiveth MCP**. This needs the **Manage apps** power.

**2. Switch it on**

Turn on **Aiveth MCP**. It starts read only.

**3. Allow changes (optional)**

Turn on **Allow changes** to let AI apps invite people, change roles, sign people out and set an app's long login. Each change still waits for the person's approval under **Approvals**.

**4. Add the address to your AI app**

Copy the address shown and add it as a custom connector (Claude) or an MCP server (Cursor).

It is off by default. Your Owners are emailed whenever it is turned on or off, or changes are allowed or stopped. Turning it off stops every call at once.

## Its address

Your organization's Aiveth MCP server lives at:

```
https://accounts.aiveth.com/mcp/{your-organization-slug}
```

The console shows the exact address, even while it is off. Its protected resource metadata is at `https://accounts.aiveth.com/.well-known/oauth-protected-resource/mcp/{your-organization-slug}`, so AI apps find where to sign in on their own.

## How it signs in

The Aiveth MCP server is an ordinary MCP server of your organization, so everything on [AI agents](https://docs.aiveth.com/agents/overview.md) applies:

* The AI app signs the person in through Aiveth and shows Aiveth's consent screen.
* It has two permissions: `aiveth:read` ("See your organization's people, roles, apps and activity, as your role allows"), and `aiveth:write` ("Make changes as your role allows — each one only after you approve it in Aiveth") only while changes are allowed.
* The connected app appears under **Agents that connected**, with every [limit, alert](https://docs.aiveth.com/agents/controls-and-approvals.md), review, and the **Pause all agents** button.
* An AI app that can't connect may need self-registration, under **Which agents may connect**.

## Tools

A tool runs only where your organization's setting, the person's current permissions and the token all allow it. The tools call the same rules as the console, so nobody can do more through an AI app than they could in the console.

### Read tools

| Tool | What it returns | Person needs |
| - | - | - |
| `whoami` | Your organization, your name and roles, and whether you may make changes through Aiveth MCP. | Nothing extra |
| `list_people` | People: name, email, role, whether they're active and use two-step, last sign-in. | See people |
| `list_roles` | Your roles and what each may do. | See people |
| `list_sessions` | The devices a person is signed in on. | Manage people |
| `list_apps` | Your apps and how long each keeps people signed in. | Manage apps |
| `list_activity` | Your activity log, newest first. | See sign-in history |

### Change tools

| Tool | What it does | Person needs |
| - | - | - |
| `invite_person` | Emails someone an invitation with a role. | Manage people |
| `change_role` | Gives a person another role. | Manage roles |
| `sign_out_person` | Signs a person out of every device. | Manage people |
| `set_app_long_login` | Sets how long an app keeps people signed in: days unused, and days at most. | Manage apps |

## Approvals for changes

Every change needs the person's yes, each time:

1. The AI app calls a change tool without `approval`. Aiveth opens a request worded from the exact change, like "Change Asha Rao's role to Admin", emails the person, and answers with an approval ID.
2. The person opens **Approvals** in the Aiveth console and approves or rejects it. Approving needs a recent sign-in.
3. The AI app calls the same tool again with the **same arguments** and the `approval` it got.

An approval is used only if the change made from those arguments matches what was approved, so a yes never carries over to a different change. It ends after 10 minutes and works once.

If the call comes back too early or wrong, the tool says why:

| Situation | Answer |
| - | - |
| Not approved yet | The person hasn't approved it yet. Ask them to open Approvals in Aiveth. |
| Rejected | The person said no. Nothing was changed. |
| Too late | The approval ended before it was used. Nothing was changed; ask again. |
| Already used | That approval was already used. Leave out approval to ask again. |
| Different change | That approval isn't for this change. Leave out approval to ask for this one. |

## Limits and safety

* Each call checks the token as [introspection](https://docs.aiveth.com/agents/agent-tokens.md#introspection) does. Pausing all agents, blocking this agent, its end date or an owner who left stop it at once.
* At most 120 calls a minute per agent and person.
* The server speaks JSON-RPC over `POST`. It has no server-sent stream: `GET` answers `405`.
* Browser requests from other sites are refused.
* Every tool call is recorded as an [agent action](https://docs.aiveth.com/agents/controls-and-approvals.md#report-what-agents-did) and each change as a line in the activity log.


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