<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/github---googleworkspace-cli-google-workspace-cli-one-command-line-tool-for-drive-gmail-calenda-l9o39wdsx" -->

---
title: GitHub - googleworkspace/cli: Google Workspace CLI — one...
description: gws is an open-source CLI tool that provides a unified command-line interface for all Google Workspace APIs including Drive, Gmail, Calendar, Sheets, Docs, and...
canonical: https://daily.dev/posts/github---googleworkspace-cli-google-workspace-cli-one-command-line-tool-for-drive-gmail-calenda-l9o39wdsx
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: GitHub - googleworkspace/cli: Google Workspace CLI — one command-line tool for Drive, Gmail, Calendar, Sheets, Docs, Chat, Admin, and more. Dynamically built from Google Discovery Service. Includes AI | daily.dev
og:description: gws is an open-source CLI tool that provides a unified command-line interface for all Google Workspace APIs including Drive, Gmail, Calendar, Sheets, Docs, and...
og:url: https://daily.dev/posts/github---googleworkspace-cli-google-workspace-cli-one-command-line-tool-for-drive-gmail-calenda-l9o39wdsx
og:image: https://api.daily.dev/og/posts/l9O39Wdsx.png
og:image:alt: GitHub - googleworkspace/cli: Google Workspace CLI — one command-line tool for Drive, Gmail, Calendar, Sheets, Docs, Chat, Admin, and more. Dynamically built from Google Discovery Service. Includes AI
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# GitHub - googleworkspace/cli: Google Workspace CLI — one command-line tool for Drive, Gmail, Calendar, Sheets, Docs, Chat, Admin, and more. Dynamically built from Google Discovery Service. Includes AI

**[Hacker News](https://daily.dev/sources/hn)** · 8 min read · 1 upvotes · 0 comments

## Summary

gws is an open-source CLI tool that provides a unified command-line interface for all Google Workspace APIs including Drive, Gmail, Calendar, Sheets, Docs, and Chat. Unlike static CLI tools, it dynamically builds its command surface by reading Google's Discovery Service at runtime, so new API endpoints are automatically available. It supports multiple authentication flows (interactive OAuth, service accounts, CI/headless), outputs structured JSON for AI agent compatibility, ships 100+ agent skill files, and includes an MCP server that exposes Workspace APIs as tools for MCP-compatible clients like Claude Desktop and Gemini CLI. Built with Rust and installable via npm.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://github.com/googleworkspace/cli>

## Similar posts on daily.dev

- [Google Workspace CLI: Unified Command-Line Tool Built for Humans and AI Agents](https://daily.dev/posts/google-workspace-cli-unified-command-line-tool-built-for-humans-and-ai-agents-fye7kdvpz) · InfoQ · 0 upvotes · 0 comments

---

Tags: [#automation](https://daily.dev/tags/automation), [#rust](https://daily.dev/tags/rust), [#cli](https://daily.dev/tags/cli)

[View this post on daily.dev](https://daily.dev/posts/github---googleworkspace-cli-google-workspace-cli-one-command-line-tool-for-drive-gmail-calenda-l9o39wdsx)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"GitHub - googleworkspace/cli: Google Workspace CLI — one command-line tool for Drive, Gmail, Calendar, Sheets, Docs, Chat, Admin, and more. Dynamically built from Google Discovery Service. Includes AI","url":"https://daily.dev/posts/github---googleworkspace-cli-google-workspace-cli-one-command-line-tool-for-drive-gmail-calenda-l9o39wdsx","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/github---googleworkspace-cli-google-workspace-cli-one-command-line-tool-for-drive-gmail-calenda-l9o39wdsx"},"datePublished":"2026-03-05T02:23:38.103Z","dateModified":"2026-03-05T02:23:59.071Z","description":"gws is an open-source CLI tool that provides a unified command-line interface for all Google Workspace APIs including Drive, Gmail, Calendar, Sheets, Docs, and...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/c232a5b6f9ec0aabc01ed8479c175c0f?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/c232a5b6f9ec0aabc01ed8479c175c0f?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Hacker News","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Hacker News","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn","url":"https://daily.dev/sources/hn"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/github---googleworkspace-cli-google-workspace-cli-one-command-line-tool-for-drive-gmail-calenda-l9o39wdsx","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"automation,rust,cli","timeRequired":"PT8M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Hacker News","item":"https://daily.dev/sources/hn"},{"@type":"ListItem","position":3,"name":"GitHub - googleworkspace/cli: Google Workspace CLI — one command-line tool for Drive, Gmail, Calendar, Sheets, Docs, Chat, Admin, and more. Dynamically built from Google Discovery Service. Includes AI"}]}
```

