google-tasks-mcp
This MCP server lets Claude read and manage a user's Google Tasks task lists and tasks.
List task lists (paginated) and create or delete lists; deletion is destructive and requires user confirmation.
List tasks in a list with filters for completed state and due/completed date ranges, and get a single task's details.
Create tasks with a title, notes, day-only due date, and optional parent task for subtasks.
Update a task's title, notes, due date, or status; clear due dates/notes with null and reopen completed tasks.
Mark tasks complete or delete tasks and their subtasks; task deletion is destructive and requires user confirmation.
Return markdown or JSON responses, with list_id defaulting to @default.
Reads and manages Google Tasks via the Google Tasks API v1: list, create, and delete task lists; list (with filtering by completed state and due/completed date range, paginated), get, create, update (title, notes, due date, status, including clearing fields or reopening), complete, and delete tasks; supports subtasks via an optional parent and returns markdown or JSON.
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 incomplete tasks due this week"
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
A local MCP server that lets Claude read and manage your Google Tasks. TypeScript, MCP SDK v2, stdio transport, Google Tasks API v1. No third-party Google libraries.
Tools
Tool | What it does |
| List your task lists |
| Get one list |
| Create a list |
| Rename a list |
| Delete a list and all its tasks (destructive, needs |
| List tasks; filter by completed state and due/completed date range; paginated |
| Get one task |
| Overdue, due today and upcoming tasks from all lists |
| Find tasks by text in the title or notes (one list or all) |
| Create a task (title, notes, due date, optional parent) |
| Change title, notes, due date or status (can clear due/notes with |
| Mark a task as done |
| Reorder, make a subtask, or move to another list |
| Hide completed tasks in a list (needs |
| Delete a task (destructive, needs |
All tools take response_format (markdown default, or json). list_id defaults to @default (your main list) and accepts a list ID or its exact title (e.g. "Work").
Google Tasks limits: due holds a day only (no time of day), there are no timed reminders, and tasks cannot be assigned to other people.
Related MCP server: Google Tasks MCP Server
Options (environment variables)
Variable | Effect |
| Asks Google for read-only access and registers no tool that changes data. Run |
| IANA zone (e.g. |
| Folder for |
Setup
Requires Node 20.3+.
npm install
npm run build1. Create the Google OAuth client (one time, ~5 min)
Open https://console.cloud.google.com/ and create a project (e.g.
google-tasks-mcp).APIs & Services → Library → search Google Tasks API → Enable.
APIs & Services → OAuth consent screen (or Google Auth platform):
User type External, fill app name and your email.
Audience / Test users: add your own Google account. (Leave the app in Testing; for a single user that is fine. Note that in Testing mode Google expires refresh tokens after 7 days. To avoid that, click Publish app; an unverified personal app still works for you, with a warning screen.)
Scopes: add
https://www.googleapis.com/auth/tasks.
APIs & Services → Credentials → Create credentials → OAuth client ID → application type Desktop app.
Download JSON and save it as:
Windows:
%USERPROFILE%\.google-tasks-mcp\credentials.jsonmacOS/Linux:
~/.google-tasks-mcp/credentials.json
(Override the folder with the
GOOGLE_TASKS_MCP_DIRenvironment variable.)
2. Authorize (one time)
npm run authYour browser opens on Google's consent page. The redirect comes back to a temporary 127.0.0.1 port on your machine, and the tokens are saved to ~/.google-tasks-mcp/token.json. Nothing is pasted into a chat or a prompt, and the tokens never live inside this repository (.gitignore also blocks credentials.json and token.json just in case).
To revoke access: https://myaccount.google.com/permissions.
3. Verify end to end
npm run smokeCreates a throwaway list in your account, exercises every tool, then deletes the list.
Connect to Claude
Claude Code (local, stdio)
claude mcp add google-tasks --scope user -- node /absolute/path/to/google_tasks_mcp/dist/index.jsOn Windows use the full path, e.g. node C:\Users\you\Documents\proyectos\google_tasks_mcp\dist\index.js.
Check with claude mcp list.
Claude Desktop (local, stdio)
Add to claude_desktop_config.json:
{
"mcpServers": {
"google-tasks": {
"command": "node",
"args": ["C:\\path\\to\\google_tasks_mcp\\dist\\index.js"]
}
}
}claude.ai (web) and scheduled/cloud runs
claude.ai custom connectors only accept remote MCP servers, so this local stdio server cannot be added there directly. The options:
Option | Needs |
Local (this repo): Claude Code / Claude Desktop | Nothing beyond the setup above. Tokens stay on your machine. |
Remote custom connector for claude.ai | A public HTTPS URL serving MCP over Streamable HTTP, plus an OAuth 2.1 authorization layer of your own in front of it (so claude.ai can authenticate to your server), which in turn holds the Google tokens. That means hosting, TLS, token storage, and implementing the MCP authorization flow (the SDK has |
If your automated daily summary runs locally (Claude Code or Claude Desktop on your PC), the local server is enough. Only a summary that runs in claude.ai's cloud needs the remote variant, which this repo does not implement yet.
Security notes
Scope is
https://www.googleapis.com/auth/tasks(read and write Tasks only), ortasks.readonlywithGTASKS_READONLY=1.OAuth uses the authorization-code flow with PKCE and a random
state, over a loopback redirect.Tokens are written with mode
0600outside the repo; they are never logged. Logging goes to stderr only.Deleting a list deletes its tasks; the delete and clear tools are marked
destructiveHintand refuse to run unlessconfirm: trueis passed after the user agrees.
Development
npm run dev # run from source
npm run build # compile to dist/
npx @modelcontextprotocol/inspector node dist/index.jsLicense
MIT
Available Tools
9 toolsgtasks_complete_taskComplete TaskAIdempotent
Mark a task as completed. Example: "mark the bank call as done".
Inputs: task_id (required), list_id, response_format.
gtasks_create_taskCreate TaskA
Create a task in a list.
The due date is a day only (YYYY-MM-DD); Google Tasks cannot store a time or a reminder. Example: "remind me to call the bank on 2026-11-10" -> title="Call the bank", due="2026-11-10".
Inputs: title (required), due, notes, parent, +2 more.
gtasks_create_task_listCreate Task ListB
Create a new Google Tasks list. Example: "create a list called Groceries".
Inputs: title (required), response_format.
gtasks_delete_taskDelete TaskADestructiveIdempotent
Delete a task (and its subtasks). To keep a record, use gtasks_complete_task instead. Confirm with the user first.
Inputs: task_id (required), list_id.
gtasks_delete_task_listDelete Task ListADestructiveIdempotent
Permanently delete a task list AND all the tasks in it. Cannot be undone. The default list cannot be deleted. Confirm with the user first.
Inputs: list_id (required).
gtasks_get_taskGet TaskBRead-onlyIdempotent
Get one task by ID, including notes and due date.
Inputs: task_id (required), list_id, response_format.
gtasks_list_task_listsList Task ListsARead-onlyIdempotent
List the user's Google Tasks lists (id and title).
Use the returned id as list_id in the other tools. Example: "what lists do I have?"
Inputs: limit, page_token, response_format.
gtasks_list_tasksList TasksARead-onlyIdempotent
List tasks in one list, optionally filtered by completion and due date.
By default only pending (not completed) tasks are returned. Dates are YYYY-MM-DD and inclusive. Examples:
"what is due today or overdue?" -> due_to=
"pending this week" -> due_from=, due_to=
"what did I finish this week?" -> include_completed=true, completed_from= Tasks without a due date are returned only when no due_from/due_to filter is set.
Inputs: limit, due_to, list_id, due_from, +5 more.
gtasks_update_taskUpdate TaskAIdempotent
Change a task's title, notes, due date or status. Only the fields you pass are changed.
Pass due=null to remove the due date and notes=null to clear the notes. Set status='needsAction' to reopen a completed task. To simply finish a task use gtasks_complete_task.
Inputs: task_id (required), due, notes, title, +3 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Each tool targets a distinct resource+action pair, and descriptions explicitly route overlapping cases (e.g. update_task says to use gtasks_complete_task for finishing a task, delete_task says to use complete_task to keep a record). The only real overlap is that update_task can set status, which duplicates complete_task, but the descriptions handle it well.
Every tool follows the same gtasks_<verb>_<noun> snake_case pattern (create/delete/list/get/update/complete). No style mixing or inconsistent verb conventions.
Nine tools cleanly cover the domain: three for lists, six for tasks. Each tool earns its place with no redundant or filler operations.
Full lifecycle coverage for tasks (create, get, list, update, complete, delete) and near-full for lists (create, list, delete). Minor gaps: no way to rename a task list, and no explicit tools for subtasks, moving/reordering tasks, or clearing completed tasks, though most can be worked around.
Maintenance
Related MCP Connectors
Read and write your own Microsoft To Do, Google Tasks or Todoist tasks from any AI agent.
1MCP server for Google Tasks: review, plan and tidy your tasks by asking. Deletes always ask first.
Lets Claude, ChatGPT, and Muse read and update your beckett tasks, notes, calendar, and lists.
Task management for people and AI agents, with scoped OAuth access to issues, projects, and docs.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables LLMs like Claude to manage Google Tasks by listing, creating, updating, completing, and deleting tasks and task lists, including setting due dates and notes.MIT
- FlicenseAqualityDmaintenanceEnables managing Google Tasks (list, add, complete, delete, update) using natural language commands in Claude Code through an Apps Script webhook.6-
- FlicenseBqualityCmaintenanceConnects Claude to Google Tasks, enabling users to list, create, update, complete, reopen, and delete tasks through natural language.9-
- AlicenseNot gradedqualityCmaintenanceEnables Claude to view and manage Google Tasks, including lists, tasks, subtasks, due dates, completion, moves, and deletion, through a self-hosted Vercel deployment.1MIT