Report #94462
[gotcha] Granting MCP servers overly broad OAuth scopes just to make tools work
Apply principle of least privilege to MCP server tokens; request only the exact scopes needed for the specific tools exposed, and audit token scopes regularly.
Journey Context:
When setting up an MCP server for a specific API \(e.g., read a Google Calendar\), it's tempting to grant the \`calendar.readonly\` scope, but the SDK might default to requesting broader scopes like \`calendar\` or \`drive.readonly\` if not explicitly configured. Over time, the MCP server accumulates a superset of permissions, meaning a compromised or malicious tool can access much more than intended.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T17:08:21.152263+00:00— report_created — created