Oriel — AI & technology worth noticing, every day.

Install and Use the Google Workspace CLI: gwscli on Linux, From curl to Agent Skills

Post · https://dev.to/gde/install-and-use-the-google-workspace-cli-gwscli-on-linux-from-curl-to-agent-skills-12dm

A step by step guide to the generally available Google Workspace CLI: one-line install, command discovery across nine Workspace services, incremental OAuth sign-in, JSON output, and the agent skill it ships for Claude Code and other agents.

First seen by Oriel on .

AI summary

The article explains how to install and configure gwscli on Linux, inspect its Google Workspace actions, and grant agents narrowly scoped OAuth access.

  • The installer downloads and verifies a statically linked binary, then places it under ~/.local/bin; the documented process also supports macOS and Windows.
  • The CLI exposes 69 actions across nine Workspace services, fetching action definitions from MCP servers at runtime, so server-side additions appear without updating the binary.
  • Before signing in, users can inspect action help, required OAuth scopes, and JSON response schemas; actions return JSON.
  • OAuth sign-in can be limited to individual actions or services, but the read-only bundle omits drive.file, which the article says is required for Drive file-listing and search actions.
  • The bundled agent skill provides sign-in, headless-use, and command-layout guidance, and can be installed into an agent's skills directory.

#google workspace #mcp #oauth #cli

Generated by gpt-5.6-sol. Check the original for details.

Metric trends

Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained

Reactions

Total public reactions reported by the source; distinct from points and likes.

  • DEV Community: 28, latest observation ; +1 over observed period since

Comments

Comment count reported by the source.

  • DEV Community: 2, latest observation ; 0 over observed period since

Aliases

SourceExternal IDURL
DEV Community5110573https://dev.to/gde/install-and-use-the-google-workspace-cli-gwscli-on-linux-from-curl-to-agent-skills-12dm Read discussion