Skip to content

[MCP] Calendar events.list returns "Not Found" for shared/group calendars #279

@chrisblattman

Description

@chrisblattman

Problem

When using gws mcp in compact mode, calendar events.list works correctly for the primary calendar (primary or the user's email) but returns Not Found for shared/group calendar IDs.

Steps to reproduce

// This works:
{
  "resource": "events",
  "method": "list",
  "params": {
    "calendarId": "primary",
    "timeMin": "2026-03-07T00:00:00-06:00",
    "timeMax": "2026-03-08T00:00:00-06:00",
    "singleEvents": true,
    "orderBy": "startTime"
  }
}

// This returns "Not Found":
{
  "resource": "events",
  "method": "list",
  "params": {
    "calendarId": "abc123@group.calendar.google.com",
    "timeMin": "2026-03-07T00:00:00-06:00",
    "timeMax": "2026-03-08T00:00:00-06:00",
    "singleEvents": true,
    "orderBy": "startTime"
  }
}

The same group calendar IDs work correctly when accessed through the Google Calendar API directly (via other clients using the same OAuth credentials and scopes).

Environment

  • gws v0.7.0
  • macOS, compact MCP mode
  • OAuth scopes include https://www.googleapis.com/auth/calendar.readonly

Expected behavior

Shared/group calendars that the authenticated user has access to should be queryable, consistent with the Google Calendar API's behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions