Skip to main content
MCP server CX Codex

Google Workspace · mindstone — Claude Code MCP server: install and setup

Connects AI agents to Gmail, Drive, Docs, and Calendar. Gives coding assistants access to emails, files, and scheduling via 124 tools.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add --env GOOGLE_CLIENT_ID=<GOOGLE_CLIENT_ID> --env GOOGLE_CLIENT_SECRET=<GOOGLE_CLIENT_SECRET> --env ACCOUNTS_PATH=<ACCOUNTS_PATH> --env CREDENTIALS_PATH=<CREDENTIALS_PATH> --env GOOGLE_WORKSPACE_REQUEST_TIMEOUT_MS=<GOOGLE_WORKSPACE_REQUEST_TIMEOUT_MS> --transport stdio google-workspace -- npx -y @mindstone/mcp-server-google-workspace
Open on GitHub

What Google Workspace does

This connector equips AI agents with 124 tools spanning Gmail, Drive, Calendar, Docs, Sheets, Slides, Tasks, and Meet. It lets models search email threads, send messages, inspect calendar openings, or manipulate files directly in Google storage.

Authentication differs from typical standalone servers. The connector runs no local OAuth callback server and creates no sign-in links on its own. Instead, the host environment carries out the OAuth process and drops credential files into a dedicated path alongside an accounts.json index. When tokens are missing, calls stop and emit an auth_required status.

Running this tool requires Node.js 20 or newer along with valid GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET values. You can also configure request timeouts via GOOGLE_WORKSPACE_REQUEST_TIMEOUT_MS.

What it helps with

  • search email threads in Gmail and draft replies
  • inspect calendar availability and schedule appointments
  • search, retrieve, and organize files in Google Drive
  • create and edit content inside Google Docs

Example prompts for the agent

  • Find the email from Sarah about yesterday's sprint planning and reply that I am reviewing it.
  • List my open calendar slots for tomorrow afternoon.
  • Look up the quarterly slide deck on Google Drive and summarize the recent edits.

How to install Google Workspace

Platform CLI

claude mcp add --env GOOGLE_CLIENT_ID=<GOOGLE_CLIENT_ID> --env GOOGLE_CLIENT_SECRET=<GOOGLE_CLIENT_SECRET> --env ACCOUNTS_PATH=<ACCOUNTS_PATH> --env CREDENTIALS_PATH=<CREDENTIALS_PATH> --env GOOGLE_WORKSPACE_REQUEST_TIMEOUT_MS=<GOOGLE_WORKSPACE_REQUEST_TIMEOUT_MS> --transport stdio google-workspace -- npx -y @mindstone/mcp-server-google-workspace

Replace <…> with your own values. 4 more environment variables are in the server README

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about Google Workspace

How do I install Google Workspace in Claude Code?

Run `claude mcp add mcp-server-google-workspace -e GOOGLE_CLIENT_ID=<GOOGLE_CLIENT_ID> -e GOOGLE_CLIENT_SECRET=<GOOGLE_CLIENT_SECRET> -e ACCOUNTS_PATH=<ACCOUNTS_PATH> -e CREDENTIALS_PATH=<CREDENTIALS_PATH> -- npx -y @mindstone/mcp-server-google-workspace. This registers the server via npx` with your OAuth paths.

What does the Google Workspace MCP server do?

It provides 124 tools for interacting with Google cloud apps, covering Gmail, Drive, Docs, Calendar, Sheets, and Contacts.

How does authentication work?

The server leaves OAuth browser callbacks to the host client. The host saves tokens into the directory set by CREDENTIALS_PATH and updates accounts.json, which the connector reads on demand.

Similar MCP servers

All MCP servers for Notes, tasks and projects →

Google Workspace by other authors comes first.

From the same set40

Microsoft 365 Calendar Brings the Outlook calendar from Microsoft 365 into your coding agent: read events, create and edit meetings, find free slots. Handy when you plan the day from the chat window. CX Codex +1 ★ 13repo stars Kling Connects Kling AI video generation and lip-sync directly to your AI agent. It handles rendering tasks, checks queue status, and downloads assets to the workspace. CX Codex +1 ★ 13repo stars Humaans Connects Humaans to an MCP host so an agent can work with people, roles, time away, offices, and company records. It requires an API key. CX Codex +1 ★ 13repo stars HubSpot A local MCP server that exposes HubSpot CRM to your coding agent: contacts, deals, tickets, tasks and files. Handy when you juggle more than one HubSpot account. CX Codex +1 ★ 13repo stars Google Analytics 4 This MCP server lets an AI agent inspect GA4 properties and schemas, then run reports. Use it to explore analytics data from your coding environment. CX Codex +1 ★ 13repo stars Gamma Turns a prompt into a Gamma deck, document or webpage and hands back a link or a PPTX/PDF file inside your host. CX Codex +1 ★ 13repo stars Freshdesk Connects Freshdesk to your AI assistant to handle support tickets, reply to users, and query help articles. Useful when managing helpdesk queues directly from your coding setup. CX Codex +1 ★ 13repo stars Fathom Connect an AI host to Fathom meeting data to find calls, read transcripts, and retrieve action items. Setup requires a Fathom API key. CX Codex +1 ★ 13repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor