Google Workspace
Gmail, Calendar, Drive, Docs, Sheets, Slides, Contacts, and Tasks through the DataToRAG MCP server: one OAuth flow, several accounts side by side.
Updated
DataToRAG is an MCP server whose Google Workspace tools let an agent work in Gmail, Google Calendar, Google Drive, Google Docs, Google Sheets, Google Slides, Google Contacts, and Google Tasks. One OAuth flow gives your agent access to all eight core services, with multi-account support and tools tuned for token efficiency.

| Service | Summary |
|---|---|
| Gmail | Search, read messages and threads, send, reply, forward and draft with files attached, trash, report spam, and manage labels |
| Calendar | List, create, update, and delete events. Check free/busy, suggest meeting times, answer invitations and list calendars |
| Drive | Search, read, upload, copy, move, rename, trash and share files, and create folders |
| Docs | Read, create, write, and batch update documents |
| Sheets | Read, query, create, update, append and delete Google Sheets, find rows by value, and format a range into a readable table |
| Slides | Read, create, batch update, and delete presentations |
| Contacts | Search, list, create, update, and delete contacts |
| Tasks | Manage task lists, create, update, complete, delete tasks |
Connecting Google Workspace to a client such as Claude takes two steps.
Sign in at datatorag.com/dashboard, open Connections and click Connect on the Google Workspace card. The OAuth flow requests all required scopes in one step.
Requesting is not granting. Google's consent screen arrives with every box unchecked, and Continue works anyway. Tick "Select all", or the services you want: a tool for a service left unticked is refused. Getting Started, under "Connect your Google account", shows the screen and what to tick.
Then add the DataToRAG MCP server to your client, such as Claude, ChatGPT, Codex, or Cursor, with the address https://datatorag.com/mcp. In Claude, that is Customize, then Connectors, then Add, then Add custom connector. Connecting an account in the dashboard does not connect your client, and the two steps can happen in either order. Getting Started has the full walkthrough for each client.
You can connect multiple Google accounts, including personal, work and shared inboxes. Each tool call acts on one account, the one named by the account argument or the default, so your agent searches several accounts by making one call for each.
Each service's page lists its operations, required scopes, and example prompts. The Google Workspace tools page shows the live count of its tools, and the pricing page shows the live total across every provider. Both read the registry. The number is not restated here, because a number written into a docs page is wrong the next time a tool ships.
A read that Google refuses for too many requests at once is tried again inside the same call, up to three requests in all; a write is never retried. The Gmail page has the details.
A missing id is answered in words, not with Google's bare 404. The answer says what was not found and its id, which connected account was searched, why that usually happens (deleted, not shared with this account, or in another connected account) and which tool finds a current id, such as gmail_search or drive_search. It also says that the account argument reads from another connected account and that list_connected_accounts names them. Google's own code and reason follow, for debugging.
Two mix-ups get their own answer, when Google itself confirms what the id is: a message id given to a thread tool names the thread it belongs to, and the id of one kind of Google file given to another's tools (a Doc id to a Sheets tool) says what it is and which tools open it. An id Gmail cannot read as an id at all says so and where a real one comes from.
Frequently asked questions
More answers are on the FAQ page.
Try this on your own account
Connect Google Workspace once and your agent can run every tool on this page against your real data. Free to start, no card.
Get started freeBy continuing you agree to our Terms of Service and Privacy Policy.