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.

8m read timeFrom github.com
Post cover image
Table of contents
ContentsQuick StartWhy gws?AuthenticationAI Agent SkillsGemini CLI ExtensionMCP ServerAdvanced UsageArchitectureTroubleshootingDevelopmentLicenseDisclaimer

Sort: