@nogoo9/mcp-server-cloud-fs / auth/scopes / shouldRegisterTool
Function: shouldRegisterTool()
shouldRegisterTool(
toolName,grantedScopes?):boolean
Defined in: auth/scopes.ts:114
Check whether a tool should be registered given the granted scopes. Returns true when no scopes are configured (backwards-compatible).
Parameters
toolName
string
grantedScopes?
string[]
Returns
boolean
