Skip to content

Commit cbc7e9c

Browse files
Ambient Code Botclaude
andcommitted
feat: add Gmail scopes and bump workspace-mcp to 1.17.1
The Google Workspace MCP integration configured with gmail:send permission requires cumulative Gmail scopes (readonly, labels, modify, compose, send) but we only requested gmail.send. This caused sessions to fail connecting to the Google MCP server when Gmail access was needed. Also bumps workspace-mcp from 1.14.2 to 1.17.1. Users with existing tokens will need to disconnect and reconnect Google to pick up the new scopes. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 7270194 commit cbc7e9c

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

components/backend/handlers/oauth.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,12 @@ func getOAuthProvider(provider string) (*OAuthProvider, error) {
7171
"https://www.googleapis.com/auth/drive",
7272
"https://www.googleapis.com/auth/drive.readonly",
7373
"https://www.googleapis.com/auth/drive.file",
74+
// Gmail scopes for gmail:send permission level (cumulative in workspace-mcp)
75+
// Includes: readonly, organize (labels+modify), drafts (compose), and send
76+
"https://www.googleapis.com/auth/gmail.readonly",
77+
"https://www.googleapis.com/auth/gmail.labels",
78+
"https://www.googleapis.com/auth/gmail.modify",
79+
"https://www.googleapis.com/auth/gmail.compose",
7480
"https://www.googleapis.com/auth/gmail.send",
7581
},
7682
}, nil

components/runners/ambient-runner/.mcp.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"google-workspace": {
2727
"command": "uvx",
2828
"args": [
29-
"workspace-mcp@1.14.2",
29+
"workspace-mcp@1.17.1",
3030
"--permissions",
3131
"gmail:send",
3232
"drive:full"

0 commit comments

Comments
 (0)