An open API service indexing awesome lists of open source software.

https://github.com/cnayan/minimal-google-calendar-mcp-server

Minimal Google Calendar MCP Server
https://github.com/cnayan/minimal-google-calendar-mcp-server

Last synced: 9 months ago
JSON representation

Minimal Google Calendar MCP Server

Awesome Lists containing this project

README

          

# Google Calendar Events MCP Server

Uses Google Calendar API method to fetch upcoming events only.

## Test output:

Sample output from the MCP server for calendar events

## Pre-requisites
Create an app on GCP and get client secret.
- Set up your Google Workspace project and Auth Platform by following [Google's documentation](https://developers.google.com/workspace/calendar/api/quickstart/python)
- Download the client secret JSON and keep in the repo base folder as `credentials.json`

### Run MCP Server

```cmd
uv venv
uv sync
uv run src/tool.py
```

### Add to Claude Desktop [Windows Setting]
Note: You must have it installed.

Open file in Notepad: __%USERPROFILE%\AppData\Roaming\Claude\claude_desktop_config.json__

Add the MCP server entry to the JSON:

```json
"gcal-mcp": {
"command": ,
"args": [
"--directory",
,
"run",
"src\\tool.py"
]
}
```

It may look like this finally:

```json
{
"mcpServers": {
"gcal-mcp": {
"command": "%USERPROFILE%\\Miniconda3\\Scripts\\uv.exe",
"args": [
"--directory",
"E:\\Dev\\mcp\\servers\\gcal",
"run",
"src\\tool.py"
]
}
}
}
```

It should look like this in Claude Desktop

Running MCP server for Claude Desktop

## Note
I use Miniconda. Hence the path to UV shows up this way. If you have different setup, you will have to figure out where UV.exe is installed.

UV setup guide: https://docs.astral.sh/uv/getting-started/installation/