google-tasks-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@google-tasks-mcp list my task lists"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
google-tasks-mcp
An MCP server for Google Tasks with the full API surface: task-list CRUD, task CRUD, move/reorder, and a diff_tasks change-harvester that tells you what happened since your agent last looked.
Built for agents that maintain a task mirror (project lists your assistant keeps in sync, completions you tick on your phone that the agent picks up later), but it works fine as a general Tasks connector.
Why another one
The existing options each miss something this use case needs:
zcaceres/gtasks-mcp, the most-cited one, has no task-list operations at all: you can't create, rename, or delete lists, which rules out per-project lists entirely. The
gtasks-mcpnpm name is also a tombstone (the package was unpublished).arpitbatra123/mcp-googletasks covers the full surface but isn't on npm, so it's clone-and-build, and auth means pasting an OAuth code back through a tool call.
google_workspace_mcp does everything, plus all of Workspace, plus an OAuth 2.1 setup and a native-build gotcha on Windows. Overkill if you only want Tasks.
None of them deal with the API's nastiest quirk: tasks completed in the Google Tasks apps become hidden, so a naive query silently misses exactly the completions a sync agent needs to see. diff_tasks exists because of that quirk.
Related MCP server: google-tasks-mcp
Install
# 1. One-time auth (see Google Cloud setup below first)
npx google-tasks-mcp auth
# 2. Register with your MCP client, e.g. Claude Code:
claude mcp add -s user gtasks -- npx google-tasks-mcpAny MCP-capable client works; the server speaks stdio.
Google Cloud setup (one-time, ~15 minutes)
The Tasks API requires your own OAuth client. No verification, no billing.
console.cloud.google.com → create a project.
APIs & Services → Library → enable Google Tasks API.
Google Auth Platform (consent screen): User type External (Internal is Workspace-only). App name + your email. Scope:
https://www.googleapis.com/auth/tasks(classified sensitive, not restricted: no security audit needed).Credentials → Create credentials → OAuth client ID → Desktop app → download the JSON.
Save it as
~/.config/google-tasks-mcp/client_secret.json(or pointGTASKS_MCP_CREDENTIALSat it).The trap everyone hits: while the consent screen's publishing status is "Testing", refresh tokens expire every 7 days and you will re-auth weekly. Set publishing status to In production (skip verification; you'll click through a one-time "Google hasn't verified this app" interstitial: Advanced → Continue). Tokens then persist indefinitely.
Run
npx google-tasks-mcp auth: a browser opens, you approve, the refresh token lands in~/.config/google-tasks-mcp/token.json. Done forever (revoking access or 6 months of disuse are the only expiries).
Environment variables
Variable | Default | Purpose |
|
| Config directory |
|
| OAuth client file |
|
| Cached refresh token |
Tools
Task lists: list_tasklists, get_tasklist, create_tasklist, update_tasklist, delete_tasklist
Tasks: list_tasks (filters: completed/hidden/deleted, updatedMin, due bounds), get_task, create_task, update_task, complete_task, delete_task, move_task (reorder, re-parent, or move across lists)
Sync: diff_tasks(since, [tasklist]) returns everything that changed after an RFC3339 timestamp, grouped per list into completed / active / deleted. It sweeps every list unless you name one.
Design notes (API sharp edges, handled)
Due dates are date-only. The API silently discards the time portion, and naive RFC3339 values can land a day off. Pass
YYYY-MM-DD; the server normalizes to UTC midnight.App-completed tasks go hidden. Ticking a task in the Google Tasks app sets
hidden: true; a plain list call never sees it again.diff_tasksalways queries withshowCompleted + showHidden + showDeleted, so nothing is missed.No sync tokens. Unlike the Calendar API, Tasks has no incremental sync token.
diff_tasksusesupdatedMin; keep a snapshot on your side and pass its timestamp.positionis read-only. Reordering only works throughmove_task(parent + previous). This includes subtask nesting.There is deliberately no
clear_completedtool. The API'stasks.clearwipes completed tasks from a list, which permanently destroys the evidencediff_tasksdepends on. An LLM should not be able to call that casually. If you truly need it, the Tasks apps expose it in their UI.
Development
git clone https://github.com/justerlex/google-tasks-mcp
cd google-tasks-mcp
npm install
npm run build
node dist/index.js auth # one-time
node dist/index.js # stdio serverOne TypeScript file, ~450 lines: src/index.ts.
License
Available Tools
13 toolscomplete_taskA
Mark a task completed (shorthand for update_task with status=completed).
Inputs: task (required), tasklist (required).
create_taskA
Create a task. Due dates are DATE-ONLY in Google Tasks (any time portion is discarded); pass YYYY-MM-DD and it is normalized safely.
Inputs: title (required), tasklist (required), due, notes, +2 more.
create_tasklistB
Create a new task list. Emoji in titles render fine in the Google Tasks apps.
Inputs: title (required).
delete_taskC
Delete a single task.
Inputs: task (required), tasklist (required).
delete_tasklistA
Delete a task list AND all tasks in it. Irreversible: confirm intent before calling.
Inputs: tasklist (required).
diff_tasksA
Harvest every change since a timestamp: returns tasks updated after since, grouped per list into completed / active / deleted. Queries with showCompleted+showHidden+showDeleted so completions made in the Google Tasks apps (which become hidden) are not missed. Omit tasklist to sweep every list. The API has no sync tokens; keep your own snapshot and pass its timestamp as since.
Inputs: since (required), tasklist.
get_taskC
Get a single task by id.
Inputs: task (required), tasklist (required).
get_tasklistB
Get a single task list by id.
Inputs: tasklist (required).
list_tasklistsA
List all of the user's task lists (id, title, updated).
Inputs: no named parameters.
list_tasksA
List tasks in a task list. By default returns only active (needsAction) tasks; set the show* flags for completed/hidden/deleted ones. Note: tasks completed in the Google Tasks apps become hidden, so harvesting completions needs showCompleted AND showHidden.
Inputs: tasklist (required), dueMax, dueMin, showHidden, +3 more.
move_taskA
Reorder a task (position is read-only; this is the only way to reorder), re-parent it as a subtask, or move it to another list via destinationTasklist.
Inputs: task (required), tasklist (required), parent, previous, +1 more.
update_taskA
Update a task's title, notes, due date, or status (needsAction | completed).
Inputs: task (required), tasklist (required), due, notes, +2 more.
update_tasklistB
Rename a task list.
Inputs: title (required), tasklist (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 13 tools
Each tool targets a distinct resource and action. Even complete_task is clearly described as a shorthand for update_task, so no ambiguity. All tools have clear boundaries.
All tools follow a consistent verb_noun pattern in snake_case (e.g., list_tasklists, create_task, delete_task). No mixing of conventions or inconsistent verb styles.
13 tools is well-scoped for a task management domain, covering CRUD for tasklists and tasks, plus specialized actions like complete, move, and diff. Each tool earns its place.
The tool set provides complete lifecycle coverage: CRUD for tasklists and tasks, marking complete, reordering, subtask creation, and a sync mechanism via diff_tasks. No obvious gaps for the domain.
Related MCP Connectors
Official Todoist MCP server. Manage tasks and projects. Hosted, no API key needed.
A MCP server that works with Google Calendar to manage event listing, reading, and updates.
Local-first task manager: create, edit, and complete tasks, projects, and checklists via MCP.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceGoogle Tasks MCP Server is a local MCP server that provides AI agents with full, granular access to the Google Tasks API.1-
- AlicenseNot gradedqualityDmaintenanceMCP server for the Google Tasks API that enables AI agents to read, create, update, delete, and manage Google Tasks.72 npmMIT
- AlicenseAqualityDmaintenanceA small MCP server for read-write access to Google Tasks, Calendar, and Drive, enforcing human approval for all mutating operations.1MIT
- AlicenseNot gradedqualityCmaintenanceMCP server that connects MCP-compatible clients to Google Tasks, enabling reading, searching, creating, completing, updating, deleting, and moving tasks via 19 tools.3Apache 2.0