Google Workspace CLI: gwscli vs gws, Setup, Limits, 2027 Deadlines
Google Workspace CLI is now official as gwscli. See how it differs from gws on GitHub, how to set it up, the 5,000-request cap, and the 2027 deadlines.

Two tools answer to the name Google Workspace CLI, and since November 24, 2026 only one of them is official. Google’s own is gwscli, while gws, the GitHub project most search results still point to, is a community tool.
The short version: gwscli is generally available, carries no separate charge, and connects terminal agents such as Claude Code to Gmail, Drive, Docs, Sheets, and Calendar. Before the first command runs, it needs a Google Cloud project, an OAuth client, and a browser sign-in.
Not everyone wants a terminal between them and their inbox. That is where GPT Workspace fits: a Chrome extension and Google Workspace Add-on that puts ChatGPT, Claude, and Gemini inside Docs, Sheets, Slides, and Gmail.
Google Workspace CLI at a Glance: gwscli vs gws
Google settles the naming in a note at the top of its Workspace CLI guide: “gwscli is the official Google Workspace command-line interface. The gws command-line tool on GitHub is a separate, community-maintained project.”
The gws README on GitHub agrees: “gws is a community project and is not an officially supported Google product. It keeps working, and you can move when you’re ready.”
| gwscli | gws | |
|---|---|---|
| Maintained by | Google, as an official product | A community project on GitHub |
| Status | Generally available since November 24, 2026 | In active development, breaking changes expected before v1.0 |
| Reaches Workspace through | Google’s Workspace MCP servers | Commands built from Google’s Discovery Service |
| Command set | Curated for agents | One command per API method |
| Support from Google | Yes | No, per its own README |
The README’s own comparison table sends agent users to gwscli. It keeps gws for one case: “An API or method gwscli doesn’t cover, or direct service-account key files.”
If you already use gws, it keeps working. The README adds one caveat: “Future development will be concentrated on the official CLI, however.”
What Google Announced on November 24, 2026
The CLI arrived as one part of a larger release. Google’s Workspace Updates post describes it as making “Workspace Model Context Protocol (MCP) servers and the official Workspace CLI generally available alongside standardized usage tiers.”
- MCP servers: Google-hosted servers that “let cloud and web-based AI agents securely connect to Workspace” across Gmail, Drive, Docs, Sheets, Slides, Calendar, Chat, and Tasks.
- Workspace CLI: the same tools for “developer terminals, VMs, and containerized sandboxes.”
- Usage tiers: a free Standard tier and a paid Scaled tier, starting with Gmail, Drive, and Calendar.
- Admin controls: agent access, confirmation rules, and audit logs in the Admin console.
One rule drives the rest: “AI agents or similar access tools must use Workspace MCP servers or the Workspace CLI to access Workspace data, rather than calling Workspace REST APIs directly.”
| Date | What happens |
|---|---|
| November 24, 2026 | MCP servers and CLI generally available, usage tiers start |
| Within two weeks | The rollout reaches all Rapid Release and Scheduled Release domains |
| February 1, 2027 | “Technical enforcement begins” for the MCP or CLI requirement |
| April 1, 2027 | Scaled tier billing begins |
The post lists the release as “Available to all Google Workspace customers and developers.” It also says that “Over 99% of active developers currently operate within the Standard tier.”
This release is about agents that connect from outside. Google’s in-app agent is a different story, covered in our guide to what @Gemini changes in Google Workspace.
How to Install the Google Workspace CLI and Sign In
These steps follow Google’s guide, which lists nine services: Calendar, Chat, Docs, Drive, Gmail, People API, Sheets, Slides, and Tasks. You need Linux, macOS, or Windows on x86_64 or ARM64, a Google Cloud project, and a browser on the same machine.
- Install the binary. On Linux or macOS, run Google’s quick-install script, which installs to the .local/bin folder in your home directory.
curl -fsSL https://dl.google.com/workspace-cli/install.sh | bash
On Windows, the guide gives a PowerShell one-liner. It also lists manual download commands, if you would rather not pipe a script into your shell.
- Check that it runs.
gwscli version
- Create an OAuth client in personal mode. Open the personal mode setup page linked from the guide and select or create a project. The link preselects the Desktop app type and the agent setting.
Google describes the result as a “single-user OAuth 2.0 client that works only for your Google Account.” Personal mode also “skips OAuth consent screen setup and app verification.”
- Download the client secret JSON file. Google’s guide names the button Create Client, while the review’s capture shows Continue. Either way, save the file before you close the dialog.
- Register the file with the CLI. Enter the path to the JSON file when asked, then confirm with Y.
gwscli auth setup
- Sign in with read-only access. The CLI prints a URL. Open it in your browser and approve.
gwscli auth login --bundle=readonly
- Run a first command. The first line lists every service, and the second lists events on your calendar.
gwscli --help
gwscli calendar list_events
- Give your agent the skills. This copies the packaged skills into Claude Code’s folder. Start a new agent session afterwards so it loads them.
gwscli skills install --dir ~/.claude/skills
After that you talk to the agent, not to the CLI. One of Google’s examples: “Summarize my unread email from this week and create a draft reply to my manager proposing Tuesday.”
Two Setup Snags
- Sign-in needs a local browser. The CLI waits for a redirect to 127.0.0.1, so it will not finish over plain SSH, in Cloud Shell, or in a container without port forwarding.
- Drive reads need one more grant. Commands such as drive search_files also require the drive.file scope, which the read-only bundle leaves out. Running gwscli auth login drive search_files adds it.
Limits, Quotas, and What 2027 Changes
The tool is free, but its requests are metered. Google’s guide says that “Using gwscli incurs no separate tool charge,” and that requests “count toward your Google Cloud project’s Google Workspace usage tier and quotas.”
The tiers are defined on Google’s usage tiers page.
| Standard tier | Scaled tier | |
|---|---|---|
| Cost | Free | A price per 1,000 requests from April 1, 2027 |
| Billing account | Not required | Required |
| MCP server quota | 5,000 requests per day, per project, per product | Higher, after a quota increase request |
Three details decide how far 5,000 goes.
- At the cap: requests are throttled until the quota window resets.
- Multi-request tools: “some MCP tools count as multiple requests because they make multiple API calls.”
- Failed calls: the pricing page says they “still count toward 1-minute rate-limit quotas and the Standard Tier daily MCP limit.”
That pricing page quotes four buckets for the Scaled tier.
| Bucket | Price per 1,000 requests | Example tool |
|---|---|---|
| Light | $0.10 | list_labels |
| Medium | $0.20 | create_draft |
| Plus | $0.25 | search_files |
| Premium | $0.50 | search_threads |
The tiers page adds two catches. Scaled tier usage of the Gmail, Calendar, and Drive servers “has no daily no-charge allowance,” and enrolling “doesn’t automatically raise your quota limits.”
The February date matters only if you build agents. From February 1, 2027, agents that call the REST APIs directly “are limited to Standard Tier quotas, regardless of the tier selected.”
Behavior to Plan Around
- Commands can change. Google warns that “command interfaces and output schemas might change without backward compatibility,” so keep gwscli out of fixed scripts.
- Updates are manual. The CLI does not update itself: run the installer again, then refresh the skills.
- Telemetry is on by default. Running gwscli logging off disables it.
- The rollout is still in progress. Google’s guide carries the banner “Some Google Workspace MCP tools are currently rolling out and might be temporarily unavailable.”
- Sending email is unclear. Google’s command reference lists gmail send_message, reply, and forward. Two launch-week tests of version 1.0.6 found drafts but no send command, so run gwscli gmail –help on your own install.
Those tests are a hands-on review by Scuti AI and a comparison by the author of gws, both dated November 25, 2026. The review could not complete any Workspace action that day: several calls answered that the project had to be enrolled in the Developer Preview Program.
Approvals and Admin Controls
Some actions stop and ask. Google’s guide says Workspace “enforces user and administrator approval policies for sensitive actions, such as sending messages, modifying shared files, trashing items, or deleting data.”
Allow this app to use send_message?
approval_choice
(Options: Allow once, Always allow this tool, Don't allow):
Administrators set the rules in the Admin console, under Agents, then Settings, then User review for external agents. Google’s admin help article gives these defaults.
| External agent action | Default |
|---|---|
| External collaboration | Require user approval |
| Internal collaboration | Require user approval |
| External data access | Require user approval |
| Internal data access | Allow |
The same article sets two hard lines: “Moving items to the trash always requires user confirmation for each request, and external agents can’t permanently delete items.”
No Terminal? Where GPT Workspace Fits
Google describes the CLI as a tool “for terminal-based agents.” Here is how that route compares with the others.
| You are | Route | Setup |
|---|---|---|
| Running Claude Code, Codex, or Antigravity in a terminal | gwscli | Cloud project, OAuth client, browser sign-in |
| Using Claude.ai or Claude Desktop | Google’s Workspace MCP servers | Cloud project, OAuth client, a custom connector per server |
| Working inside Docs, Sheets, Slides, or Gmail | GPT Workspace sidebar | Install it, sign in with Google |
| Connecting an AI client to Google Forms | GPT Workspace hosted MCP server | One server URL, a Google sign-in |
The second row has a plan requirement. Google’s MCP setup guide says that for Claude.ai or Claude Desktop “you must have the Claude Enterprise, Pro, Max, or Team plan.”
GPT Workspace takes the other road: the model comes to the document. There is no Cloud project to create and no command to learn.
- Install GPT Workspace and sign in with your Google account.
- Open the file or email you are working on, then start the sidebar.
- Pick a model: ChatGPT, Claude, or Gemini.
- Type the request in plain language.
The request itself barely changes. Google’s draft-a-reply example becomes one line in the Gmail sidebar, and the thread you have open replaces the search step.

Illustration, not a screenshot: Google's example agent prompt, reworded for the GPT Workspace sidebar in Gmail. You read the draft and send it yourself.
Building with agents and still want to skip the Cloud console? GPT Workspace hosts its own MCP servers, including a Google Forms MCP server, an app that is not on Google’s server list today.
One limit, stated plainly: GPT Workspace is not a command-line tool. An agent that lives in a terminal and chains commands is better served by gwscli.
Use ChatGPT, Claude, and Gemini directly inside Google Docs, Sheets, Slides, Gmail, and Drive. No tab switching.
Get Started FreeNot sure which model to pick in the sidebar? Our guide on when to use Claude and when to use ChatGPT compares them on Workspace tasks.
For a wider view, see our roundup of AI tools that integrate with Google Docs and Gmail.
GPT Workspace has a free plan with usage limits, and paid plans raise them.

Illustration, not a screenshot: what the GPT Workspace route asks of you and what it gives back, next to the gwscli row of the table above.
Frequently Asked Questions
Conclusion
The Google Workspace CLI is now an official Google product, and the name points at one tool: gwscli. Install it if your agent lives in a terminal, start with read-only access, and note February 1 and April 1, 2027 if you build on the Workspace APIs.
If your work happens in documents and email instead, skip the Cloud project. GPT Workspace puts ChatGPT, Claude, and Gemini inside Docs, Sheets, Slides, and Gmail, so install it and run your next request from the sidebar.


