Skip to main content
MCP server CX Codex

Google Workspace MCP Server — Claude Code MCP server

Connects an AI agent to Gmail, Calendar, Drive and other Google Workspace services through 67 MCP tools. Useful for handling mail, files and tasks.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add gws-mcp-server -- npx -y gws-mcp-server
Open on GitHub

What Google Workspace MCP Server does

Google Workspace MCP Server exposes Gmail, Calendar, Drive, Sheets, Docs, Slides, Tasks and Contacts to an agent. It packages 67 MCP tools and runs on top of the official gws CLI, giving the agent one interface for Google Workspace data.

You need Node.js 18+ plus an installed and authenticated gws CLI. Without those prerequisites, the server will not start. The project is in maintenance mode: security fixes continue, while new features are not planned.

It can be used with Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed and Gemini CLI. Contacts tools need extra authorization for the people service through gws-mcp-server auth login -s people.

What it helps with

  • read Gmail messages through an agent
  • check upcoming Google Calendar events
  • find and update files in Google Drive
  • work with Google Sheets and Docs
  • manage items in Google Tasks

Example prompts for the agent

  • List my calendar events for next week and group them by day.
  • Search Google Drive for release documents and return their names.
  • Draft a Gmail message from this task description without sending it.

How to install Google Workspace MCP Server

Platform CLI

claude mcp add gws-mcp-server -- npx -y gws-mcp-server

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 MCP Server

How do I install Google Workspace MCP Server in Claude Code?

Run claude mcp add gws-mcp-server -- npx -y gws-mcp-server. Then authenticate the installed gws CLI.

What does Google Workspace MCP Server do?

It connects an AI agent to Gmail, Calendar, Drive, Sheets, Docs, Slides, Tasks and Contacts through 67 MCP tools.

What is required for Google Workspace MCP Server?

You need Node.js 18+ and an authenticated gws CLI. Contacts requires an extra scope from gws-mcp-server auth login -s people.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

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