# Permissions and connections

Every OAuth connection belongs to one user and one organization. Only owners
and admins can authorize MCP on every plan, including Free and Pro. Connecting
and using MCP does not require a subscription or credit purchase.

## Choose access

Agents request the complete Betterstood permission set. On the consent screen
you choose the access level:

| Access                       | What the agent can do                                                                                                                                                                         | Tools |
| ---------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----- |
| **Read and write** (default) | Everything read-only allows, plus scenario and campaign drafts, private Knowledge Base settings and sources, editing the workspace owner email preference, and preparing publication, unpublication, public-access and Knowledge Base operations for approval. | 37    |
| **Read-only**                | Search product knowledge and inspect account context, scenarios, campaigns, Knowledge Base metadata, results, evidence and the workspace notification preference.                                                                      | 21    |

**Review permissions** on the same screen lists each permission by group. You
can deselect any of them; deselected permissions hide their tools.

| Group                   | Permission                                                    | Scopes                            | Level |
| ----------------------- | ------------------------------------------------------------- | --------------------------------- | ----- |
| Workflows and campaigns | Read workflows, campaigns and product documentation (always)  | `scenario:read`, `campaign:read`  | Read  |
| Workflows and campaigns | Create and edit workflow and campaign drafts                  | `scenario:write`, `campaign:write` | Write |
| Private Knowledge Base  | Read settings, source metadata and readiness                  | `knowledge:read`                  | Read  |
| Private Knowledge Base  | Edit settings                                                 | `knowledge:write`                 | Write |
| Private Knowledge Base  | Prepare sources                                               | `knowledge:prepare`               | Write |
| Private Knowledge Base  | Request approval to publish or remove knowledge               | `knowledge:publish`               | Write |
| Private Knowledge Base  | Request approval to test retrieval                            | `knowledge:validate`              | Write |
| Results and evidence    | Read governed aggregates and structured results               | `results:read`                    | Read  |
| Results and evidence    | Read bounded, redacted evidence and approved reports          | `evidence:read`                   | Read  |
| Publication and access  | Request approval to publish campaigns                         | `campaign:publish`                | Write |
| Publication and access  | Request approval to unpublish campaigns                       | `campaign:unpublish`              | Write |
| Publication and access  | Request approval to change public access                      | `campaign:access`                 | Write |
| Workspace notifications | Read the owner email preference for new responses | `notifications:read` | Read |
| Workspace notifications | Change the owner email preference for new responses | `notifications:write` | Write |

`notifications:write` requires `notifications:read`. The preference applies
across scenarios and already-published campaigns in the connected workspace.
It starts disabled. Enabling it affects future responses.
Existing authorizations keep their approved scopes until fresh consent.

Knowledge Base write permissions require `knowledge:read`; evidence requires
`results:read`. No permission approves an effect: publication, unpublication, public-access
changes and credit-consuming Knowledge Base operations still need your
[authenticated approval](/developers/mcp/operations/). No permission can delete,
place calls or read full respondent transcripts.

## Connection limits

Free, Pro, PAYG and Growth allow **5 active authorizations** per organization; Scale
allows **25**, unless your contract specifies otherwise. Each slot is one OAuth connection. Webhook capacity is
separate: 5 active or pending endpoints on PAYG/Growth, 25 on Scale unless
overridden. Connection management and MCP calls consume 0 credits.

The account tool reports `usage.activeConnections`: current, active, unexpired
OAuth connections in the selected organization, using the same predicate as the
connection quota. Historical PATs, pending, revoked and expired authorizations
are excluded. Its `authorization` object describes the current grant: `prefix`
is a public identifier, not a secret, and `expiresAt` is the connection expiry,
not the short-lived access token expiry. Contract v18 replaces the old `token`
and `activePersonalAccessTokens` fields; clients must use the current schema.
Existing grants and refresh tokens are preserved.

## Renewal and reconnection

Your client renews short-lived access automatically while the connection is
valid. A connection lasts at most **30 days**. After expiry, disconnection, or
suspension, start OAuth again in the client and approve a new connection.

To use another organization, authorize that organization and confirm it with
`betterstood_account_info` before doing any work.

## Upgrade permissions on an existing connection

Keep the existing server entry. When you need a documented draft operation,
ask your client to authorize the same MCP resource with the scope profile in the challenge.
A call to a documented public tool without its required permission returns HTTP
`403` with `WWW-Authenticate: Bearer`, `error="insufficient_scope"`, the protected
resource metadata URL and the required scope profile. This is a transport
challenge, not a successful tool result. Internal or unknown tool names do not
trigger consent. `tools/list` remains filtered to the current grant.

A supporting client can use that challenge to open fresh Betterstood consent.
After approval and code exchange, verify the new effective scopes with
`betterstood_account_info`, refresh `tools/list`, and retry the intended operation
with the same idempotency key and a freshly checked resource revision. Never
retry a mutation merely because consent succeeded.

Stop if the user cancels, selects read-only again, or the same challenge recurs
after approval. Betterstood permits at most three scope challenges per minute
per authorization, then returns `429` with `Retry-After`; ordinary reads remain
available. Waiting is not approval. Client authorization and registration also
retain their own rate limits.

Consent cannot add scopes omitted from the signed request. Existing access and
refresh tokens keep their old scopes; the new consent creates a distinct grant
and consumes the ordinary connection quota. At capacity, the user must review
and disconnect an unwanted connection in Betterstood before trying again.
Cancellation or failed consent does not revoke a working old grant.

A genuinely scope-limited registration returns `invalid_scope` when asked for
more than its registered authority. Do not loop or silently rewrite that
registration. Use the client's supported registration/authorization controls
for a new explicit consent; no automatic migration is provided. DCR defaults
are the server's supported scopes, distinct from the scopes on a token.

For Codex hosted by T3, use the configuration and authorization controls of the
active T3 environment. Running an unrelated shell CLI does not upgrade that
agent. Cursor and web clients must support incremental authorization or expose
an explicit reauthorization action; unsupported automatic step-up is not a
reason to repeatedly disconnect and recreate the same read-only request.

Downgrading to Free or Pro keeps MCP access and active connections within the
five-connection quota. A Scale downgrade retains the oldest five active
authorizations and suspends only the excess. Reconnect a suspended OAuth
connection once capacity and eligibility are restored. Webhooks keep their
separate plan requirements.

## Disconnect and account changes

Open **Developer Access** in the Betterstood sidebar to review or disconnect access.
Owners can manage all organization connections; admins can manage their own.
Disconnection stops access and renewal for that connection. Reconnecting creates
a new authorization and does not revive the old one.

Membership loss, a ban, or demotion below admin revokes your authorization.
Reconnecting requires eligible membership again. If your client still reports
an authorization error, follow [troubleshooting](/developers/troubleshooting/).

## Permission details

`knowledge:read` grants bounded private source metadata and settings reads.
`knowledge:write` permits settings edits, and `knowledge:prepare` fetches and
stores private Knowledge Base sources. `knowledge:publish` and
`knowledge:validate` permit preparing an [approved operation](/developers/mcp/operations/);
they do not constitute your approval of its revision, effect or budget.
`campaign:publish`, `campaign:unpublish` and `campaign:access` permit preparation and observation;
each effect still needs [authenticated approval](/developers/mcp/operations/).
An existing grant without `campaign:unpublish` needs fresh consent for that scope;
refreshing an old token cannot add it.

Governed results use `results:read`; bounded redacted evidence and accepted reports also need `evidence:read`. Both are included in read-only and read-and-write access, cost 0 credits and require the current Intelligence feature and retention gates. See [results and evidence](/developers/mcp/results/).

Consent cannot grant a permission the client did not request, and altered form
fields cannot add one; a read-only choice cannot acquire write scopes. Requesting
a permission is not approval, and an unchanged old token keeps its old scope.
A scope challenge requests the missing profile plus the scopes already granted.
