google-calendar

v0.0.13
com.pulsemcp/google-calendar Checked 6 hours ago Published 5 months ago

MCP server for Google Calendar integration with service account support and domain-wide delegation.

Values you need

VariableWhat it is
GCAL_SERVICE_ACCOUNT_CLIENT_EMAILrequired Service account email address from Google Cloud Console.
GCAL_SERVICE_ACCOUNT_PRIVATE_KEYrequired secret Service account private key in PEM format from Google Cloud Console.
GCAL_IMPERSONATE_EMAILrequired Email address of the user whose calendar to access via domain-wide delegation.
ENABLED_TOOLGROUPSoptional Comma-separated list of tool groups to enable (readonly or readwrite).

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add google-calendar -e 'GCAL_IMPERSONATE_EMAIL=<GCAL_IMPERSONATE_EMAIL>' -e 'GCAL_SERVICE_ACCOUNT_CLIENT_EMAIL=<GCAL_SERVICE_ACCOUNT_CLIENT_EMAIL>' -e 'GCAL_SERVICE_ACCOUNT_PRIVATE_KEY=<GCAL_SERVICE_ACCOUNT_PRIVATE_KEY>' -- npx -y google-calendar-workspace-mcp-server@0.0.13
Add to claude_desktop_config.json
{
  "mcpServers": {
    "google-calendar": {
      "args": [
        "-y",
        "google-calendar-workspace-mcp-server@0.0.13"
      ],
      "command": "npx",
      "env": {
        "GCAL_IMPERSONATE_EMAIL": "<GCAL_IMPERSONATE_EMAIL>",
        "GCAL_SERVICE_ACCOUNT_CLIENT_EMAIL": "<GCAL_SERVICE_ACCOUNT_CLIENT_EMAIL>",
        "GCAL_SERVICE_ACCOUNT_PRIVATE_KEY": "<GCAL_SERVICE_ACCOUNT_PRIVATE_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "google-calendar": {
      "args": [
        "-y",
        "google-calendar-workspace-mcp-server@0.0.13"
      ],
      "command": "npx",
      "env": {
        "GCAL_IMPERSONATE_EMAIL": "<GCAL_IMPERSONATE_EMAIL>",
        "GCAL_SERVICE_ACCOUNT_CLIENT_EMAIL": "<GCAL_SERVICE_ACCOUNT_CLIENT_EMAIL>",
        "GCAL_SERVICE_ACCOUNT_PRIVATE_KEY": "<GCAL_SERVICE_ACCOUNT_PRIVATE_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "GCAL_IMPERSONATE_EMAIL",
      "id": "gcal-impersonate-email",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "GCAL_SERVICE_ACCOUNT_CLIENT_EMAIL",
      "id": "gcal-service-account-client-email",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "GCAL_SERVICE_ACCOUNT_PRIVATE_KEY",
      "id": "gcal-service-account-private-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "google-calendar": {
      "args": [
        "-y",
        "google-calendar-workspace-mcp-server@0.0.13"
      ],
      "command": "npx",
      "env": {
        "GCAL_IMPERSONATE_EMAIL": "${input:gcal-impersonate-email}",
        "GCAL_SERVICE_ACCOUNT_CLIENT_EMAIL": "${input:gcal-service-account-client-email}",
        "GCAL_SERVICE_ACCOUNT_PRIVATE_KEY": "${input:gcal-service-account-private-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.google-calendar]
command = "npx"
args = ["-y", "google-calendar-workspace-mcp-server@0.0.13"]
env = { "GCAL_IMPERSONATE_EMAIL" = "<GCAL_IMPERSONATE_EMAIL>", "GCAL_SERVICE_ACCOUNT_CLIENT_EMAIL" = "<GCAL_SERVICE_ACCOUNT_CLIENT_EMAIL>", "GCAL_SERVICE_ACCOUNT_PRIVATE_KEY" = "<GCAL_SERVICE_ACCOUNT_PRIVATE_KEY>" }

For AI agents

  1. Ask the user for: GCAL_SERVICE_ACCOUNT_CLIENT_EMAIL, GCAL_SERVICE_ACCOUNT_PRIVATE_KEY, GCAL_IMPERSONATE_EMAIL. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: list_calendar_events, get_calendar_event, list_calendars, query_calendar_freebusy, create_calendar_event, update_calendar_event, delete_calendar_event.
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json