Google Workspace Extension for Gemini CLI plugin
A Gemini CLI extension for working with Google Docs, Sheets, Slides, Gmail, Chat, Calendar and Drive from the terminal
- 648 ★ on the repository
- Last commit
- Apache-2.0
Broad access
Why this level
- Reads, changes and deletes the account's mail, documents and events
- Exposed to prompt injection from incoming mail and documents
Install
- Works in
Manual install
gemini extensions install https://github.com/gemini-cli-extensions/workspaceSign in to your Google account before use.
Access and checks
How we reviewBroad accessThe tool can change data, run commands or handle secrets.
- Reads, changes and deletes the account's mail, documents and events
- Exposed to prompt injection from incoming mail and documents
This is third-party code. Review the repository files before installing.
What it does
The extension adds an MCP server to Gemini CLI with access to your Google Workspace account. The agent creates and edits docs, sheets and slides, searches Drive, reads mail and chat, and checks or schedules calendar events. It ships ready commands such as /calendar:get-schedule for a day's schedule and /drive:search for file search. Headless machines can log in through a separate utility that prints an OAuth link.
Who it is for. For Gemini CLI users whose documents, mail and calendar live in Google Workspace.
Good fit when
- You need to create or update a Google Doc from the terminal
- You want your schedule or a Drive file without opening a browser
- You need to pull mail and documents into one summary
Not a fit when
- The agent would process mail or documents from untrusted sources
- You do not use Gemini CLI
Example request
What's on my calendar tomorrow? Also find the quarterly plan file in DriveLimitations
Works only as a Gemini CLI extension and needs a Google account login. The server can read, change and delete account data, and the authors warn explicitly about prompt injection through mail and documents. Google services and the Gemini API are unreliable or unavailable from Russia without a VPN.
How to disable. Run gemini extensions uninstall workspace and revoke the app's access in your Google account security settings.
FAQ
How do I log in on a machine without a browser?
Use npm run auth-utils -- login: it prints an OAuth link you can open on any device, and the credentials you paste back stay out of the model context.
Can I host my own infrastructure?
Yes, the docs include a guide for recreating the required resources in your own GCP project.
Discussion
No questions or reviews yet.
Related
PluginsOne MCP server for Gmail, Calendar, Drive, Docs, Sheets, Slides, Forms, Tasks, Contacts, Chat and Apps Script with OAuth 2.1
A CLI for every Google Workspace API with JSON output and agent skills: Drive, Gmail, Calendar, Sheets and more
Google Docs MCP: Docs, Sheets, Drive, Gmail and Calendar
Google Docs MCP
An MCP server giving an agent Google Docs, Sheets, Drive, Gmail, Calendar and Apps Script: reading, editing, mail and events; sign-in over OAuth
GSuite MCP
mcp-gsuite
A Python MCP server for Gmail and Google Calendar: search and read emails, drafts and replies, events with attendees, several accounts at once
Programmatic access to Gemini Notebook (formerly NotebookLM) via CLI and MCP: notebooks, sources, podcasts, video, reports and research from an agent
Unofficial Python API, CLI and agent skill for Google Gemini Notebook (NotebookLM): sources, cited answers, and generation of podcasts, videos and reports
README in short
The README shows a one-command install and sample prompts: create a doc, check the calendar, find a file. It covers extension commands, headless login and self-hosting. A large section addresses indirect prompt injection risk. Apache 2.0 licensed.