Google Calendar MCP Server

Productivitystdiov1.4.0
代码仓库

MCP server for Google Calendar that lets AI agents view, create, update, and delete events, check availability across calendars, and schedule meetings via the Calendar API with OAuth. Useful for natural-language scheduling and calendar management.

连接

将此配置添加到 .claude/mcp.json

{
  "mcpServers": {
    "google-calendar": {
      "command": "npx",
      "args": [
        "-y",
        "@cocal/google-calendar-mcp"
      ],
      "env": {
        "GOOGLE_OAUTH_CREDENTIALS": "<YOUR_GOOGLE_OAUTH_CREDENTIALS>"
      }
    }
  }
}

工具 (3)

list_events

List events within a time range for a calendar.

{
  "type": "object",
  "required": [
    "time_min",
    "time_max"
  ],
  "properties": {
    "time_max": {
      "type": "string",
      "description": "End of range in ISO 8601 format"
    },
    "time_min": {
      "type": "string",
      "description": "Start of range in ISO 8601 format"
    },
    "calendar_id": {
      "type": "string",
      "description": "Calendar ID (defaults to primary)"
    }
  }
}

create_event

Create a calendar event.

{
  "type": "object",
  "required": [
    "summary",
    "start",
    "end"
  ],
  "properties": {
    "end": {
      "type": "string",
      "description": "End time in ISO 8601 format"
    },
    "start": {
      "type": "string",
      "description": "Start time in ISO 8601 format"
    },
    "summary": {
      "type": "string",
      "description": "Event title"
    },
    "attendees": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Attendee email addresses"
    }
  }
}

check_availability

Find free/busy windows across one or more calendars.

{
  "type": "object",
  "required": [
    "time_min",
    "time_max"
  ],
  "properties": {
    "time_max": {
      "type": "string",
      "description": "End of range in ISO 8601 format"
    },
    "time_min": {
      "type": "string",
      "description": "Start of range in ISO 8601 format"
    },
    "calendar_ids": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Calendars to check"
    }
  }
}

资源

此服务器未提供任何资源。

提示词

此服务器未提供任何提示词。

服务器信息

作者
nspady (@nspady)
代码仓库
https://github.com/nspady/google-calendar-mcp
许可证
MIT
版本
1.4.0
星标
1,300
最后更新
2026年6月24日