原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Google Calendar MCP

作者:A1-x-Tech版本 1.1.2i★ –i在你的电脑上运行
注册名称io.github.A1-x-Tech/mcp-google-calendar

安装

概览

作者提供的说明(英文原文)

MCP server for the Google Calendar API: events, recurrence, invitations, availability, calendars.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 文档、表格与办公
  • 你需要填写:GOOGLE_CALENDAR_CLIENT_SECRET, GOOGLE_CALENDAR_REFRESH_TOKEN, GOOGLE_CALENDAR_ACCESS_TOKEN

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: GOOGLE_CALENDAR_CLIENT_ID, GOOGLE_CALENDAR_CLIENT_SECRET, GOOGLE_CALENDAR_REFRESH_TOKEN, GOOGLE_CALENDAR_ACCESS_TOKEN, GOOGLE_CALENDAR_OAUTH_PORT, GOOGLE_CALENDAR_API_BASE, GOOGLE_CALENDAR_TIMEOUT_MS, GOOGLE_CALENDAR_MAX_RETRIES

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "google-calendar": {
      "command": "npx",
      "args": [
        "-y",
        "@a1-x-tech/mcp-google-calendar"
      ],
      "env": {
        "GOOGLE_CALENDAR_CLIENT_ID": "your-value",
        "GOOGLE_CALENDAR_CLIENT_SECRET": "your-value",
        "GOOGLE_CALENDAR_REFRESH_TOKEN": "your-value",
        "GOOGLE_CALENDAR_ACCESS_TOKEN": "your-value",
        "GOOGLE_CALENDAR_OAUTH_PORT": "your-value",
        "GOOGLE_CALENDAR_API_BASE": "your-value",
        "GOOGLE_CALENDAR_TIMEOUT_MS": "your-value",
        "GOOGLE_CALENDAR_MAX_RETRIES": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add google-calendar --env GOOGLE_CALENDAR_CLIENT_ID=your-value --env GOOGLE_CALENDAR_CLIENT_SECRET=your-value --env GOOGLE_CALENDAR_REFRESH_TOKEN=your-value --env GOOGLE_CALENDAR_ACCESS_TOKEN=your-value --env GOOGLE_CALENDAR_OAUTH_PORT=your-value --env GOOGLE_CALENDAR_API_BASE=your-value --env GOOGLE_CALENDAR_TIMEOUT_MS=your-value --env GOOGLE_CALENDAR_MAX_RETRIES=your-value -- npx -y @a1-x-tech/mcp-google-calendar

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "google-calendar": {
      "command": "npx",
      "args": [
        "-y",
        "@a1-x-tech/mcp-google-calendar"
      ],
      "env": {
        "GOOGLE_CALENDAR_CLIENT_ID": "your-value",
        "GOOGLE_CALENDAR_CLIENT_SECRET": "your-value",
        "GOOGLE_CALENDAR_REFRESH_TOKEN": "your-value",
        "GOOGLE_CALENDAR_ACCESS_TOKEN": "your-value",
        "GOOGLE_CALENDAR_OAUTH_PORT": "your-value",
        "GOOGLE_CALENDAR_API_BASE": "your-value",
        "GOOGLE_CALENDAR_TIMEOUT_MS": "your-value",
        "GOOGLE_CALENDAR_MAX_RETRIES": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "google-calendar": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@a1-x-tech/mcp-google-calendar"
      ],
      "env": {
        "GOOGLE_CALENDAR_CLIENT_ID": "your-value",
        "GOOGLE_CALENDAR_CLIENT_SECRET": "your-value",
        "GOOGLE_CALENDAR_REFRESH_TOKEN": "your-value",
        "GOOGLE_CALENDAR_ACCESS_TOKEN": "your-value",
        "GOOGLE_CALENDAR_OAUTH_PORT": "your-value",
        "GOOGLE_CALENDAR_API_BASE": "your-value",
        "GOOGLE_CALENDAR_TIMEOUT_MS": "your-value",
        "GOOGLE_CALENDAR_MAX_RETRIES": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • GOOGLE_CALENDAR_CLIENT_ID env
    Google OAuth2 client id (refresh-token flow).
  • GOOGLE_CALENDAR_CLIENT_SECRET 机密 env
    Google OAuth2 client secret (refresh-token flow). Treat it as a secret.
  • GOOGLE_CALENDAR_REFRESH_TOKEN 机密 env
    Google OAuth2 refresh token, exchanged for access tokens automatically. Treat it as a secret.
  • GOOGLE_CALENDAR_ACCESS_TOKEN 机密 env
    Static OAuth2 access token (~1h lifetime) — alternative to the refresh-token trio, mostly for testing.
  • GOOGLE_CALENDAR_OAUTH_PORT env
    Fixed port for the loopback listener of the in-chat login (127.0.0.1 + PKCE). Set it when the client runs over SSH port forwarding; otherwise a free port is picked per login.
  • GOOGLE_CALENDAR_API_BASE env
    API root override.
  • GOOGLE_CALENDAR_TIMEOUT_MS env
    Per-request timeout in milliseconds.
  • GOOGLE_CALENDAR_MAX_RETRIES env
    Retries on transient errors (429 always; 5xx/network for reads).

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 A1-x-Tech 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“文档、表格与办公”中的其他服务器比较i

  • 星标数多于此分类中其他 3575 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 3575 个服务器的 89% 更新
  • 基础检查结果等于或优于此分类中其他 3575 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Google Calendar MCP 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:GOOGLE_CALENDAR_CLIENT_SECRET, GOOGLE_CALENDAR_REFRESH_TOKEN, GOOGLE_CALENDAR_ACCESS_TOKEN

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.1.2)于3天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Agent-Native Calendar, Excel MCP Server, MCP Server for Excel

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Agent-Native Calendar

Agent-Native Google Calendar - manage events, sync, and public booking

作者:BuilderIO正在增长★ 76202个月前更新

在云端运行

Excel MCP Server

Create and edit Excel files with AI: charts, PivotTables, formulas. No Excel needed.

作者:haris-musa广泛使用↓ 5万/周★ 42767天前更新

在你的电脑上运行

MCP Server for Excel

Excel automation for AI - Sheets, Power Query, DAX, VBA, Tables, Ranges and more. Windows only.

作者:sbroenne正在增长↓ 4321/周★ 8475天前更新

在你的电脑上运行

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Google Calendar MCP

English | Русский

A1 Google Calendar MCP lets an AI app manage Google Calendar in plain language. Review your week, schedule a meeting with guests and a Google Meet link, reschedule or cancel it, find a slot when everyone is free, and block Out of Office or Focus Time.

It uses the Google Calendar API with your Google account. It distinguishes a whole recurring series from a single occurrence and makes the limits of the Calendar API explicit instead of implying that every calendar task is possible.

  • 19 tools. Inspect calendars, events and free/busy, create and edit events, expand recurring series, and block Out of Office and Focus Time — plus six for connecting your Google account.
  • Sign in from the chat. No credentials file to hand-write: ask the assistant to connect, approve access in the browser, and the very next request works — no restart. The client secret travels as a file path, never through the conversation.
  • Nobody is emailed by accident. The Calendar API's default for invitations, changes and cancellations is silence; guests get email only when you ask for it via send_updates.
  • Writes are never replayed. After an ambiguous failure the server does not retry a write — a duplicated event could re-email every guest.
  • Minimal Google scopes. It uses calendar.events and calendar.readonly, without the broad calendar scope.

Start with a read-only question:

What's on my calendar this week? Point out any overlapping meetings.

Connect the server · Explore use cases · Open technical documentation


See it work in a minute

You: What does my Thursday look like, and when are Anna and I both free?

Assistant: Shows Thursday's events and the free slots you share. Nothing changes.

You: Book a 45-minute design review with Anna in the first shared slot, with a Google Meet link.

Assistant: Shows the proposed time, guest list and Meet link, then asks for confirmation before creating the event.

You: Confirm.

Assistant: Creates the event. Nobody gets an email unless you ask it to send invitations.

Contents

  • Quick start
  • What you can ask it to do
  • How an event changes
  • What can change
  • Getting access
  • Configuration
  • Data, limits and background work
  • Technical documentation
  • Support

Quick start

You need Node.js 20+, a Google account and OAuth credentials from a Google Cloud project with the Google Calendar API enabled.

  1. Prepare Google OAuth access.
  2. Add the server to your AI app.
  3. Ask the read-only question above.

Codex

In the app: open Settings → MCP servers, select Add server, choose STDIO, enter the command npx -y @a1-x-tech/mcp-google-calendar@latest and environment variables GOOGLE_CALENDAR_CLIENT_ID, GOOGLE_CALENDAR_CLIENT_SECRET, GOOGLE_CALENDAR_REFRESH_TOKEN, then select Save and Restart.

From the command line:

codex mcp add google-calendar \

--env GOOGLE_CALENDAR_CLIENT_ID=your_client_id \ --env GOOGLE_CALENDAR_CLIENT_SECRET=your_client_secret \ --env GOOGLE_CALENDAR_REFRESH_TOKEN=your_refresh_token \ -- npx -y @a1-x-tech/mcp-google-calendar@latest

codex mcp list

Codex MCP documentation

Claude Code

claude mcp add \

--env GOOGLE_CALENDAR_CLIENT_ID=your_client_id \ --env GOOGLE_CALENDAR_CLIENT_SECRET=your_client_secret \ --env GOOGLE_CALENDAR_REFRESH_TOKEN=your_refresh_token \ --transport stdio --scope user google-calendar \ -- npx -y @a1-x-tech/mcp-google-calendar@latest

claude mcp list

Claude Code MCP documentation

Claude Desktop

The current official path is Settings → Extensions. For a custom desktop extension, open Advanced settings → Extension Developer → Install Extension…, select a .mcpb file and follow the prompts.

This repository currently publishes an npm stdio package and does not contain a .mcpb bundle. For Claude Desktop builds that still support local configuration, use the following JSON stdio configuration as a fallback:

{

"mcpServers": { "google-calendar": { "command": "npx", "args": ["-y", "@a1-x-tech/mcp-google-calendar@latest"], "env": { "GOOGLE_CALENDAR_CLIENT_ID": "your_client_id", "GOOGLE_CALENDAR_CLIENT_SECRET": "your_client_secret", "GOOGLE_CALENDAR_REFRESH_TOKEN": "your_refresh_token" } } } }

In those builds, save it to ~/Library/Application Support/Claude/claude_desktop_config.json on macOS or %APPDATA%\Claude\claude_desktop_config.json on Windows.

Claude Desktop MCP documentation

Cursor

Add this to ~/.cursor/mcp.json on macOS/Linux or %USERPROFILE%\.cursor\mcp.json on Windows:

{

"mcpServers": { "google-calendar": { "type": "stdio", "command": "npx", "args": ["-y", "@a1-x-tech/mcp-google-calendar@latest"], "env": { "GOOGLE_CALENDAR_CLIENT_ID": "your_client_id", "GOOGLE_CALENDAR_CLIENT_SECRET": "your_client_secret", "GOOGLE_CALENDAR_REFRESH_TOKEN": "your_refresh_token" } } } }

Cursor MCP documentation

VS Code

Run MCP: Open User Configuration and add:

{

"servers": { "google-calendar": { "type": "stdio", "command": "npx", "args": ["-y", "@a1-x-tech/mcp-google-calendar@latest"], "env": { "GOOGLE_CALENDAR_CLIENT_ID": "${input:calendar_client_id}", "GOOGLE_CALENDAR_CLIENT_SECRET": "${input:calendar_client_secret}", "GOOGLE_CALENDAR_REFRESH_TOKEN": "${input:calendar_refresh_token}" } } }, "inputs": [ { "type": "promptString", "id": "calendar_client_id", "description": "Google OAuth client ID" }, { "type": "promptString", "id": "calendar_client_secret", "description": "Google OAuth client secret", "password": true }, { "type": "promptString", "id": "calendar_refresh_token", "description": "Google OAuth refresh token", "password": true } ] }

Check it with MCP: List Servers.

VS Code MCP documentation

What you can ask it to do

See your schedule
  • What meetings do I have this week? Include the recurring ones.
  • Show tomorrow's 1:1 with its guests, Meet link and reminders.
  • List every occurrence of the team sync in March.
Plan and change meetings
  • Create a 45-minute review on Thursday with two guests and a Google Meet link.
  • Reschedule the retro one hour later and update the guest list — but don't email anyone yet.
  • Move the planning event to the team calendar.
  • Cancel Friday's occurrence of the standup, leaving the rest of the series alone.
Protect your time
  • When are Anna, Boris and I all free for an hour next week?
  • Block Out of Office for my vacation and auto-decline new invitations.
  • Create two hours of Focus Time tomorrow morning and silence Google Chat.

How an event changes

  1. calendar_id: "primary" is your main calendar; other calendars come from list_calendars, and writes need writer access.
  2. A recurring series and a single occurrence have different ids: the series id changes or cancels every occurrence, an instance id (from list_event_instances) exactly one.
  3. update_event changes only the fields you provide, but a nested object replaces its predecessor wholesale — a new attendees list replaces the whole guest list.
  4. No write emails anybody unless send_updates says so — the Calendar API's default is silence.

Out of Office and Focus Time blocks exist only on the primary calendar of a Google Workspace account; consumer Gmail and secondary calendars reject them. Creating an event does not check for conflicts — ask for a free/busy check first. All-day events end on an exclusive date: an event through Friday ends on Saturday's date.

What can change

OperationWhat happensConfirmation boundary
Read calendars, events and free/busyReads schedule data; free/busy shows busy blocks without titlesNo change
Create an eventAdds a timed, all-day or recurring event, optionally with guests and Google MeetChanges a calendar
Create an Out of Office or Focus Time blockAdds a special event that can auto-decline invitations or silence Google ChatChanges a calendar
Update an eventReschedules or edits an event; a series id edits every occurrenceChanges a calendar
Move an eventRe-homes an event to another calendarChanges two calendars
Delete an eventCancels an event or an entire series; there is no undeleteDestructive
Raw API requestCan call API methods without a dedicated toolPotentially destructive

The AI client controls confirmation prompts. The server marks reads, writes and destructive tools so the client can distinguish an inspection from a live change.

Getting access

Access to your own calendars requires OAuth 2.0; an API key is not enough. There are two ways to connect, and the first one needs no configuration file at all.

Sign in from the chat

Start the server with no credentials and ask the assistant to connect. It walks you through it with six built-in tools:

ToolWhat it does
setup_instructionsThe step-by-step checklist for the Google Cloud side, tailored to what is already configured
set_clientReads the OAuth client JSON you downloaded — by file path, so the secret never goes through the chat
start_loginReturns the Google authorization link and waits for the browser
finish_loginConfirms the login and reports which account was connected
auth_statusWhether a login exists, where it came from and when it expires — never the token itself
logoutRevokes the token at Google and deletes the local file

The login takes effect immediately: the next tool call works without restarting the AI client. The token is stored in ~/.config/mcp-google-calendar/credentials.json (on Windows, under %APPDATA%), readable only by your account, and never leaves your machine.

Or configure environment variables

The classic path, and the one to use for CI and headless installs:

  1. Create or select a Google Cloud project and enable Google Calendar API.
  2. Configure the OAuth consent screen and create a Desktop app OAuth client.
  3. Authorize the Google account whose calendars you want to manage. The OAuth 2.0 Playground can obtain the refresh token when

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx