Google Workspace
MCP server by aaronsb Community
Gives AI assistants access to Gmail, Calendar, Drive, Docs, Sheets, Tasks, Meet and Contacts through one MCP server. It works across multiple Google accounts, and OAuth tokens stay on your own machine.
Install Google Workspace
Built from the published package, never by AI.
claude mcp add google-workspace -- npx -y @aaronsb/google-workspace-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"google-workspace": {
"args": [
"-y",
"@aaronsb/google-workspace-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"google-workspace": {
"args": [
"-y",
"@aaronsb/google-workspace-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"google-workspace": {
"args": [
"-y",
"@aaronsb/google-workspace-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add google-workspace -- npx -y @aaronsb/google-workspace-mcp{
"mcpServers": {
"google-workspace": {
"args": [
"-y",
"@aaronsb/google-workspace-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add google-workspace npx -y @aaronsb/google-workspace-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the google-workspace block.
About
Google Workspace MCP Server is an MCP server that lets an AI assistant work with Gmail, Calendar, Drive, Docs, Sheets, Tasks, Meet and Contacts. It exposes 12 tools across 8 Google services, plus multi-account handling, per-account read-only access, bulk execution, content authoring and a file sandbox. Each request is routed to the right account, and the server calls Google as that user.
The server holds an OAuth token per account on the user's own disk, with no middleman service. It can be installed as a .mcpb bundle for Claude Desktop, added to Claude Code with one command, or configured in other MCP clients. It is aimed at people who want their AI agent to search mail, check calendars, edit documents and manage tasks across personal and work accounts.
Written from the project's README and checked against it.
Tools it gives your assistant
manage_emailGmail search, read, send, reply, forward, triage, trash, drafts, labels and attachments.manage_calendarCalendar list, agenda, create, quickAdd, update, delete and freebusy.manage_driveDrive search, get, upload, download, copy, move, delete, export and permissions.manage_sheetsRead and write sheet ranges, append, clear, manage tabs and copy or rename sheets.manage_docsDocs get, create, append, insert text and find-and-replace.manage_tasksList, create, update and complete tasks and task lists.manage_meetCreate and configure meeting spaces, view participants, transcripts and recordings.manage_contactsLook up contacts and directory people, and create, update or delete contacts.manage_accountsAdd accounts and manage credentials and scopes for multi-account use.bulk_operationsChain operations in one call, or apply one operation to many resources in a single request.
What you need
- Google OAuth Client ID and Client Secret
- A Google Cloud project with the required APIs enabled
- One or more Google accounts
- Node.js 22.12 or newer for the npm install path
- An MCP client such as Claude Desktop or Claude Code
| Setting | Needed | What it is |
|---|---|---|
GOOGLE_Environment variable, secret | Required | Google OAuth 2.0 Client ID (Desktop application) |
GOOGLE_Environment variable, secret | Required | Google OAuth 2.0 Client Secret |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- What is on my calendar today?
- Search my Gmail for the Acme invoice and save the attachment.
- Create a Google Doc with my meeting notes.
Good to know
- Batch mode works only for contacts and some Gmail operations.
- Exposes 95 operations, covering 79 of the 257 methods across eight APIs.
- Chat, Slides and Forms are not targeted yet.
- Requires your own Google OAuth credentials.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Google Workspace
All alternatives →Agentmesh MCP Proxy is a security proxy for MCP servers, described by its publisher as a firewall for the Model Context Protocol. It is aimed at teams that run AI agents which call tools and other agents.
Hardens client-side artifacts such as binaries, Electron apps, JS bundles, Python and WebAssembly against AI reverse-engineering agents. Built for developers who ship proprietary logic to user-controlled devices.
Bla Agents is an MCP server and CLI that adds seeded, format-specific decoys to shipped binaries, JavaScript, WebAssembly and other artifacts. It is for developers who ship proprietary logic to user-controlled devices and want to make AI reverse-engineering slower.
A shared OAuth server for the MCP route of an app, built on better-auth, with passkey sign-in for the owner
Agent Governance Toolkit adds policy enforcement, identity, sandboxing and audit logging to autonomous AI agents. It is aimed at teams shipping agents to production. The source does not confirm the Claude Desktop MCP server named in the listing.
Convex MCP Gateway is a Convex component that exposes selected Convex functions as MCP tools. It checks each call with your own authorize callback and writes an audit log. It is for developers who run Convex apps and want AI assistants to call parts of them.
Compare with Agentmesh MCP Proxy, Bla or Bla Agents
Google Workspace: common questions
Where are my Google credentials stored?
The server keeps an OAuth token per account on your own disk and calls Google as you. The source says there is no middleman service.
Can I connect more than one Google account?
Yes. You can add as many accounts as you like, such as personal and work accounts, and the server routes each request to the right one.
What license does it use?
The project is licensed under Apache 2.0. Through version 3.0.0 it was MIT licensed, and the MIT notice is kept in LICENSE-MIT.
How do I install Google Workspace?
In Claude Code run claude mcp add google-workspace -- npx -y @aaronsb/google-workspace-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Google Workspace the official server?
Google Workspace is a community project by aaronsb, not verified by a company domain.
Is Google Workspace free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is Google Workspace safe to use?
It scores 82 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Google Workspace?
Similar MCP servers: Agentmesh MCP Proxy, Bla, Bla Agents, MCP Auth.
Does Google Workspace work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
