Navid MoazzezNavid Moazzez

Google Workspace CLI

One CLI for all of Google Workspace, built for humans and AI agents. Drive, Gmail, Calendar, and every Workspace API. Zero boilerplate. Structured JSON output. 40+ agent skills included. gws doesn't ship a static list of commands. It reads Google's own Discovery Service at runtime and builds its entire command surface dynamically. When Google Workspace adds an API endpoint or method, gws picks it up automatically. This project is under active development. Expect breaking changes as we march toward v1.0. Prerequisites Installation Quick Start Why gws? Authentication AI Agent Skills Advanced Usage Environment Variables Exit Codes Architecture Troubleshooting Development Node.js 18+, for npm install (or download a pre-built binary from GitHub Releases) A Google Cloud project, required for OAuth credentials. You can create one via the Google Cloud Console or with the gcloud CLI or with the gws auth setup command. A Google account with access to Google Workspace

View Google Workspace CLI on GitHub
Navid Moazzezby Navid Moazzez·Updated Sept 30, 2026·1 min read
Google Workspace CLI

One CLI for all of Google Workspace, built for humans and AI agents. Drive, Gmail, Calendar, and every Workspace API. Zero boilerplate. Structured JSON output. 40+ agent skills included.

gws doesn't ship a static list of commands. It reads Google's own Discovery Service at runtime and builds its entire command surface dynamically. When Google Workspace adds an API endpoint or method, gws picks it up automatically.

This project is under active development. Expect breaking changes as we march toward v1.0. Prerequisites Installation Quick Start Why gws? Authentication AI Agent Skills Advanced Usage Environment Variables Exit Codes Architecture Troubleshooting Development Node.js 18+, for npm install (or download a pre-built binary from GitHub Releases) A Google Cloud project, required for OAuth credentials. You can create one via the Google Cloud Console or with the gcloud CLI or with the gws auth setup command. A Google account with access to Google Workspace

Google Workspace CLI at a glance

Stars31k
Forks1.9k
LanguageRust
LicenseApache-2.0
Last update2026-09-24
Contributors43

How to install Google Workspace CLI

bash npm install -g @googleworkspace/cli 

Where Google Workspace CLI is listed

Navid Moazzez

AI business strategist & AI OS builder

Navid Moazzez helps creators and founders master AI and build their own AI Operating System (AI OS) to automate their business and life.

Navid.me is reader-supported. When you buy through links on this site, I may earn an affiliate commission. Learn more.

GitHub repos like this

More free tools

Related MCP servers & CLIs

Free AI newsletter

The most actionable AI newsletter for founders

Every week, get proven AI strategies, curated tools, and step-by-step systems to grow your audience, create better content, and build a profitable creator business.

No fluff, no filler, no BS. Just five minutes each week that might level up your online business and life.

P.S. Sign up now to get free access to my ultimate AI tools guide for creators.

Loved by 10,000+ readers