Skip to main content
Glama
algonacci
by algonacci

mcp-google-calendar

A minimal MCP server for Google Calendar using OAuth 2.0 and the Google Calendar API.

Tools

  • connect_calendar() and calendar_health()

  • list_calendars()

  • list_events(...) and get_event(...)

  • create_event(...), with recurrence, attendees, and optional Google Meet

  • update_event(...) and delete_event(...)

  • list_calendar_acl(...) and share_calendar(...)

  • watch_calendar_events(...)

  • list_event_changes(...)

create_event, update_event, delete_event, share_calendar, and watch_calendar_events have external side effects. MCP clients should request explicit confirmation before calling them.

Related MCP server: GoogleCalendarMCP

Setup

  1. Enable the Google Calendar API in Google Cloud Console.

  2. Create an OAuth client with application type Desktop app.

  3. Download the OAuth file as credentials.json into this directory.

  4. Install dependencies and start the server:

python -m venv .venv
.venv\Scripts\activate
pip install -r requirements.txt
python server.py

Authorization is a two-step tool call, so it works the same whether this server runs on your laptop or on a machine with no browser at all:

  1. Call google_auth_start. It returns an authorization URL.

  2. Approve access in a browser — any browser, on any device.

  3. Call google_auth_complete with the URL you land on.

On a desktop, steps 2 and 3 usually happen by themselves: the browser is opened for you and the redirect is caught on http://localhost:8765 (set GOOGLE_OAUTH_PORT to change it).

On a headless server, or when you approve on a phone, that redirect cannot be reached and the browser shows a connection error. That is expected — the authorization code is in the address bar. Copy the whole URL (http://localhost:8765/?code=...) and pass it to google_auth_complete, which also accepts the bare code value.

Both credentials.json and token.json are ignored by Git.

Optional .env configuration:

GOOGLE_CREDENTIALS=credentials.json
GOOGLE_TOKEN=token.json
GOOGLE_CALENDAR_TIMEZONE=Asia/Jakarta

MCP Client

{
  "mcpServers": {
    "google-calendar": {
      "command": "python",
      "args": [
        "C:/Users/your-user/Documents/GitHub/mcp-google-calendar/server.py"
      ]
    }
  }
}
F
license - not found
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Hosted Google Calendar MCP server for AI agents. No self-hosting or Google Cloud setup.

  • Streamable HTTP MCP server for Google Calendar and Sheets with OAuth login.

  • AI-powered medical document management for cancer patients. Google Drive, Gmail, Calendar via MCP.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/algonacci/mcp-google-calendar'

If you have feedback or need assistance with the MCP directory API, please join our Discord server