Google Workspace MCP
Lets your AI agent use Gmail, Calendar, Drive, Docs, Sheets, Tasks, Meet and Contacts across several Google accounts.
194 stars on GitHubby aaronsbLicense Apache-2.0Updated 26 days ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add google-workspace -- npx -y @aaronsb/google-workspace-mcp
What to fill in
| Name | What it is | Required |
|---|---|---|
GOOGLE_CLIENT_ID | Google OAuth 2.0 Client ID (Desktop application) | No |
GOOGLE_CLIENT_SECRET | Google OAuth 2.0 Client Secret | No |
Ready! Now test it
Restart the app and paste one of these requests in the chat:
What is on my calendar tomorrow?
Find the invoice from Acme, save it to Drive and remind me to pay it on Friday.
What it is
This server gives your AI agent access to your Google Workspace accounts. The agent can search mail, check your calendar, work with Drive files, edit Docs and Sheets, manage tasks and more. Tokens are kept on your own machine and requests are made as you.
What it can do
manage_email: search, read, send, reply and organize Gmailmanage_calendar: list, create and update events, check free timemanage_drive: search, upload, download and share filesmanage_sheetsandmanage_docs: read and write spreadsheets and documentsmanage_tasks: Google Tasksmanage_meetandmanage_contacts: meetings and contactsbulk_operations: chain or batch many actions in one call
When to use
- βΊWhen you want your agent to find an email and file its attachment in Drive.
- βΊWhen you want it to check your calendar and add an event.
- βΊWhen you manage both a personal and a work account.
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
google-workspaceLets your agent work with Gmail, Google Calendar, Drive, Docs and Sheets using your Google account, once you approve access.gogLets your agent read and manage Gmail, Google Calendar, Drive, Contacts, Sheets, and Docs through the gog command line tool.google-workspace-cliLets your agent run Gmail, Drive, Sheets, Calendar and other Google Workspace tasks from the command line, and check the setup for security gaps.Frequently asked questions
Is it free?
Yes. It is Apache 2.0 with no paid tier. You use your own Google credentials.
Where are my tokens kept?
On your own machine. There is no middleman service.
Can I use more than one account?
Yes. Add as many as you like and the server routes each request to the right one.
How do I install it?
Drag the .mcpb file onto Claude Desktop, or run the claude mcp add command with your client ID and secret.
How many operations does it have?
12 tools and 95 operations, covering 79 of 257 Google API methods. You can request more.
Can it do many things at once?
Yes. bulk_operations can chain steps or batch actions such as trashing many messages.
If it does not work
- βΊMake sure the Google APIs you need are enabled in your Google Cloud project.
- βΊRun manage_accounts with the authenticate operation to add an account in the browser.
- βΊIf a double-click on the .mcpb file does nothing, drag it onto the Claude Desktop window.
5 new skills a week. 1 minute to read.