feat(runner): enable Gmail tools in Google Workspace MCP#1060
Merged
Gkrumbach07 merged 1 commit intomainfrom Mar 26, 2026
Merged
feat(runner): enable Gmail tools in Google Workspace MCP#1060Gkrumbach07 merged 1 commit intomainfrom
Gkrumbach07 merged 1 commit intomainfrom
Conversation
Add Gmail tool group to the workspace-mcp --tools flag, enabling search, read, send, and draft capabilities for sessions. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Contributor
WalkthroughUpdated the Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes 🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Contributor
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@components/runners/ambient-runner/.mcp.json`:
- Around line 31-32: The Google OAuth provider in
components/backend/handlers/oauth.go is missing Gmail scopes needed by the new
"gmail" tool; update the provider's scopes slice (the Google OAuth provider
configuration used in the function or variable that assembles provider scopes,
e.g., the Google provider declaration or GetGoogleProvider/InitGoogleProvider)
to include these three scopes: https://www.googleapis.com/auth/gmail.readonly,
https://www.googleapis.com/auth/gmail.modify, and
https://www.googleapis.com/auth/gmail.send so Gmail API calls (read/search,
modify/draft, and send) will be authorized at runtime.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: ASSERTIVE
Plan: Pro
Run ID: e47819bf-d46c-4eea-80a8-70c6c014af3e
📒 Files selected for processing (1)
components/runners/ambient-runner/.mcp.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
gmailto the--toolsflag for theworkspace-mcpserver in.mcp.jsonTest plan
driveandgmailtools registered🤖 Generated with Claude Code