
Google Calendar
com.pulsemcp由 pulsemcp.com 發布v0.0.13更新於 Oct 24, 2026
MCP server for Google Calendar integration with service account support and domain-wide delegation.
概覽
本機 MCP 伺服器,讓助理透過服務帳戶讀取與管理 Google 日曆的事件、日曆與空閒/忙碌時段。
- 可以做什麼
- 列出與讀取事件:依時間範圍與條件瀏覽事件,並取得單一事件的完整詳情
- 建立與修改事件:新增含參與者、地點與說明的事件,局部更新既有事件,或刪除事件並可選擇通知參與者
- 檢視日曆:列出被模擬使用者可用的日曆
- 查詢空閒狀況:跨一個或多個日曆查詢空閒/忙碌時段
- 適用情境
- 適合需要助理回答行程問題、尋找空檔,或為特定 Workspace 使用者建立、修改、刪除 Google 日曆事件,且不想走互動式 OAuth 登入的情境。
- 執行需求
- 透過 npx 在本機執行(需 Node.js)。需要已啟用 Calendar API 的 Google Cloud 專案、啟用網域委派的服務帳戶,以及 Workspace 管理員授權日曆範圍。需設定 GCAL_SERVICE_ACCOUNT_CLIENT_EMAIL、GCAL_SERVICE_ACCOUNT_PRIVATE_KEY 與 GCAL_IMPERSONATE_EMAIL;ENABLED_TOOLGROUPS 可限制為唯讀。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Google Calendar,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Google Calendar Workspace MCP Server
An MCP (Model Context Protocol) server for Google Calendar integration using service account authentication with domain-wide delegation. This server enables AI assistants to interact with Google Calendar to list events, create events, manage calendars, and query availability.
Features
- List Events: View calendar events within a specified time range with filtering
- Get Event Details: Retrieve complete information about specific events
- Create Events: Create new calendar events with attendees, location, and descriptions
- Update Events: Modify existing events (PATCH semantics - only provided fields are updated)
- Delete Events: Remove events with optional notification to attendees
- List Calendars: Discover available calendars
- Query Free/Busy: Check availability and find busy time slots
Prerequisites
- Google Cloud Project with Calendar API enabled
- Service Account with domain-wide delegation
- Google Workspace Admin access to grant calendar permissions
Setup
1. Create a Google Cloud Service Account
- Go to Google Cloud Console
- Create or select a project
- Enable the Google Calendar API:
- Navigate to "APIs & Services" > "Library"
- Search for "Google Calendar API"
- Click "Enable"
- Create a service account:
- Navigate to "IAM & Admin" > "Service Accounts"
- Click "Create Service Account"
- Provide a name and description
- Click "Create and Continue"
- Skip granting roles (not needed for domain-wide delegation)
- Click "Done"
- Create a key for the service account:
- Click on the created service account
- Go to "Keys" tab
- Click "Add Key" > "Create new key"
- Select "JSON" format
- Download the key file
- Note the service account's Client ID (found in the service account details)
2. Enable Domain-Wide Delegation
- In the service account details, click "Show domain-wide delegation"
- Check "Enable Google Workspace Domain-wide Delegation"
- Save the changes
- Note the Client ID (you'll need this for the next step)
3. Grant Calendar Permissions in Google Workspace Admin
- Go to Google Workspace Admin Console
- Navigate to "Security" > "Access and data control" > "API Controls"
- Click "Manage Domain Wide Delegation"
- Click "Add new"
- Enter the service account's Client ID
- In the "OAuth Scopes" field, add:
- Click "Authorize"
4. Configure Environment Variables
Extract the following from your downloaded JSON key file:
client_email: The service account emailprivate_key: The private key (including-----BEGIN PRIVATE KEY-----and-----END PRIVATE KEY-----)
Set these environment variables:
Note: GCAL_IMPERSONATE_EMAIL should be the email address of the user whose calendar you want to access.
Installation
Using NPX (Recommended)
Using NPM
Usage with Claude Desktop
Add this configuration to your Claude Desktop config file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Tool Groups
By default, all tools are enabled (read + write access). You can restrict the server to read-only operations by setting the ENABLED_TOOLGROUPS environment variable:
Available tool groups:
When using only readonly, the write tools (create_calendar_event, update_calendar_event, delete_calendar_event) are not available.
Available Tools
list_calendar_events
Lists events from a calendar within an optional time range.
Parameters:
calendar_id(optional): Calendar ID (default: "primary")time_min(optional): Start time in RFC3339 formattime_max(optional): End time in RFC3339 formatmax_results(optional): Maximum events to return (default: 10, max: 250)query(optional): Free text search querysingle_events(optional): Expand recurring events (default: true)order_by(optional): "startTime" or "updated"
Example:
get_calendar_event
Retrieves detailed information about a specific event.
Parameters:
event_id(required): The event IDcalendar_id(optional): Calendar ID (default: "primary")
Example:
create_calendar_event
Creates a new calendar event.
Parameters:
summary(required): Event titlestart_datetimeORstart_date(required): Event start timeend_datetimeORend_date(required): Event end timedescription(optional): Event descriptionlocation(optional): Event locationattendees(optional): Array of email addressescalendar_id(optional): Calendar ID (default: "primary")
Example:
update_calendar_event
Updates an existing calendar event. Uses PATCH semantics - only the fields you provide will be updated; other fields remain unchanged.
Parameters:
event_id(required): The event ID to updatecalendar_id(optional): Calendar ID (default: "primary")summary(optional): New event titledescription(optional): New event descriptionlocation(optional): New event locationstart_datetimeORstart_date(optional): New start timeend_datetimeORend_date(optional): New end timeattendees(optional): Updated array of attendee email addressessend_updates(optional): "all", "externalOnly", or "none" - whether to send update notifications
Example:
delete_calendar_event
Deletes a calendar event.
Parameters:
event_id(required): The event ID to deletecalendar_id(optional): Calendar ID (default: "primary")send_updates(optional): "all", "externalOnly", or "none" - whether to send cancellation notifications
Example:
list_calendars
Lists all calendars available to the authenticated user.
Parameters:
max_results(optional): Maximum calendars to return (default: 50, max: 250)
Example:
query_calendar_freebusy
Queries availability information for calendars.
Parameters:
time_min(required): Start time in RFC3339 formattime_max(required): End time in RFC3339 formatcalendar_ids(required): Array of calendar IDs to checktimezone(optional): Time zone for the query
Example:
Development
Security Considerations
- Private Key Security: Never commit your service account private key to version control
- Least Privilege: Only grant the minimum required OAuth scopes
- Key Rotation: Regularly rotate service account keys
- Access Logging: Monitor service account usage in Google Cloud Console
Troubleshooting
Authentication Failed
- Verify service account credentials are correct
- Ensure domain-wide delegation is enabled
- Check that the correct OAuth scope is authorized in Admin Console
- Verify the impersonate email address is correct
Permission Denied
- Ensure the calendar scope (
https://www.googleapis.com/auth/calendar) is granted in Google Workspace Admin Console - Verify the impersonated user has access to the calendar
Calendar Not Found
- Check that the calendar ID is correct
- Verify the impersonated user has access to the calendar
- Use
list_calendarsto discover available calendar IDs
License
MIT
Contributing
See CONTRIBUTING.md for guidelines.
來源:experimental/google-calendar/README.md,提交 0ed34de
工具
0版本歷史
1- v0.0.13最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分