Skip to main content

Production-grade Google Tasks MCP server (manage tasklists and tasks via the Model Context Protocol).

Project description

Google Tasks MCP Server

An MCP server for managing Google Tasks tasklists and tasks, designed to work with AI assistants through the Model Context Protocol.

Features

  • Tasklists: List, create, get, and delete tasklists.
  • Tasks: List, create, get, update, complete, and delete tasks.
  • Filtering: Filter task results by due/completed windows and visibility flags.
  • Validation: Input validation for required fields and RFC3339 date values.
  • Retry Handling: Automatic retries for transient Google API errors.

Installation

Prerequisites

  • Python 3.10 or higher.
  • A Google Cloud Project with the Google Tasks API enabled.
  • OAuth2 credentials (Client ID and Client Secret).
  • OAuth scope: ["https://www.googleapis.com/auth/tasks"].

Local Setup

  1. Install dependencies:

    pip install -e .
    
  2. Run the server:

    python server.py --access-token <TOKEN> --refresh-token <REFRESH_TOKEN> --client-id <CLIENT_ID> --client-secret <CLIENT_SECRET>
    

Configuration

Add the following to your MCP host configuration (for example, mcp-config.json):

{
  "mcpServers": {
    "barie-google-tasks-mcp": {
      "command": "uvx",
      "args": [
        "barie-google-tasks-mcp",
        "--access-token",
        "YOUR_ACCESS_TOKEN",
        "--refresh-token",
        "YOUR_REFRESH_TOKEN",
        "--client-id",
        "YOUR_CLIENT_ID",
        "--client-secret",
        "YOUR_CLIENT_SECRET"
      ]
    }
  }
}

Tools

  • list-tasklists: List available tasklists.
  • get-tasklist: Get details for a single tasklist.
  • create-tasklist: Create a new tasklist.
  • delete-tasklist: Delete a tasklist.
  • list-tasks: List tasks in a tasklist with optional filters.
  • get-task: Get details for one task.
  • create-task: Create a task in a tasklist.
  • update-task: Update selected task fields.
  • complete-task: Mark a task as completed.
  • delete-task: Delete a task.

Notes:

  • Use @default as tasklistId to target the default Google Tasks list.
  • Date fields must use RFC3339 format (for example: 2026-05-07T09:00:00Z).

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

barie_google_tasks_mcp-0.1.1.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

barie_google_tasks_mcp-0.1.1-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file barie_google_tasks_mcp-0.1.1.tar.gz.

File metadata

  • Download URL: barie_google_tasks_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for barie_google_tasks_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 6cb50dc2bc1482799d664af3d2cccbd4b872135c67660df86d679b581584f652
MD5 38931a847489f397647db495cb046036
BLAKE2b-256 8582fbe67ab35b7e2110fee875cf182f1f6a7f3ea0c2a3d3742dec648ddb9760

See more details on using hashes here.

File details

Details for the file barie_google_tasks_mcp-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for barie_google_tasks_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 830b99750c2b3647c42bdc6a608dccdf9077f561d513fe368bc09a416b86807e
MD5 0d51c8404b90f8553954889b07733c80
BLAKE2b-256 858bda57a355e8618337a08dc65569e3c97c2f48672548e1995eaf5e49f29127

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page