logoalt Hacker News

Google Workspace CLI

896 pointsby gonzalovargasyesterday at 12:22 AM279 commentsview on HN

Comments

jngiam1yesterday at 6:51 AM

Honestly, easier with MCP straight up: https://gmail.mintmcp.com/ https://gcal.mintmcp.com/ https://gdocs.mintmcp.com/ https://gsheets.mintmcp.com/

(all pass through)

show 1 reply
larodiyesterday at 6:22 AM

Would it help to backup all my mailboxes and be ready to ditch gmail?

wg0yesterday at 12:05 PM

Seems to be built by using Claud code?

shivam310yesterday at 6:11 AM

I'm surprised that this didn't officially exist before.

sciencesamayesterday at 2:56 AM

Would be useful if it can atleast show google drive storage in folder structure

jitlyesterday at 3:33 AM

> quick setup

> requires setting up gcloud cli first, necessitates making a Google Cloud project

cmon google how come even your attempts at good ux start out with bad ux? let me just oauth with my regular google account like every other cli tool out there. gh cli, claude, codex - all are a simple “click ok” in the browser to log in. wtf.

and the slow setup - i need to make my own oauth app & keys??

EDIT: oh yeah and get my oath app verified all so i can use it with my own account

tedk-42yesterday at 1:43 AM

Haha in the world of AI/MCPs, all of a sudden we have a push for companies to properly build out APIs/CLI tools.

show 8 replies
yakkomajuriyesterday at 3:07 AM

For all people have to say about Pete the openclaw guy he's been perhaps one of the most vocal voices about CLIs > MCPs (or maybe his is just the loudest?) and he also built a GSuite CLI that probably inspired this project.

I mean it's great that we get this, hopefully it can continue to be maintained and I'd love to see a push for similar stuff for other products and at other companies.

arthurcolleyesterday at 6:04 AM

My agents will follow this repo with great interest

pdycyesterday at 2:46 AM

wow this will gel very well with my current project. Main hurdle i was facing was connecting with individual services via google oauth to get the data.

krzykyesterday at 1:51 PM

Is Google Workspace some separate thing from well, normal Google?

I mean I have personal gmail,drive, keep, etc. Will it work there?

show 1 reply
tonymetyesterday at 4:38 PM

750 mb and enough iops to make a small vm instance explode at launch. I wish google would use their own tools like golang to produce 50mb installs.

delducayesterday at 12:05 PM

Good for AI agents.

evanjrowleyyesterday at 2:00 AM

Hoping Apple will do the same with iCloud.

show 2 replies
blondinyesterday at 1:55 AM

This is a very interesting way of building agent skills. Seems like the imperative way of orchestration/automation is making a comeback.

moralestapiayesterday at 11:22 AM

`npm install ...`

I wonder why they didn't do this on Python or Ruby, them being the superior languages where `==` works, blah, blah ...

spwa4yesterday at 11:16 AM

This is effectively why people want agents, right? To be able to bypass all the stuff companies "optimize", ie. the ad-filled websites. The inserted extra conversations that now literally get triggered BECAUSE you're chatting to someone else. The ...

In other words: this is the FANGs worst enemy. This is adblock * 1000, as far as consumers are concerned.

fs111yesterday at 9:21 AM

For the love of god, please google, give us personal access tokens and not this Oauth madness inside GCP. It is impossible to get that in any big enterprise.

lloydatkinsonyesterday at 8:35 AM

Google will wait for businesses to become very coupled to this and then kill off the CLI just because.

948382828528yesterday at 1:07 PM

What's the over/under on this being killed by Google within the next year?

mosajjalyesterday at 3:41 AM

AI Agents are becoming first-class citizens for SaaS

ernsheongyesterday at 6:50 AM

Archived in 3… 2… 1…

javadhuyesterday at 9:25 AM

Nice, now I can use this alongside claude to auto document my research work.

Also, what I find fascinating is that the repo was initialized 3 days ago so it seems it's still a work in progress.

gbrindisiyesterday at 8:15 AM

the most annoying thing with Google Workspace is that you need super admin privilege to properly audit the environment programmatically, I believe because of the cloud-identity api.

sjeiuhvdiidiyesterday at 6:56 AM

Very uninteresting post. Why is this the number one post on Hacker News ? Honestly, absolutely disgusting and you can be ashamed, or ashamed for them.

bpiromanyesterday at 5:29 AM

written in Rust lol

show 2 replies
oofbeyyesterday at 3:47 PM

Yet another way Google might decide you’ve violated their ToS and cut you off from your entire digital life without warning or recourse.

Sounds handy. But use at your own risk.

raphaelmolly8yesterday at 5:01 PM

[dead]

epicprogrammeryesterday at 3:04 AM

I've built a few internal tools using the Workspace APIs, and while they are powerful, the rate limits on the Drive API can be brutal if you are doing bulk operations. Does this repository handle automatic backoff and retries, or do we need to wrap it ourselves?

tonymetyesterday at 2:26 AM

[flagged]

shubhamintechyesterday at 3:05 AM

[flagged]

show 7 replies