C

Calendar MCP

by deciduus · io.github.deciduus/calendar-mcp

This project implements a Python-based MCP (Model Context Protocol) server that acts as an interface between Large Language Models (LLMs) and the Google Calendar API. It enables LLMs to perform calendar operations via natural language requests.

pypi Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-deciduus-calendar-mcp": {
      "command": "uvx",
      "args": [
        "calendar-mcp-server"
      ],
      "env": {
        "GOOGLE_CLIENT_ID": "<VALUE>",
        "GOOGLE_CLIENT_SECRET": "<YOUR_VALUE>",
        "TOKEN_FILE_PATH": ".gcp-saved-tokens.json",
        "HOST": "127.0.0.1",
        "PORT": "8000",
        "CALENDAR_SCOPES": "https://www.googleapis.com/auth/calendar",
        "OAUTH_CALLBACK_PORT": "8080",
        "CALENDAR_MCP_LOG_FILE": "<VALUE>",
        "CALENDAR_MCP_LOG_LEVEL": "INFO",
        "CALENDAR_MCP_CONFIG_DIR": "<VALUE>",
        "CALENDAR_MCP_DEFAULT_ACCOUNT": "default",
        "CALENDAR_MCP_ALLOW_BROWSER_AUTH": ""
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-deciduus-calendar-mcp": {
      "command": "uvx",
      "args": [
        "calendar-mcp-server"
      ],
      "env": {
        "GOOGLE_CLIENT_ID": "<VALUE>",
        "GOOGLE_CLIENT_SECRET": "<YOUR_VALUE>",
        "TOKEN_FILE_PATH": ".gcp-saved-tokens.json",
        "HOST": "127.0.0.1",
        "PORT": "8000",
        "CALENDAR_SCOPES": "https://www.googleapis.com/auth/calendar",
        "OAUTH_CALLBACK_PORT": "8080",
        "CALENDAR_MCP_LOG_FILE": "<VALUE>",
        "CALENDAR_MCP_LOG_LEVEL": "INFO",
        "CALENDAR_MCP_CONFIG_DIR": "<VALUE>",
        "CALENDAR_MCP_DEFAULT_ACCOUNT": "default",
        "CALENDAR_MCP_ALLOW_BROWSER_AUTH": ""
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-deciduus-calendar-mcp": {
      "command": "uvx",
      "args": [
        "calendar-mcp-server"
      ],
      "env": {
        "GOOGLE_CLIENT_ID": "<VALUE>",
        "GOOGLE_CLIENT_SECRET": "<YOUR_VALUE>",
        "TOKEN_FILE_PATH": ".gcp-saved-tokens.json",
        "HOST": "127.0.0.1",
        "PORT": "8000",
        "CALENDAR_SCOPES": "https://www.googleapis.com/auth/calendar",
        "OAUTH_CALLBACK_PORT": "8080",
        "CALENDAR_MCP_LOG_FILE": "<VALUE>",
        "CALENDAR_MCP_LOG_LEVEL": "INFO",
        "CALENDAR_MCP_CONFIG_DIR": "<VALUE>",
        "CALENDAR_MCP_DEFAULT_ACCOUNT": "default",
        "CALENDAR_MCP_ALLOW_BROWSER_AUTH": ""
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-deciduus-calendar-mcp": {
      "command": "uvx",
      "args": [
        "calendar-mcp-server"
      ],
      "env": {
        "GOOGLE_CLIENT_ID": "<VALUE>",
        "GOOGLE_CLIENT_SECRET": "<YOUR_VALUE>",
        "TOKEN_FILE_PATH": ".gcp-saved-tokens.json",
        "HOST": "127.0.0.1",
        "PORT": "8000",
        "CALENDAR_SCOPES": "https://www.googleapis.com/auth/calendar",
        "OAUTH_CALLBACK_PORT": "8080",
        "CALENDAR_MCP_LOG_FILE": "<VALUE>",
        "CALENDAR_MCP_LOG_LEVEL": "INFO",
        "CALENDAR_MCP_CONFIG_DIR": "<VALUE>",
        "CALENDAR_MCP_DEFAULT_ACCOUNT": "default",
        "CALENDAR_MCP_ALLOW_BROWSER_AUTH": ""
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-deciduus-calendar-mcp": {
      "command": "uvx",
      "args": [
        "calendar-mcp-server"
      ],
      "env": {
        "GOOGLE_CLIENT_ID": "<VALUE>",
        "GOOGLE_CLIENT_SECRET": "<YOUR_VALUE>",
        "TOKEN_FILE_PATH": ".gcp-saved-tokens.json",
        "HOST": "127.0.0.1",
        "PORT": "8000",
        "CALENDAR_SCOPES": "https://www.googleapis.com/auth/calendar",
        "OAUTH_CALLBACK_PORT": "8080",
        "CALENDAR_MCP_LOG_FILE": "<VALUE>",
        "CALENDAR_MCP_LOG_LEVEL": "INFO",
        "CALENDAR_MCP_CONFIG_DIR": "<VALUE>",
        "CALENDAR_MCP_DEFAULT_ACCOUNT": "default",
        "CALENDAR_MCP_ALLOW_BROWSER_AUTH": ""
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-deciduus-calendar-mcp": {
      "command": "uvx",
      "args": [
        "calendar-mcp-server"
      ],
      "env": {
        "GOOGLE_CLIENT_ID": "<VALUE>",
        "GOOGLE_CLIENT_SECRET": "<YOUR_VALUE>",
        "TOKEN_FILE_PATH": ".gcp-saved-tokens.json",
        "HOST": "127.0.0.1",
        "PORT": "8000",
        "CALENDAR_SCOPES": "https://www.googleapis.com/auth/calendar",
        "OAUTH_CALLBACK_PORT": "8080",
        "CALENDAR_MCP_LOG_FILE": "<VALUE>",
        "CALENDAR_MCP_LOG_LEVEL": "INFO",
        "CALENDAR_MCP_CONFIG_DIR": "<VALUE>",
        "CALENDAR_MCP_DEFAULT_ACCOUNT": "default",
        "CALENDAR_MCP_ALLOW_BROWSER_AUTH": ""
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
GOOGLE_CLIENT_ID Yes OAuth client ID (required).
GOOGLE_CLIENT_SECRET secret Yes OAuth client secret (required).
TOKEN_FILE_PATH No Where the default account's OAuth token is cached. Default: .gcp-saved-tokens.json
HOST No Default for --host in HTTP mode. Default: 127.0.0.1
PORT No Default for --port in HTTP mode. Default: 8000
CALENDAR_SCOPES No Scope requested. Use .../auth/calendar.readonly for read-only. Default: https://www.googleapis.com/auth/calendar
OAUTH_CALLBACK_PORT No Local port for the OAuth callback during calendar-mcp auth. Default: 8080
CALENDAR_MCP_LOG_FILE No Mirror the stderr log to this file.
CALENDAR_MCP_LOG_LEVEL No DEBUG/INFO/WARNING/ERROR/CRITICAL. Overrides --log-level. Default: INFO
CALENDAR_MCP_CONFIG_DIR No Directory holding per-account tokens (accounts/) and preferences.json.
CALENDAR_MCP_DEFAULT_ACCOUNT No Account used when a tool's account argument is omitted. Default: default
CALENDAR_MCP_ALLOW_BROWSER_AUTH No Set to 1 to let the server itself open a browser when no token exists. Off by default so a stdio server never hangs.

Similar servers