DEV Community

Ciro Cesar Maciel
Ciro Cesar Maciel

Posted on Edited on Originally published at blog.myagents.click

Connecting Google Drive to Claude: three ways, and which one you actually need

"Connect Google Drive to Claude" means two different things. Either you want Claude to read the files you already have, or you want an agent to write into your Drive: this week's spreadsheet, this month's report. They are different paths.

1. To let Claude read your Drive: Claude's own Google Drive connector

According to Claude's documentation, the Google Drive connector is built and run by Google, and each person signs in with their own Google account, so Claude reaches only what that account can open. It reads Google Docs, Sheets and Slides, PDFs, Word, Excel and PowerPoint files, and PNG and JPEG images (not comments or suggestions), and it can create files.

Go to Customize > Connectors in claude.ai, find Google Drive, select Connect and sign in. On Team and Enterprise plans an Owner enables it first. If reading your files is the goal, this is the answer, and you need nothing else.

Docs: https://claude.com/docs/connectors/google/drive

2. Google's official Drive MCP server

Google also offers a remote MCP server for Drive. Per Google's docs it searches files, reads metadata and content and creates files, inheriting the user's permissions. Today it is in Developer Preview: you need to be in the Google Workspace Developer Preview Program, have a Google Cloud project, enable the Drive API and the Drive MCP API, and configure the OAuth consent screen and client. A fit if you already work in Google Cloud.

Docs: https://developers.google.com/workspace/drive/api/guides/configure-mcp-server

3. To let an agent write reports into your Drive, and see nothing else

The Google Drive connector from Agents (by Ciro Cesar Maciel, who writes this) does the other job. It creates Google Sheets and Docs in your Drive, writes into them and reads what it wrote. It uses Google's drive.file scope, so it sees only the files it created; the rest of your Drive never shows up. That is what you want when an agent runs on its own, in a routine.

It works in any MCP client (Claude, Claude Code, Cursor) and needs no Cloud project.

claude mcp add --transport http google-drive https://google-drive.mcp.myagents.click/mcp
Enter fullscreen mode Exit fullscreen mode

Cursor, in .cursor/mcp.json:

{
  "mcpServers": {
    "google-drive": { "url": "https://google-drive.mcp.myagents.click/mcp" }
  }
}
Enter fullscreen mode Exit fullscreen mode

Tools: list its files, create a spreadsheet, append rows, write cells (formulas work), read a sheet, create a document, append to a document, read a document, share by e-mail, move to trash. Every write asks for your approval in the client.

Ask things like:

  • "Create the weekly report spreadsheet with sessions, leads and sales, and share it with the team."
  • "Append today's rows to the sales sheet you created yesterday."

Honest notes

  • It does not read files you already have; use option 1 for that.
  • The pages and sign-in screens are in Portuguese for now.
  • Free plan: 100 calls a month, and creating and editing sheets and docs works on it too (on the other connectors the free plan is read only). Plans: https://mcp.myagents.click/plans

Connector page: https://google-drive.mcp.myagents.click

Top comments (0)