Skip to content
Open
5 changes: 3 additions & 2 deletions docs/admin/oauth-apps.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ OAuth App can request only the scopes selected on that client.
| `externalapi:read` | Read-only access to the [Sourcegraph API](/api) |
| `externalapi:write` | Write access to the [Sourcegraph API](/api) |
| `mcp` | Access to Model Context Protocol resources |
| `mcp:write` | Access to MCP endpoints, including write tools |

<Callout type="note">
The `user:all` scope is required for GraphQL API access with OAuth tokens.
Expand Down Expand Up @@ -398,8 +399,8 @@ This endpoint can be disabled by setting either `mcp.enabled` or
`auth.idpDynamicClientRegistrationEnabled` to `false`.

Applications created through Dynamic Client Registration are limited to the
`mcp` scope. For general OAuth integrations that need scopes such as
`user:all`, `openid`, or `offline_access`, create an OAuth app manually.
`mcp` and `mcp:write` scopes. For general OAuth integrations that need
scopes such as `user:all`, create an OAuth app manually.

<Callout type="note">
To disable self-registration, set `auth.idpDynamicClientRegistrationEnabled`
Expand Down
Loading