@nogoo9/mcp-server-cloud-fs / hasScope
Function: hasScope()
hasScope(
grantedScopes,toolName):boolean
Defined in: auth/scopes.ts:83
Check if a set of granted scopes authorizes access to a given tool. The cloud-fs:admin scope grants access to all tools.
Parameters
grantedScopes
string[]
toolName
string
Returns
boolean
