feat(skill): add /add-gdrive-tool — Google Drive MCP via OneCLI#2430
Open
abarbaccia wants to merge 1 commit into
Open
feat(skill): add /add-gdrive-tool — Google Drive MCP via OneCLI#2430abarbaccia wants to merge 1 commit into
abarbaccia wants to merge 1 commit into
Conversation
Wires @piotr-agier/google-drive-mcp into agent containers using the same OneCLI stub-credential pattern that /add-gmail-tool and /add-gcal-tool use. Containers see "onecli-managed" placeholder tokens; the gateway intercepts outbound googleapis.com calls and injects the real OAuth bearer at request time. Covers Drive + Docs + Sheets + Slides. Sibling skill, not a combined Workspace install — installs and removes independently of Gmail and Calendar. Note: drive.readonly is a sensitive Google scope and triggers verification in Production OAuth. drive.file (non-sensitive) is the no-verification path for personal-use installs. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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
Adds
/add-gdrive-toolas a sibling skill to/add-gmail-tooland/add-gcal-tool. Wires@piotr-agier/google-drive-mcpinto agent containers using the same OneCLI stub-credential pattern the Gmail and Calendar siblings use — containers seeonecli-managedplaceholder tokens; the OneCLI gateway intercepts outboundgoogleapis.comcalls and injects the real OAuth bearer at request time.drive.readonly(sensitive scope) vsdrive.file(non-sensitive) tradeoff so personal-use installs avoid Google's app-verification flowTOOL_ALLOWLISTedit needed — relies on the existing auto-derive frommcpServersinproviders/claude.tsTest plan
onecli apps get --provider google-driveshowsconnection: connected~/.drive-mcp/{gcp-oauth.keys.json,credentials.json}created withonecli-managedstubsmount-allowlist.jsonincludes~/.drive-mcpDRIVE_MCP_VERSION=2.2.0container.jsonwiresdriveMCP server +.drive-mcpmountmcp__drive__list-filesfrom a wired chatVerified end-to-end on a personal install before submitting.
🤖 Generated with Claude Code