diff --git a/docs/docs/features/ask/connectors.mdx b/docs/docs/features/ask/connectors.mdx index d962f25a0..2d743519a 100644 --- a/docs/docs/features/ask/connectors.mdx +++ b/docs/docs/features/ask/connectors.mdx @@ -32,7 +32,7 @@ If Ask Sourcebot needs to use a tool that requires approval, it pauses and asks An owner must add a connector before organization members can use it. To add a connector: -1. **Settings → Workspace → Ask Agent** +1. **Settings → Workspace → Ask Sourcebot** 2. Click **Add connector**. 3. Enter the MCP server URL and the name the organization will see for this server. @@ -50,9 +50,68 @@ then enter the OAuth client ID and client secret in Sourcebot. +## OAuth Scopes + +Owners can configure which OAuth scopes users authorize when connecting to a connector. + +Sourcebot checks the connector for discoverable scopes and shows them as options. You can also add custom scopes. + +
+
+
+
+
+
+
+
+{tool.description}
+ )} ++ {formatCount(tool.callCount)} {pluralize(tool.callCount, 'call')} + {!tool.discovered && - not in latest discovery} +
+Unable to load tool permissions.
+{data.server.serverUrl}
+{requestedOAuthScopes.length} requested
+