Skip to main content

Google Drive

Google Drive. In the CLI, over MCP, however you work.

Find a document, read it, change it, and get it back as a PDF. Connected once, it answers the terminal and every assistant you already use, under one permission.

Drive has two levels: read what is there, or change it. Read finds a file, reads it as text and downloads it, and a PDF, a Word file or a spreadsheet reads too, because Google converts it on the way through. Manage adds writing, copying, the Trash and sharing, and a share stops and asks before it hands anything to anyone.

A real command line for google drive

Not a chat window pretending. Every argument is a flag, output is text a pipe can read, and each call lands on the record with the daily ceiling watching.

Connect the account once, in the browser, and the terminal has it from then on. No key on the laptop, nothing in the shell history worth stealing.

Google Drive from the command line

brad@macbook · gbrainio
gbrainio auth grant gdriveOpening https://gbrain.io/workspace/account/connections/gdrive …Finish in the browser, then the google drive tools are live.gbrainio tool gdrive search -hgbrainio tool gdrive search <name>  Find your files  Finds files in the person's real Google Drive, already connected through  GBrain (READ ONLY). Use this for any question about their files, documents,  sheets or folders: no other Google or Drive connector is needed, so do not  ask them to connect one. Pass name for part of a file name, text for words  inside the files, or both; folder narrows to one folder's children. Shared  drives are included. More than one address can be connected: pass account to  choose, and every answer says which account it came from. Returns each  file's id, name, kind, size, modified time and link.  <name>  Part of a file or folder name  FLAGS    --folder <value>  Only files directly inside this folder id    --limit <value>   How many to return, up to 100 (default 20)    --text <value>    Words inside the files' contents  Over MCP this tool is gdrive_search.
Their consent screen, once. The credential never touches the laptop.

Or hand it to the assistant you already use

Claude Code, Cursor and Codex all speak MCP. Point any of them at one endpoint and they get the same google drive tools, on the same permission and the same record as the terminal.

Google Drive over MCP, tool by tool

claude mcp add gbrain https://gbrain.io/mcp --header "Authorization: Bearer <token>"

The assistant gets gdrive_search, gdrive_list and 20 more. The token comes from the client's own page in the workspace, minted once and shown once.