google-tasks-mcp
Click on "Install 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-mcplist 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-Local-MCP-Server
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
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityBmaintenanceA Model Context Protocol (MCP) server that brings your Google Tasks into Claude and other MCP-compatible clients, enabling task and task list management through natural conversation.184MIT
- Flicense-qualityDmaintenanceGoogle Tasks MCP Server is a local MCP server that provides AI agents with full, granular access to the Google Tasks API.1
- Alicense-qualityDmaintenanceMCP server for the Google Tasks API that enables AI agents to read, create, update, delete, and manage Google Tasks.18MIT
- AlicenseAqualityBmaintenanceA small MCP server for read-write access to Google Tasks, Calendar, and Drive, enforcing human approval for all mutating operations.1MIT
Related MCP Connectors
Streamable HTTP MCP server for Google Calendar and Sheets with OAuth login.
Hosted Google Calendar MCP server for AI agents. No self-hosting or Google Cloud setup.
A MCP server built for developers enabling Git based project management with project and personal…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/justerlex/google-tasks-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server