# google-calendar

Connects Google Calendar to your coding assistant via Google Workspace domain delegation. Read events, book meetings, and inspect free or busy schedules.

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

## What it does

The server routes model actions to Google Calendar API endpoints through domain-wide service account delegation. It acts on behalf of the inbox defined in `GCAL_IMPERSONATE_EMAIL`. Available operations cover fetching schedules, booking appointments with guest lists, updating calendar entries via PATCH, and checking open slots.

Personal Google accounts will not work here. Setup demands a Google Cloud project with the Calendar API enabled, plus admin authority over a Google Workspace domain. Without assigning the `https://www.googleapis.com/auth/calendar` scope to your service account client ID inside Google Workspace Admin, the connection fails immediately.

All 7 tools run active out of the box. If write operations pose a risk, set `ENABLED_TOOLGROUPS=readonly` in your environment. That locks the server into read-only actions, shutting down event creation, edits, and deletions.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `GCAL_SERVICE_ACCOUNT_CLIENT_EMAIL`, `GCAL_SERVICE_ACCOUNT_PRIVATE_KEY`, `GCAL_IMPERSONATE_EMAIL`, `ENABLED_TOOLGROUPS` — keys and tokens: ask the human for the values, never commit them or put them in shared files.
- Works with: Google Workspace

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add --env GCAL_SERVICE_ACCOUNT_CLIENT_EMAIL=<GCAL_SERVICE_ACCOUNT_CLIENT_EMAIL> --env GCAL_SERVICE_ACCOUNT_PRIVATE_KEY=<GCAL_SERVICE_ACCOUNT_PRIVATE_KEY> --env GCAL_IMPERSONATE_EMAIL=<GCAL_IMPERSONATE_EMAIL> --env ENABLED_TOOLGROUPS=<ENABLED_TOOLGROUPS> --transport stdio google-calendar -- npx -y google-calendar-workspace-mcp-server
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add google-calendar --env GCAL_SERVICE_ACCOUNT_CLIENT_EMAIL=<GCAL_SERVICE_ACCOUNT_CLIENT_EMAIL> --env GCAL_SERVICE_ACCOUNT_PRIVATE_KEY=<GCAL_SERVICE_ACCOUNT_PRIVATE_KEY> --env GCAL_IMPERSONATE_EMAIL=<GCAL_IMPERSONATE_EMAIL> --env ENABLED_TOOLGROUPS=<ENABLED_TOOLGROUPS> -- npx -y google-calendar-workspace-mcp-server
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "google-calendar": {
            "command": "npx",
            "args": [
                "-y",
                "google-calendar-workspace-mcp-server"
            ],
            "env": {
                "GCAL_SERVICE_ACCOUNT_CLIENT_EMAIL": "<GCAL_SERVICE_ACCOUNT_CLIENT_EMAIL>",
                "GCAL_SERVICE_ACCOUNT_PRIVATE_KEY": "<GCAL_SERVICE_ACCOUNT_PRIVATE_KEY>",
                "GCAL_IMPERSONATE_EMAIL": "<GCAL_IMPERSONATE_EMAIL>",
                "ENABLED_TOOLGROUPS": "<ENABLED_TOOLGROUPS>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "google-calendar": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "google-calendar-workspace-mcp-server"
            ],
            "env": {
                "GCAL_SERVICE_ACCOUNT_CLIENT_EMAIL": "<GCAL_SERVICE_ACCOUNT_CLIENT_EMAIL>",
                "GCAL_SERVICE_ACCOUNT_PRIVATE_KEY": "<GCAL_SERVICE_ACCOUNT_PRIVATE_KEY>",
                "GCAL_IMPERSONATE_EMAIL": "<GCAL_IMPERSONATE_EMAIL>",
                "ENABLED_TOOLGROUPS": "<ENABLED_TOOLGROUPS>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e GCAL_SERVICE_ACCOUNT_CLIENT_EMAIL=<GCAL_SERVICE_ACCOUNT_CLIENT_EMAIL> -e GCAL_SERVICE_ACCOUNT_PRIVATE_KEY=<GCAL_SERVICE_ACCOUNT_PRIVATE_KEY> -e GCAL_IMPERSONATE_EMAIL=<GCAL_IMPERSONATE_EMAIL> -e ENABLED_TOOLGROUPS=<ENABLED_TOOLGROUPS> google-calendar npx -y google-calendar-workspace-mcp-server
```
Replace <…> with your own values

## When to use it
- find free meeting slots across calendar schedules
- create appointments with attendee lists and descriptions
- inspect upcoming meetings within a chosen date range
- update event details without overwriting unchanged fields

## Example prompts
- List all my meetings scheduled for tomorrow.
- Schedule a quick 30-minute sync with teammate@company.com on Friday at 2 PM.
- Check if my schedule is free on Thursday afternoon.

## Similar
- [gws-calendar](https://affpapa.org/en/nevibecode/skills/gws-calendar.md) — skill · 61200 installs
- [gws-calendar-agenda](https://affpapa.org/en/nevibecode/skills/gws-calendar-agenda.md) — skill · 49600 installs
- [calendar-automation](https://affpapa.org/en/nevibecode/skills/calendar-automation.md) — skill · 6100 installs
- [Google Workspace](https://affpapa.org/en/nevibecode/mcp/google-workspace.md) — MCP server · ★ 192
- [google-workspace-cli](https://affpapa.org/en/nevibecode/skills/hoodini-google-workspace-cli.md) — skill · 455 installs
- [Google Workspace MCP Server](https://affpapa.org/en/nevibecode/mcp/google-workspace-mcp-server.md) — MCP server · ★ 12

From the same set: [pulsemcp/mcp-servers](https://affpapa.org/en/nevibecode/by/pulsemcp/mcp-servers.md) — 28 cards

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