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

# Permissions

> What each scope allows, and how to limit a connection to some companies.

Every MCP key and connected app has scopes. They decide which tools the assistant sees. A tool outside them isn't listed in `tools/list`, and calling it anyway returns `missing_scope`.

A connection has one **access level** (`read`, `write` or `publish`) and any number of **extras**.

## Scopes

| Scope | In the app | Allows |
| - | - | - |
| `read` | Read only | Seeing companies, brand, posts, media, results, research, plan and usage. Always included. |
| `write` | Create drafts | Creating, editing and deleting drafts. Importing media and Canva designs. Includes `read`. |
| `publish` | Create and publish | Scheduling, queueing and publishing. Changing posts that are scheduled, queued or live. The community feed. Includes `write`. |
| `inbox` | Inbox | Reading comments and direct messages. |
| `reply` | Reply | Sending messages and public replies. Assigning, noting and deleting inbox items. Includes `inbox`. |
| `media` | Media | Generating images, designs, videos, speech and music. Preparing music releases. |
| `settings` | Settings | Setting up the workspace: profile, brand, queues, tags, prompts, library, voices, avatars. Disconnecting accounts. |
| `admin` | Account | Inviting, changing and removing team members. Invoices, usage limits, the user's own profile. Deleting a company. |

OAuth uses the same names with an `mcp:` prefix, such as `mcp:read`.

The server completes every set of scopes: `read` is always added, `publish` adds `write`, and `reply` adds `inbox`. So `["publish", "media"]` becomes `["read", "write", "publish", "media"]`.

The [tool reference](https://docs.followr.ai/mcp/tools.md) shows the scope of every tool.

### Good to know

* `write` never publishes. It can't change or delete a post that is scheduled, queued or published.
* The schedule, queue and publish buttons on the in-chat post preview also need `publish`.
* `read` changes nothing, with two exceptions: `get_generation` saves finished files to the library, and `connect_account` returns a link.
* `mark_inbox_read` (`inbox`) marks items read for the team only. Nothing is sent to the network.
* `reply` sends at once. Replies and messages can't be taken back. Its deletes remove only Followr's copy.
* `media` spends the AI media credits of the company's owner. It can also delete designs, songs, styles and releases.
* `settings` can delete workspace items, such as queues, tags and files.
* No scope pays, changes the plan or buys credits. `billing_link` (a `read` tool) only returns a link to the app.

## Defaults

* **MCP keys** created without `scopes` get `read` and `write`: the assistant drafts, a person publishes.
* **Connected apps** are offered what the app asked for in its `scope` parameter, or every scope if it named none. On the consent screen everything requested starts switched on, and the user switches off what they don't want. An app never gets more than it asked for.

The scopes on offer for connected apps are in `scopes_supported` of the [discovery documents](https://docs.followr.ai/mcp/authentication.md#endpoints).

## Role and plan still apply

* **Role.** Scopes never give more than the user has. In each company, the user's role (owner, admin, user or client) still limits what the assistant can do, as in the app. A user with the client role can't invite anyone, whatever the scopes. A call the role doesn't allow returns `forbidden`.
* **Plan.** The plan of the company's owner decides what is available: assistant access, the social inbox, music and credits. See [Limits and errors](https://docs.followr.ai/mcp/limits-and-errors.md#plan-requirements).
* **Inbox scopes.** `inbox` and `reply` can be granted only when at least one reachable company's owner has a plan with the social inbox for assistants. Otherwise creating or changing a key with them returns `422`, and the consent screen doesn't offer them.

## Limit a connection to some companies

By default, a connection reaches every company its user belongs to. To limit it:

* **Keys:** send `company_ids` when you create or change the key, or choose **Only these** under **Which companies may it work on?** in the app.
* **Connected apps:** choose the companies on the consent screen, or later under **Edit** in **Settings > MCP**.

The other companies become invisible: `list_companies` leaves them out, and a call that names one returns `not_found`. `get_account` shows the limit as `access.limited_to_company_ids`. The limit never goes past membership: a company the user leaves drops out, and you can only list companies you belong to.

## Change permissions later

You can change the scopes and companies of a key or a connected app at any time. The key or connection stays the same, and the next call follows the new settings.

> [tab] MCP key
>
> In the app, select **Edit** on the key in **Settings > MCP**. With the REST API, send `PUT /personalAccessTokens/{id}`:
>
> **scopes** `string[]`
>
> The new scopes, replacing the old ones. At least one value.
>
> **company\_ids** `integer[] | null`
>
> The companies the key is limited to. `null` lifts the limit. Leave it out to keep the current one.
>
> **name** `string`
>
> A new name, up to 255 characters.
>
> ```bash cURL theme={null}
> curl https://api.followr.ai/api/personalAccessTokens/48213 \
>   --request PUT \
>   --header "Authorization: Bearer YOUR_API_KEY" \
>   --header "Accept: application/json" \
>   --header "Content-Type: application/json" \
>   --data '{
>     "scopes": ["write", "inbox"],
>     "company_ids": [1287, 1288]
>   }'
> ```
>
> ```json Response (abridged) theme={null}
> {
>   "data": {
>     "id": 48213,
>     "name": "Cursor on my laptop",
>     "is_api_key": false,
>     "is_mcp_key": true,
>     "scopes": ["read", "write", "inbox"],
>     "company_ids": [1287, 1288],
>     "last_used_at": "2026-12-15T10:02:41.000000Z",
>     "expires_at": "2027-06-01T00:00:00.000000Z",
>     "revoked_at": null,
>     "created_at": "2026-12-15T09:30:00.000000Z",
>     "updated_at": "2026-12-15T10:05:12.000000Z"
>   }
> }
> ```
>
> Sending `scopes` or `company_ids` for a REST API key returns `422`, and so does any change to a revoked key.

> [tab] Connected app
>
> In **Settings > MCP**, find the app under connected apps:
>
> * **Edit** changes its access level, extras and companies.
> * **Disconnect** ends it. To come back, the app goes through the consent screen again.

## When a scope is missing

The call returns a tool error (`isError: true`) with code `missing_scope`. `details.required_scope` names the scope:

```json theme={null}
{
  "error": {
    "code": "missing_scope",
    "message": "This MCP key is not allowed to schedule, queue or publish posts (it can only save drafts): it lacks the \"publish\" permission. Tell the user to create a key with that permission in their account settings. Do not retry.",
    "details": { "required_scope": "publish" }
  }
}
```

To fix it, add the scope under **Edit** in **Settings > MCP**, or with `PUT /personalAccessTokens/{id}` for a key. Other error codes are in [Limits and errors](https://docs.followr.ai/mcp/limits-and-errors.md#tool-errors).


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