# cal-auto-python [Health: Active]

**Category:** 🏢 Workplace & Productivity  
**Repository:** https://github.com/danielsousaoliveira/auto-calendar-python  
**GitHub Stars:** 0  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/cal-auto-python

## Description
Schedule a GitHub Projects backlog into Google Calendar, as a CLI or an MCP server.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "cal-auto-python": {
    "command": "uvx",
    "args": ["cal-auto-python"],
    "env": {
      "GITHUB_TOKEN": "",
      "GITHUB_PROJECT_ID": "",
      "CAL_AUTO_TIMEZONE": ""
    }
  }
}
```

**Requires environment variables:** `GITHUB_TOKEN`, `GITHUB_PROJECT_ID`, `CAL_AUTO_TIMEZONE` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What cal-auto-python MCP server does

The cal-auto-python MCP server brings together three sources of planning data: a GitHub Projects V2 board, Google Calendar, and Google Tasks. It can list existing calendar entries, show unfinished tasks, retrieve project items, calculate a work plan, and write the resulting events and tasks to Google.

The server supports two common workflows. `plan_week` performs scheduling as a computation and does not change connected accounts. `sync_backlog` fetches schedulable backlog items, works around calendar commitments, and previews the result unless `apply=true` is supplied. Items already scheduled are skipped during synchronization.

Two MCP prompts cover recurring use cases. `plan-week` previews a schedule and waits for confirmation before writing anything. `whats-scheduled` groups calendar entries and open to-dos by day, while identifying overloaded days and tasks without calendar time.

## How it works

The cal-auto-python MCP server communicates over stdio by default, allowing an MCP client to start it as a local child process. It also supports an HTTP transport for clients that cannot launch stdio processes. The HTTP mode uses the single Google authorization stored on the host and does not provide its own access control.

Scheduling accepts a date range, working-hour boundaries, optional timezone, and optional commitments. Calendar entries and all-day items are read for the selected range, while GitHub work can be filtered by project status. The CLI exposes the same scheduling logic through the `sync` command, with preview behavior unless `--apply` is used.

## Setup and configuration

Install the package with `pip install cal-auto-python`. The package provides the `cal-auto-python` command, including both CLI and server modes.

Before accessing Google data, run `cal-auto-python authorize`. This opens a browser-based OAuth flow and stores the resulting token as `token.json` in the configuration directory. A Google Cloud project must have the Google Calendar API and Google Tasks API enabled, and the OAuth client must be a Desktop app client saved as `credentials.json` in that directory.

Set `GITHUB_TOKEN` to a GitHub personal access token with read access to the target Projects V2 board. Set `GITHUB_PROJECT_ID` to the board's Projects V2 node ID. `CAL_AUTO_TIMEZONE` can be supplied in client configuration; tool calls can also provide a timezone for planning.

Claude Code, Claude Desktop, Cursor, and other stdio-capable clients can start `cal-auto-python server`. For HTTP use, run `cal-auto-python server --transport http --host 127.0.0.1 --port 8000`.

## Tools and capabilities

The cal-auto-python MCP server provides these tools:

- `status` reports configured integrations and whether Google authorization is available without revealing secrets.
- `list_calendar_entries` reads calendar events and all-day items between inclusive dates.
- `list_todos` returns unfinished items from the configured Google Tasks list.
- `list_tracker_items` lists GitHub Projects items, optionally filtered by statuses.
- `plan_week` calculates a schedule around supplied items and commitments without writing data.
- `sync_backlog` previews or applies backlog scheduling for a date range.
- `create_calendar_entry` creates one event without scheduling or deduplication.
- `create_todo` creates one Google Task without deduplication.

## Limitations and notes

Google authorization is required before the server can read or write calendar or task data. GitHub access is read-only according to the documented token prerequisites. The individual creation tools do not deduplicate entries, so callers should use the synchronization workflow when they need its skip behavior.

HTTP mode is intended for one local user. Because it has no additional authorization layer and reads one person's stored Google credentials, it should be bound to `127.0.0.1` or a private, trusted network rather than exposed publicly. The MCP Inspector can be used to inspect the stdio server without a client.

_Full upstream README: https://allmcps.com/mcp/cal-auto-python/readme_

