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

# AI assistant access

> How an AI assistant signs in to Inframan, what it's allowed to do, and the actions that always stay with a person.

An AI assistant, such as Claude or Cursor, connects to Inframan as **you**. It signs in through your browser, gets a token for one instance, and every tool call it makes goes through the same role checks as the console. An assistant can never do more than the person who connected it.

## How an assistant signs in

1. The assistant calls Inframan's MCP server and is told it needs to sign in, and where.
2. Your browser opens. You sign in as usual and see a consent screen naming the assistant, the **Instance** it will act on, who you're **Signed in as**, and the role it's **Acting with**.
3. When you approve, the assistant gets a token for that one instance. Access tokens last 15 minutes and are refreshed automatically. A refresh token lasts 30 days and is replaced each time it's used. Reusing an old refresh token revokes the whole chain.

To connect one, see [Connect an AI assistant](https://inframan.mintlify.site/get-started/ai-assistants.md).

## What an assistant can do

With your role's permissions, an assistant can:

* Read everything you can, including metrics, logs and traces, by name.
* Register and verify cloud accounts, provision infrastructures and retry them.
* Create, update, deactivate, reactivate and restart applications.
* Add domains, and create, update and link pipelines.
* Create env groups and install add-ons.
* Stop and replay releases, change traffic and roll back.
* Walk you through setting up identities, such as workload identity. You run the commands it gives you.

> [!WARNING]
>
> An assistant can create resources your cloud provider bills for, such as an infrastructure or an add-on. Keep your assistant's tool approval prompts switched on for Inframan.

## What always stays with a person

Some actions are never offered to an assistant, whatever your role. They're available only in the console or the CLI:

* Destroying an infrastructure, or permanently deleting an application. An assistant can deactivate an application.
* Deleting cloud accounts, domains, pipelines, env groups, variables or add-ons.
* Setting variable values, setting env group values, and creating infrastructure secrets.
* Installing or reconfiguring platform apps, and changing node pools.
* Putting an infrastructure to sleep.
* Exporting an infrastructure's environment.
* Opening a kubectl tunnel.
* Connecting GitHub.

## Approvals

Inframan doesn't add an approval step of its own. Your assistant already asks you before each tool call, and a second prompt for the same decision would only get in the way. Permissions and tenant checks still run on Inframan's side for every call.

## Revoking access

* Remove the Inframan connector from your assistant to disconnect it.
* An Admin who removes you from the instance also cuts off every assistant you connected. See [Sign-in and roles](https://inframan.mintlify.site/secure/sign-in-and-roles.md#change-or-remove-access).


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