Back to Browse

Google Tasks MCP Server

Developer ToolsLow Risk10.0MCP RegistryLocal
Free

Server data from the Official MCP Registry

MCP server for the Google Tasks API: task lists, subtasks, due dates, complete and move tasks.

About

MCP server for the Google Tasks API: task lists, subtasks, due dates, complete and move tasks.

Security Report

10.0
Low Risk10.0Low Risk

Valid MCP server (1 strong, 1 medium validity signals). No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry. Trust signals: trusted author (16/16 approved).

4 files analyzed · 1 issue found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

file_system

Check that this permission is expected for this type of plugin.

What You'll Need

Set these up before or after installing:

Google OAuth2 client id (refresh-token flow).Optional

Environment variable: GOOGLE_TASKS_CLIENT_ID

Google OAuth2 client secret (refresh-token flow). Treat it as a secret.Required

Environment variable: GOOGLE_TASKS_CLIENT_SECRET

Google OAuth2 refresh token, exchanged for access tokens automatically. Treat it as a secret.Required

Environment variable: GOOGLE_TASKS_REFRESH_TOKEN

Static OAuth2 access token (~1h lifetime) — alternative to the refresh-token trio, mostly for testing.Required

Environment variable: GOOGLE_TASKS_ACCESS_TOKEN

API root override.Optional

Environment variable: GOOGLE_TASKS_API_BASE

Per-request timeout in milliseconds.Optional

Environment variable: GOOGLE_TASKS_TIMEOUT_MS

Retries on transient errors (429 always; 5xx/network for reads).Optional

Environment variable: GOOGLE_TASKS_MAX_RETRIES

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "io-github-a1-x-tech-mcp-google-tasks": {
      "env": {
        "GOOGLE_TASKS_API_BASE": "your-google-tasks-api-base-here",
        "GOOGLE_TASKS_CLIENT_ID": "your-google-tasks-client-id-here",
        "GOOGLE_TASKS_TIMEOUT_MS": "your-google-tasks-timeout-ms-here",
        "GOOGLE_TASKS_MAX_RETRIES": "your-google-tasks-max-retries-here",
        "GOOGLE_TASKS_ACCESS_TOKEN": "your-google-tasks-access-token-here",
        "GOOGLE_TASKS_CLIENT_SECRET": "your-google-tasks-client-secret-here",
        "GOOGLE_TASKS_REFRESH_TOKEN": "your-google-tasks-refresh-token-here"
      },
      "args": [
        "-y",
        "mcp-google-tasks"
      ],
      "command": "npx"
    }
  }
}

Documentation

View on GitHub

From the project's GitHub README.

Google Tasks MCP

English | Русский

npm CI Glama License: MIT

A1 Google Tasks MCP lets an AI app manage Google Tasks in plain language. Plan a project as a task list, break work into subtasks with due dates and notes, mark things done and keep everything in order.

It uses the Google Tasks API with your Google account. It separates reversible completion from permanent deletion and makes the limits of the Tasks API explicit instead of implying that every to-do feature is possible.

  • 15 tools. List, create and update task lists and tasks, move tasks, manage completion, sweep finished work and reach the raw API when a dedicated tool is missing.
  • Completion is reversible, deletion is not. complete_task has an undo (reopen_task); the delete tools are separate and marked destructive.
  • Due dates are honest. The API stores only the calendar date — the server never pretends to schedule a time of day; times belong in the notes.
  • Minimal Google scope. A single tasks scope, without Drive, Calendar or Gmail access.

Start with a read-only question:

Show me my task lists and everything due before Friday in my default list.

Connect the server · Explore use cases · Open technical documentation


See it work in a minute

You: What's still open in the "Website launch" list, and what's due this week?

Assistant: Shows the open tasks with their due dates, notes and subtasks. Nothing changes.

You: Add a task "Send the launch announcement" due Friday as a subtask of "Marketing".

Assistant: Shows the target list, the parent task and the proposed task, then asks for confirmation before creating it.

You: Confirm.

Assistant: Creates the subtask with a Friday due date. It does not complete or delete anything unless you ask separately.

Contents

Quick start

You need Node.js 20+, a Google account and OAuth credentials from a Google Cloud project with the Google Tasks API enabled.

  1. Prepare Google OAuth access.
  2. Add the server to your AI app.
  3. Ask the read-only question above.

In the app: open Settings → MCP servers, select Add server, choose STDIO, enter the command npx -y mcp-google-tasks@latest and environment variables GOOGLE_TASKS_CLIENT_ID, GOOGLE_TASKS_CLIENT_SECRET, GOOGLE_TASKS_REFRESH_TOKEN, then select Save and Restart.

From the command line:

codex mcp add google-tasks \
  --env GOOGLE_TASKS_CLIENT_ID=your_client_id \
  --env GOOGLE_TASKS_CLIENT_SECRET=your_client_secret \
  --env GOOGLE_TASKS_REFRESH_TOKEN=your_refresh_token \
  -- npx -y mcp-google-tasks@latest
codex mcp list

Codex MCP documentation

claude mcp add \
  --env GOOGLE_TASKS_CLIENT_ID=your_client_id \
  --env GOOGLE_TASKS_CLIENT_SECRET=your_client_secret \
  --env GOOGLE_TASKS_REFRESH_TOKEN=your_refresh_token \
  --transport stdio --scope user google-tasks \
  -- npx -y mcp-google-tasks@latest
claude mcp list

Claude Code MCP documentation

The current official path is Settings → Extensions. For a custom desktop extension, open Advanced settings → Extension Developer → Install Extension…, select a .mcpb file and follow the prompts.

This repository currently publishes an npm stdio package and does not contain a .mcpb bundle. For Claude Desktop builds that still support local configuration, use the following JSON stdio configuration as a fallback:

{
  "mcpServers": {
    "google-tasks": {
      "command": "npx",
      "args": ["-y", "mcp-google-tasks@latest"],
      "env": {
        "GOOGLE_TASKS_CLIENT_ID": "your_client_id",
        "GOOGLE_TASKS_CLIENT_SECRET": "your_client_secret",
        "GOOGLE_TASKS_REFRESH_TOKEN": "your_refresh_token"
      }
    }
  }
}

In those builds, save it to ~/Library/Application Support/Claude/claude_desktop_config.json on macOS or %APPDATA%\Claude\claude_desktop_config.json on Windows.

Claude Desktop MCP documentation

Add this to ~/.cursor/mcp.json on macOS/Linux or %USERPROFILE%\.cursor\mcp.json on Windows:

{
  "mcpServers": {
    "google-tasks": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "mcp-google-tasks@latest"],
      "env": {
        "GOOGLE_TASKS_CLIENT_ID": "your_client_id",
        "GOOGLE_TASKS_CLIENT_SECRET": "your_client_secret",
        "GOOGLE_TASKS_REFRESH_TOKEN": "your_refresh_token"
      }
    }
  }
}

Cursor MCP documentation

Run MCP: Open User Configuration and add:

{
  "servers": {
    "google-tasks": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "mcp-google-tasks@latest"],
      "env": {
        "GOOGLE_TASKS_CLIENT_ID": "${input:tasks_client_id}",
        "GOOGLE_TASKS_CLIENT_SECRET": "${input:tasks_client_secret}",
        "GOOGLE_TASKS_REFRESH_TOKEN": "${input:tasks_refresh_token}"
      }
    }
  },
  "inputs": [
    { "type": "promptString", "id": "tasks_client_id", "description": "Google OAuth client ID" },
    { "type": "promptString", "id": "tasks_client_secret", "description": "Google OAuth client secret", "password": true },
    { "type": "promptString", "id": "tasks_refresh_token", "description": "Google OAuth refresh token", "password": true }
  ]
}

Check it with MCP: List Servers.

VS Code MCP documentation

What you can ask it to do

See your lists and plan the day

  • Show my task lists and the open tasks in each one.
  • What's due this week in the default list? Include subtasks.
  • What changed since yesterday? Include completed and hidden tasks.

Create and organize work

  • Create a "Website launch" list with tasks for design, content and QA.
  • Add a task due Friday with notes, nested under the "Marketing" task.
  • Move a task to the top of the list, under another task, or into a different list.

Track completion

  • Mark the review task done — and reopen it if the work comes back.
  • Sweep every completed task out of the list view in one go.
  • Show the hidden tasks that were swept earlier.

How a task changes

  1. Tasks live in task lists. Every account has a built-in default list, addressed by the special id @default; create_tasklist adds more.
  2. A task carries a title, notes and a date-only due date — the API discards the time portion, so a time of day belongs in the notes.
  3. Ordering and nesting change only through move_task; the API's position field is read-only.
  4. Completing a task is reversible: reopen_task brings it back. Deleting a task or a list is permanent, and deleting a list removes every task in it.

Recurring tasks cannot be created through the API. Tasks assigned from Google Docs or Chat can be read but not created or moved to another list, and deleting one also removes it in the originating document. There is no server-side search or sorting — the server lists tasks and the AI client filters them.

What can change

OperationWhat happensConfirmation boundary
Read task lists and tasksReads lists, tasks and their filtersNo change
Create a task list or a taskAdds a list or an open taskChanges Google Tasks
Update a task or rename a listChanges a title, notes or due dateChanges a task
Move a taskChanges order, nesting or the containing listChanges a task
Complete or reopen a taskToggles completion statusReversible change
Clear completed tasksSweeps every completed task in a list out of viewDestructive
Delete a task or a task listRemoves the task, or the list with everything in itDestructive
Raw API requestCan call API methods without a dedicated toolPotentially destructive

The AI client controls confirmation prompts. The server marks reads, writes and destructive tools so the client can distinguish an inspection from a live change.

Getting access

Google Tasks requires OAuth 2.0; an API key is not enough.

  1. Create or select a Google Cloud project and enable Google Tasks API.

  2. Configure the OAuth consent screen and create a Desktop app OAuth client.

  3. Authorize the Google account that owns the tasks. The OAuth 2.0 Playground can obtain the refresh token when Use your own OAuth credentials is enabled.

  4. Request the scope:

    https://www.googleapis.com/auth/tasks
    

Testing-mode OAuth refresh tokens can expire after seven days. Publish the OAuth app, or use an Internal app in a Workspace domain, when you need long-lived access. Treat the client secret and refresh token as passwords.

Configuration

VariableRequiredDescription
GOOGLE_TASKS_CLIENT_IDYes*OAuth client ID.
GOOGLE_TASKS_CLIENT_SECRETYes*OAuth client secret.
GOOGLE_TASKS_REFRESH_TOKENYes*OAuth refresh token.
GOOGLE_TASKS_ACCESS_TOKENYes*Short-lived alternative to the OAuth trio.
GOOGLE_TASKS_API_BASENoGoogle Tasks API base URL override.
GOOGLE_TASKS_TIMEOUT_MSNoPer-request timeout; default 60000 ms.
GOOGLE_TASKS_MAX_RETRIESNoTemporary-error retries; default 3.

* Provide either the OAuth trio or an access token.

Without credentials the server still starts and completes the MCP handshake; the first tool call then fails with a message naming the variables to set and asking for a restart.

Data, limits and background work

  • Requests go to Google Tasks. The local server refreshes Google OAuth tokens and calls the Tasks API. Its anonymous telemetry contains an installation ID, package version, AI client and platform versions, and tool names — never OAuth tokens, task content, tool arguments or prompts. Set ASKADS_TELEMETRY=0 to opt out.
  • Google applies a daily quota. The Tasks API has a courtesy limit of 50,000 queries per day per project. On 429, the server uses backoff; reads also retry after network and 5xx errors, while writes are not replayed after an uncertain failure — check the outcome with get_task instead.
  • There is no background polling. The server runs only when called. list_tasks supports incremental sync through the updated_min filter, so an AI app with scheduled tasks can check for changes periodically without re-reading everything.

Technical documentation

Support

Found a bug or need a scenario? Create an issue or write in Telegram.

Reviews

No reviews yet

Be the first to review this server!