DEVELOPER ACCESS

Your plan, connected.

Use your own tasks and calendar context in scripts and compatible MCP clients.

Create a key

  1. Sign in and open Settings → API and MCP access.
  2. Name your client, select tasks:read and/or events:read, and choose a 7, 30 or 90 day expiry.
  3. Save the key when it appears. It is shown once. Up to 20 keys may be active.

Use Authorization: Bearer YOUR_KEY over HTTPS. Revoke keys from Settings whenever a client no longer needs access. Only a key’s owner can manage it.

curl https://mycalendartodo.com/api/v1/tasks?limit=25 \
  -H "Authorization: Bearer $MYCALENDARTODO_API_KEY"

API reference

Tasks include only items you own in lists you own. Events are saved snapshots of your enabled Google calendars. Refresh calendars in the app to update them; API reads do not call Google. Provider credentials and raw event payloads are excluded.

GET /api/v1/tasks · tasks:read

Query: limit 1–100 (default 25), offset 0–10000 (default 0). Other parameters and repeated parameters return 400.

Response: {data: [...], limit, offset, next_offset}. Follow next_offset until null. Results may shift when records change; deduplicate by ID.

Record fields

{
  "type": "object",
  "required": [
    "id",
    "title",
    "is_completed",
    "priority",
    "todo_list_id",
    "created_at"
  ],
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "title": {
      "type": "string"
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "is_completed": {
      "type": "boolean"
    },
    "priority": {
      "type": "string",
      "enum": [
        "low",
        "medium",
        "high",
        "urgent"
      ]
    },
    "due_date": {
      "type": [
        "string",
        "null"
      ]
    },
    "scheduled_date": {
      "type": [
        "string",
        "null"
      ]
    },
    "todo_list_id": {
      "type": "string",
      "format": "uuid"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    }
  }
}
GET /api/v1/events · events:read

Query: limit 1–100 (default 25), offset 0–10000 (default 0). Other parameters and repeated parameters return 400.

Response: {data: [...], limit, offset, next_offset}. Follow next_offset until null. Results may shift when records change; deduplicate by ID.

Record fields

{
  "type": "object",
  "required": [
    "id",
    "title",
    "start_time",
    "end_time",
    "all_day"
  ],
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "title": {
      "type": "string"
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "start_time": {
      "type": "string",
      "description": "Cached Google event start; timestamp or all-day date."
    },
    "end_time": {
      "type": "string",
      "description": "Exclusive end; timestamp or all-day date."
    },
    "all_day": {
      "type": "boolean"
    },
    "location": {
      "type": [
        "string",
        "null"
      ]
    },
    "html_link": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}

Errors return {"error":"message"}: 400 invalid request; 401 missing, expired or revoked key; 403 missing permission; 429 rate limit with Retry-After: 60; 503 temporarily unavailable. The shared limit is 60 authenticated requests per key per UTC minute across REST and MCP. Offset pagination stops at 10000.

Try a request

Run a read request on this site. Your key stays in this page’s memory and is sent only to the same origin. Results may contain private data.

Connect an MCP client

Use a client that supports Streamable HTTP and a manually configured Bearer authorization header. Set the server URL to https://mycalendartodo.com/api/mcp and the header to Authorization: Bearer YOUR_KEY. Clients requiring OAuth discovery are not supported by this release.

This compatibility endpoint supports MCP 2025-11-25 and 2025-03-26. It returns JSON, creates no server session, and offers no SSE stream. Send the negotiated MCP-Protocol-Version on subsequent calls and Accept: application/json, text/event-stream on every POST.

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "initialize",
  "params": {
    "protocolVersion": "2025-11-25",
    "capabilities": {},
    "clientInfo": {
      "name": "my-client",
      "version": "1.0.0"
    }
  }
}

After sending notifications/initialized, use tools/list to discover list_tasks and list_events for your key’s permissions. Tools accept the same limit and offset arguments as REST.

{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "tools/call",
  "params": {
    "name": "list_tasks",
    "arguments": {
      "limit": 5,
      "offset": 0
    }
  }
}

Authentication applies to initialization, notifications and discovery too. Keys are supplied in headers, never query strings. Browser requests with an Origin from another site are rejected. GET and DELETE return 405. MCP protocol errors use a JSON-RPC error object with code and message; transport authentication and availability errors use the HTTP error format described above.

MCP compatibility transport specification