Commit 4a37dfb
Reduce Google Workspace MCP OAuth scopes using granular permissions
Changes the Google Workspace MCP configuration from `--tools` to
`--permissions` for more granular OAuth scope control.
**Before:**
- Requested ALL Gmail permissions (send, modify, delete, settings)
- Requested ALL Drive permissions
**After:**
- Gmail: send level only (includes send, readonly, labels, compose)
- Drive: full access (unchanged)
**Removed scopes:**
- gmail.modify (delete/trash emails)
- gmail.settings.basic (change settings)
This follows OAuth best practice of requesting minimum necessary scopes
and reduces the attack surface by removing unnecessary Gmail permissions.
**References:**
- workspace-mcp granular permissions: https://github.com/taylorwilsdon/google_workspace_mcp#granular-permissions
- Gmail permission levels are cumulative (readonly < organize < drafts < send < full)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent cc9ad31 commit 4a37dfb
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
32 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
0 commit comments