What is Google Calendar MCP Server?
Google Calendar MCP Server is a Model Context Protocol (MCP) server that integrates with Google Calendar, allowing LLM applications to manage calendar events through a standardized interface.
How to use Google Calendar MCP Server?
To use the server, set up the required environment variables in a .env
file and run the server using the command uv run client.py
after installation.
Key features of Google Calendar MCP Server?
- List available calendars
- List events from a calendar
- Create new calendar events
- Update existing events
- Delete events
Use cases of Google Calendar MCP Server?
- Automating event management for applications using LLMs.
- Integrating calendar functionalities into chatbots or virtual assistants.
- Streamlining scheduling processes in software applications.
FAQ from Google Calendar MCP Server?
- What is the purpose of this server?
It provides a standardized way for LLM applications to interact with Google Calendar events.
- How do I set up the Google Calendar API?
Follow the setup instructions in the Google Cloud Console to enable the API and create OAuth 2.0 credentials.
- Is there a cost associated with using Google Calendar MCP Server?
The server itself is free to use, but Google Calendar API usage may incur costs based on your usage.
Google Calendar MCP Server
This is a Model Context Protocol (MCP) server that provides integration with Google Calendar. It allows LLMs application manage calendar events through a standardized interface.
Features
- List available calendars
- List events from a calendar
- Create new calendar events
- Update existing events
- Delete events
Google Cloud Setup
- Go to the Google Cloud Console
- Create a new project or select an existing one.
- Enable the Google Calendar API.
- Create OAuth 2.0 credentials:
- Go to Credentials
- Click "Create Credentials" > "OAuth client ID"
- Choose "User data" as the type of data the app will be accessing.
- Add your app name and contact information.
- Add the following scope (optional):
https://www.googleapis.com/auth/calendar.events
- Select "Desktop app" as the application type.
- Add your email address as a test user under the OAuth Consent screen.
- Note: It may take a few minutes for the test user to propagate.
Installation
Steps
- Clone the repository:
git clone <repository-url> cd gcal-mcp-server
- Create a virtual environment:
uv venv # On Mac / linux source .venv/bin/activate # On Windows .venv\Scripts\activate # Install package in editable mode uv pip install -e .
Usage
- Set up the
.env
file with the required environment variables for LLMs. - Run the server:
uv run client.py