File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
backend/src/services/oauth Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -346,7 +346,7 @@ export class TokenService {
346346 . where ( eq ( schema . oauthRefreshTokens . id , validRefreshToken . id ) ) ;
347347
348348 // Generate new tokens
349- const scope = 'mcp:read account:read user:read teams:read offline_access' ;
349+ const scope = 'mcp:read mcp:categories:read account:read user:read teams:read offline_access' ;
350350 const accessToken = await this . generateAccessToken (
351351 validRefreshToken . user_id ,
352352 scope ,
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ export const DEFAULT_AUTH_CONFIG: AuthConfig = {
2323 redirectUri : 'http://localhost:8976/oauth/callback' ,
2424 scopes : [
2525 'mcp:read' ,
26+ 'mcp:categories:read' ,
2627 'account:read' ,
2728 'user:read' ,
2829 'teams:read' ,
@@ -52,6 +53,7 @@ export function buildAuthConfig(baseUrl: string): AuthConfig {
5253 */
5354export const SCOPE_DESCRIPTIONS : Record < string , string > = {
5455 'mcp:read' : 'Access your MCP server installations and configurations' ,
56+ 'mcp:categories:read' : 'Read MCP server categories and organization' ,
5557 'account:read' : 'Read your account information' ,
5658 'user:read' : 'Read your user profile information' ,
5759 'teams:read' : 'Read your team memberships and information' ,
You can’t perform that action at this time.
0 commit comments