C

Cal Auto Python

by danielsousaoliveira · io.github.danielsousaoliveira/cal-auto-python

Lets assistants connect a GitHub Projects backlog to Google Calendar and Tasks, so you can view entries, plan work into free time, and create events and to-dos.

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-danielsousaoliveira-cal-auto-python": {
      "command": "uvx",
      "args": [
        "cal-auto-python"
      ],
      "env": {
        "GITHUB_TOKEN": "<YOUR_VALUE>",
        "GITHUB_PROJECT_ID": "<VALUE>",
        "CAL_AUTO_TIMEZONE": "<VALUE>",
        "CAL_AUTO_CONFIG_DIR": "%APPDATA%\\cal-auto-python (Windows), $XDG_CONFIG_HOME/cal-auto-python, or ~/.config/cal-auto-python",
        "CAL_AUTO_WORKING_DAY_START": "09:00",
        "CAL_AUTO_WORKING_DAY_END": "17:00",
        "CAL_AUTO_CALENDAR_ID": "primary",
        "CAL_AUTO_TASK_LIST_ID": "@default",
        "CAL_AUTO_ATTENDEES": "<VALUE>",
        "CAL_AUTO_SCHEDULABLE_STATUSES": "Backlog",
        "CAL_AUTO_COUNT_ALL_DAY_EVENTS": "false"
      }
    }
  }
}

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-danielsousaoliveira-cal-auto-python": {
      "command": "uvx",
      "args": [
        "cal-auto-python"
      ],
      "env": {
        "GITHUB_TOKEN": "<YOUR_VALUE>",
        "GITHUB_PROJECT_ID": "<VALUE>",
        "CAL_AUTO_TIMEZONE": "<VALUE>",
        "CAL_AUTO_CONFIG_DIR": "%APPDATA%\\cal-auto-python (Windows), $XDG_CONFIG_HOME/cal-auto-python, or ~/.config/cal-auto-python",
        "CAL_AUTO_WORKING_DAY_START": "09:00",
        "CAL_AUTO_WORKING_DAY_END": "17:00",
        "CAL_AUTO_CALENDAR_ID": "primary",
        "CAL_AUTO_TASK_LIST_ID": "@default",
        "CAL_AUTO_ATTENDEES": "<VALUE>",
        "CAL_AUTO_SCHEDULABLE_STATUSES": "Backlog",
        "CAL_AUTO_COUNT_ALL_DAY_EVENTS": "false"
      }
    }
  }
}

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-danielsousaoliveira-cal-auto-python": {
      "command": "uvx",
      "args": [
        "cal-auto-python"
      ],
      "env": {
        "GITHUB_TOKEN": "<YOUR_VALUE>",
        "GITHUB_PROJECT_ID": "<VALUE>",
        "CAL_AUTO_TIMEZONE": "<VALUE>",
        "CAL_AUTO_CONFIG_DIR": "%APPDATA%\\cal-auto-python (Windows), $XDG_CONFIG_HOME/cal-auto-python, or ~/.config/cal-auto-python",
        "CAL_AUTO_WORKING_DAY_START": "09:00",
        "CAL_AUTO_WORKING_DAY_END": "17:00",
        "CAL_AUTO_CALENDAR_ID": "primary",
        "CAL_AUTO_TASK_LIST_ID": "@default",
        "CAL_AUTO_ATTENDEES": "<VALUE>",
        "CAL_AUTO_SCHEDULABLE_STATUSES": "Backlog",
        "CAL_AUTO_COUNT_ALL_DAY_EVENTS": "false"
      }
    }
  }
}

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-danielsousaoliveira-cal-auto-python": {
      "command": "uvx",
      "args": [
        "cal-auto-python"
      ],
      "env": {
        "GITHUB_TOKEN": "<YOUR_VALUE>",
        "GITHUB_PROJECT_ID": "<VALUE>",
        "CAL_AUTO_TIMEZONE": "<VALUE>",
        "CAL_AUTO_CONFIG_DIR": "%APPDATA%\\cal-auto-python (Windows), $XDG_CONFIG_HOME/cal-auto-python, or ~/.config/cal-auto-python",
        "CAL_AUTO_WORKING_DAY_START": "09:00",
        "CAL_AUTO_WORKING_DAY_END": "17:00",
        "CAL_AUTO_CALENDAR_ID": "primary",
        "CAL_AUTO_TASK_LIST_ID": "@default",
        "CAL_AUTO_ATTENDEES": "<VALUE>",
        "CAL_AUTO_SCHEDULABLE_STATUSES": "Backlog",
        "CAL_AUTO_COUNT_ALL_DAY_EVENTS": "false"
      }
    }
  }
}

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-danielsousaoliveira-cal-auto-python": {
      "command": "uvx",
      "args": [
        "cal-auto-python"
      ],
      "env": {
        "GITHUB_TOKEN": "<YOUR_VALUE>",
        "GITHUB_PROJECT_ID": "<VALUE>",
        "CAL_AUTO_TIMEZONE": "<VALUE>",
        "CAL_AUTO_CONFIG_DIR": "%APPDATA%\\cal-auto-python (Windows), $XDG_CONFIG_HOME/cal-auto-python, or ~/.config/cal-auto-python",
        "CAL_AUTO_WORKING_DAY_START": "09:00",
        "CAL_AUTO_WORKING_DAY_END": "17:00",
        "CAL_AUTO_CALENDAR_ID": "primary",
        "CAL_AUTO_TASK_LIST_ID": "@default",
        "CAL_AUTO_ATTENDEES": "<VALUE>",
        "CAL_AUTO_SCHEDULABLE_STATUSES": "Backlog",
        "CAL_AUTO_COUNT_ALL_DAY_EVENTS": "false"
      }
    }
  }
}

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-danielsousaoliveira-cal-auto-python": {
      "command": "uvx",
      "args": [
        "cal-auto-python"
      ],
      "env": {
        "GITHUB_TOKEN": "<YOUR_VALUE>",
        "GITHUB_PROJECT_ID": "<VALUE>",
        "CAL_AUTO_TIMEZONE": "<VALUE>",
        "CAL_AUTO_CONFIG_DIR": "%APPDATA%\\cal-auto-python (Windows), $XDG_CONFIG_HOME/cal-auto-python, or ~/.config/cal-auto-python",
        "CAL_AUTO_WORKING_DAY_START": "09:00",
        "CAL_AUTO_WORKING_DAY_END": "17:00",
        "CAL_AUTO_CALENDAR_ID": "primary",
        "CAL_AUTO_TASK_LIST_ID": "@default",
        "CAL_AUTO_ATTENDEES": "<VALUE>",
        "CAL_AUTO_SCHEDULABLE_STATUSES": "Backlog",
        "CAL_AUTO_COUNT_ALL_DAY_EVENTS": "false"
      }
    }
  }
}

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
GITHUB_TOKEN secret Yes GitHub token used to query the Projects board.
GITHUB_PROJECT_ID Yes GitHub Projects V2 node ID of the board to read.
CAL_AUTO_TIMEZONE Yes IANA timezone name used to schedule events, e.g. Europe/Lisbon.
CAL_AUTO_CONFIG_DIR No Directory holding credentials.json and token.json. Default: %APPDATA%\cal-auto-python (Windows), $XDG_CONFIG_HOME/cal-auto-python, or ~/.config/cal-auto-python
CAL_AUTO_WORKING_DAY_START No Start of the working day, HH:MM. Default: 09:00
CAL_AUTO_WORKING_DAY_END No End of the working day, HH:MM. Default: 17:00
CAL_AUTO_CALENDAR_ID No Google Calendar ID to schedule events into. Default: primary
CAL_AUTO_TASK_LIST_ID No Google Tasks list ID to create tasks in. Default: @default
CAL_AUTO_ATTENDEES No Comma-separated email addresses to invite to scheduled events.
CAL_AUTO_SCHEDULABLE_STATUSES No Comma-separated GitHub Project status names to schedule. Must match the board's status names exactly. Default: Backlog
CAL_AUTO_COUNT_ALL_DAY_EVENTS No Whether all-day events count against free/busy slots. Default: false

Similar servers