# Google Workspace 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.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 11
- Author: conorbronsdon
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/conorbronsdon/gws-mcp-server
- Updated: 2026-10-22
- HTML: https://affpapa.org/en/nevibecode/mcp/google-workspace-mcp-server

## What it 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`.

## Requirements
- Needs: Node.js (commands run via npx)
- Works with: Google Workspace

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add gws-mcp-server -- npx -y gws-mcp-server
```

### Codex

**Platform CLI**
```bash
codex mcp add google-workspace-mcp-server -- npx -y gws-mcp-server
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "google-workspace-mcp-server": {
            "command": "npx",
            "args": [
                "-y",
                "gws-mcp-server"
            ]
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "google-workspace-mcp-server": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "gws-mcp-server"
            ]
        }
    }
}
```

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add google-workspace-mcp-server npx -y gws-mcp-server
```

## When to use it
- 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
- 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.

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 386989
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33918
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81115
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119160
- [Codebase Memory](https://affpapa.org/en/nevibecode/mcp/codebase-memory.md) — MCP server · ★ 47392
- [mcp-server](https://affpapa.org/en/nevibecode/mcp/mcp-server.md) — MCP server · ★ 43872

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
