Google Calendar MCP Server with Service Account authentication
Project description
Google Calendar MCP
Google Calendar MCP is a Model Context Protocol (MCP) server implementation in Python with Service Account authentication.
Overview
This project implements the Google Calendar API as an MCP server in Python. It is a port from the original TypeScript version, with authentication changed from OAuth 2.0 to Service Account.
Features
- Python 3.13 support
- MCP (Model Context Protocol) server implementation
- Google Calendar API integration
- Service Account authentication
- Dependency management with uv
Requirements
- Python 3.13 or higher
- A Google Cloud Platform project and a valid Service Account
- The Service Account must have access to the Google Calendar API
Installation
# Clone the repository
git clone https://github.com/youyo/google-calendar-mcp.git
cd google-calendar-mcp
# Install dependencies
uv pip install -r requirements.txt
Configuration
- Create a project in Google Cloud Platform and enable the Google Calendar API.
- Create a Service Account and download the JSON key file.
- Set the environment variable
GOOGLE_APPLICATION_CREDENTIALSto the path of the JSON key file.
export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account.json
Example: MCP configuration file
To use this server with an MCP client, add the following to your MCP configuration file:
{
"mcpServers": {
"google-calendar-mcp": {
"command": "uvx",
"args": ["google-calendar-mcp@latest"],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "/path/to/service-account.json"
}
}
}
}
Usage
# Start the server
uvx google-calendar-mcp
Available Tools
list-calendars: List all available calendarslist-events: List events from a calendarsearch-events: Search for events in a calendar by text querylist-colors: List available color IDs and their meanings for calendar eventscreate-event: Create a new calendar eventupdate-event: Update an existing calendar eventdelete-event: Delete a calendar event
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file google_calendar_mcp-0.0.5.tar.gz.
File metadata
- Download URL: google_calendar_mcp-0.0.5.tar.gz
- Upload date:
- Size: 40.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
315fbcc0f5549702e5119cc36513732bfbf818c0bf02306bd9886b4d216b0503
|
|
| MD5 |
cba74b88f11b3287c6ce6d5c2340f8e7
|
|
| BLAKE2b-256 |
f4e99e50aa2dbaa5c42872110683c6fa4b526a71ffb1b6eb9611e79f450dbf1f
|
Provenance
The following attestation bundles were made for google_calendar_mcp-0.0.5.tar.gz:
Publisher:
publish.yaml on youyo/google-calendar-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
google_calendar_mcp-0.0.5.tar.gz -
Subject digest:
315fbcc0f5549702e5119cc36513732bfbf818c0bf02306bd9886b4d216b0503 - Sigstore transparency entry: 205876434
- Sigstore integration time:
-
Permalink:
youyo/google-calendar-mcp@c61889568131b632a5a4c33e22b9c9b3a1c30257 -
Branch / Tag:
refs/tags/v0.0.5 - Owner: https://github.com/youyo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@c61889568131b632a5a4c33e22b9c9b3a1c30257 -
Trigger Event:
push
-
Statement type:
File details
Details for the file google_calendar_mcp-0.0.5-py3-none-any.whl.
File metadata
- Download URL: google_calendar_mcp-0.0.5-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
734b72fa2c883e6126d6dda6cf3afa1113f80822346030d180480d7ad85e463a
|
|
| MD5 |
6c9e0097b81f3683acc5174c5a5cd5d4
|
|
| BLAKE2b-256 |
1d25b82f92ea37f1ef91793f03a9b65c4b122c69474093c64837eab16e9569d8
|
Provenance
The following attestation bundles were made for google_calendar_mcp-0.0.5-py3-none-any.whl:
Publisher:
publish.yaml on youyo/google-calendar-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
google_calendar_mcp-0.0.5-py3-none-any.whl -
Subject digest:
734b72fa2c883e6126d6dda6cf3afa1113f80822346030d180480d7ad85e463a - Sigstore transparency entry: 205876436
- Sigstore integration time:
-
Permalink:
youyo/google-calendar-mcp@c61889568131b632a5a4c33e22b9c9b3a1c30257 -
Branch / Tag:
refs/tags/v0.0.5 - Owner: https://github.com/youyo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@c61889568131b632a5a4c33e22b9c9b3a1c30257 -
Trigger Event:
push
-
Statement type: