google-tasks-mcp
This server lets you manage Google Tasks through any MCP client using the official Google Tasks API.
List task lists – show every list with a short alias and real id
List tasks – view tasks by list and/or due-date range, filtered by open/completed/all
Search tasks – find tasks by case-insensitive substring match on titles and notes
Get task – retrieve full details for one task, including notes and links
Create tasks – add a single task or several at once, with notes, due dates, and subtasks
Update tasks – change title, notes, or due date; clear a due date
Complete/reopen tasks – mark tasks done or not done, safely repeatable
Move tasks – reorder, reparent, or move tasks to another list
Delete tasks – permanently delete a task, with a guard against repeating-task series
Clear completed tasks – remove/hide completed tasks from a list
Manage task lists – create, rename, and delete task lists (deletion requires confirmation)
Support aliases – list_id can be a real id, title, or alias from list_task_lists output
Read-only mode – set GTASKS_READONLY=1 to expose only read tools
Provides tools for reading, creating, editing, completing, reordering, and deleting Google Tasks, including task lists, due dates, subtasks, and search.
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 tasks due today"
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. It uses the official Google Tasks API to read, create, edit, complete, reorder and delete your tasks.
The tool surface mirrors what a person can do in the Google Tasks app, which keeps it plain and adaptable to however you use Tasks. It works with any MCP client, including Claude Code and Claude Desktop, and anything else that speaks MCP over stdio.
npx @oskarengl/google-tasks-mcp authStatus: read and write tools are implemented and in daily use.
Setup
1. Google Cloud (one time, about 15 minutes)
You bring your own OAuth client. Your tasks and tokens never leave your machine.
Create a project at console.cloud.google.com.
Enable the Google Tasks API (APIs & Services, then Library, then "Google Tasks API", then Enable).
Configure the OAuth consent screen: user type External, add the scope
https://www.googleapis.com/auth/tasks, and add yourself as a test user.Set the publishing status to "In production." You will see an "unverified app" warning once when you authorize, which you can click through. If you leave the status at Testing, Google revokes your refresh token every 7 days and the server will appear to break for no reason.
Credentials, then Create credentials, then OAuth client ID, with application type Desktop app.
Download the JSON and save it as:
Windows:
%APPDATA%\google-tasks-mcp\gcp-oauth.keys.jsonmacOS/Linux:
~/.config/google-tasks-mcp/gcp-oauth.keys.json
Or put it anywhere and set
GTASKS_CREDENTIALS_PATH.
2. Authorize
npx @oskarengl/google-tasks-mcp authThat opens your browser once, completes a loopback and PKCE flow, and writes a refresh token to
%APPDATA%\google-tasks-mcp\tokens.json (or ~/.config/google-tasks-mcp/tokens.json). The token
is never logged, and it stays on your machine.
3. Connect a client
For Claude Code:
claude mcp add google-tasks -- npx -y @oskarengl/google-tasks-mcp serveFor Claude Desktop, add this to claude_desktop_config.json:
{
"mcpServers": {
"google-tasks": {
"command": "npx",
"args": ["-y", "@oskarengl/google-tasks-mcp", "serve"]
}
}
}On Windows, if your client cannot find a bare npx, give the full path to node.exe and to the
installed dist/index.js instead.
Related MCP server: google-tasks-mcp
Tools
Reading
Tool | Purpose |
| Every list, with a short alias and the real id |
| Tasks by list and/or due-date range; |
| Substring match over titles and notes |
| Full detail for one task, including notes and links |
Writing
Tool | Purpose |
| Add a task; supports notes, due date, subtasks |
| Change title, notes or due date. Patch-only, so untouched fields survive |
| Tick off or reopen |
| Reorder, reparent, or move to another list |
| Permanent. Guards against repeating-task series |
| Clear out the completed tasks in a list |
| Manage lists; deletion requires |
Set GTASKS_READONLY=1 to run with the read-only Google scope. The write tools are then not
registered at all.
list_id accepts a real id, the list title, or the alias shown by list_task_lists, so a handle
copied from earlier output resolves without another lookup.
Environment variables
Variable | Purpose |
| Path to the Desktop-app OAuth client JSON |
| Path to the stored token file |
| Request |
| Timezone used to decide what "today" means. Defaults to the host's |
The two path overrides let one install serve multiple Google accounts.
What the API allows
These are properties of the Google Tasks API itself, and they shape how the server behaves.
Repeating tasks are not available. The API has no recurrence field. Repeating tasks created in the Google Tasks app work normally and roll forward on Google's side, but through the API they appear as ordinary one-off tasks, and a repeat cannot be set. This affects every third-party Google Tasks integration equally.
Because repeats are invisible, deleting one instance through the API
can delete the entire series. delete_task
guards against this by refusing when another task in the same list has the exact same title, which
is the only available hint. Pass force: true to override.
Due dates are calendar dates. The API discards the time portion, so a due time can be neither set nor read.
Other constraints handled internally: results are paginated (maxResults defaults to 20 and
caps at 100), updates use patch rather than update so untouched fields survive, and completed
tasks become hidden, so reading them needs include set to completed or all. There is no
search endpoint, so search_tasks filters client-side.
Developing
git clone https://github.com/oskarengl/google-tasks-mcp.git
cd google-tasks-mcp
npm install # builds dist automatically
npm test # 89 unit tests, no network
npm run smoke # launches the built server over stdio and calls every read toolnpm run smoke reads from your real account but never writes.
Contact
Bug reports and feature requests are best filed as issues, so the answer is there for the next person. For anything you would rather not put in public, email oskar.engl@gmx.de.
License
MIT
Available Tools
14 toolsclear_completedClear completed tasksBDestructiveIdempotent
Hide every completed task in a list. They remain retrievable with include="all" but disappear from the Google Tasks UI.
Inputs: list_id (required).
complete_tasksComplete tasksAIdempotent
Mark one or more tasks done. This is the most common write by a wide margin — prefer it over update_task for finishing things. Safe to repeat.
Inputs: list_id (required), task_ids (required).
create_taskCreate taskA
Add a task. Omit list_id for the default list. due is a calendar date (YYYY-MM-DD); resolve relative dates like "Thursday" yourself before calling. parent_id makes it a subtask; previous_id places it after a given sibling.
Inputs: title (required), due, notes, list_id, +2 more.
create_task_listCreate task listC
Create a new task list.
Inputs: title (required).
create_tasksCreate several tasksA
Add several tasks at once. Use this instead of repeated create_task calls when the user lists multiple things. Each entry may target a different list.
Inputs: tasks (required).
delete_taskDelete taskADestructiveIdempotent
Permanently delete a task. This cannot be undone. If the task looks like an instance of a repeating task, this refuses unless force=true, because deleting one instance through the API can delete the whole series. Prefer complete_tasks for finished work.
Inputs: list_id (required), task_id (required), force.
delete_task_listDelete task listADestructiveIdempotent
Permanently delete a task list and every task in it. This cannot be undone. Requires confirm=true.
Inputs: confirm (required), list_id (required).
get_taskGet taskARead-only
Full detail for one task, including notes, links and subtask parent.
Inputs: list_id (required), task_id (required).
list_task_listsList task listsARead-only
Show every Google Tasks list on the account, with a short alias and the real id. Either can be passed as list_id to the other tools.
Inputs: no named parameters.
list_tasksList tasksARead-only
List tasks, optionally from one list and/or within a due-date range. Omit list_id to cover every list. Due dates are calendar dates (YYYY-MM-DD): the Google Tasks API cannot store or return a due time.
Inputs: max, include, list_id, due_after, +1 more.
move_taskMove taskAIdempotent
Reorder a task, make it a subtask, or move it to another list. Note that repeating tasks cannot be moved between lists.
Inputs: list_id (required), task_id (required), parent_id, previous_id, +1 more.
search_tasksSearch tasksARead-only
Find tasks whose title or notes contain the query, across every list. Case-insensitive substring match — the Google Tasks API has no search endpoint, so this filters client-side. Use it to locate a task before acting on it.
Inputs: query (required), include.
uncomplete_tasksReopen tasksAIdempotent
Mark one or more completed tasks as not done again. Safe to repeat.
Inputs: list_id (required), task_ids (required).
update_taskUpdate taskAIdempotent
Change a task's title, notes or due date. Only the fields you pass are touched — this uses patch, so omitting notes leaves existing notes intact. To remove a due date pass clear_due=true; omitting due leaves it unchanged. Cannot change parent or position — use move_task for that.
Inputs: list_id (required), task_id (required), due, notes, +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 14 tools
Each tool targets a distinct action and resource: list vs. get vs. search vs. create vs. update vs. complete vs. move vs. delete are clearly separated. The batch create_tasks and completion helpers are explicitly distinguished from their single counterparts, leaving no ambiguity.
All tools follow a consistent verb_noun snake_case pattern (list_task_lists, create_task, update_task, etc.). The plural variants like create_tasks and complete_tasks are predictable, and clear_completed is the only slight deviation but still uses a verb+noun form.
14 tools is well within the ideal 3-15 range for a domain-specific server. Each tool covers a necessary operation on tasks or task lists without unnecessary bloat or redundancy.
The surface covers the core lifecycle of tasks and lists thoroughly: create, read, update, delete, complete, move, and search. Minor gaps exist, such as no way to rename a task list or explicitly filter tasks by completion status via list_tasks, but these are workable and do not severely impact typical usage.
Maintenance
Related MCP Connectors
MCP server for Google Tasks: review, plan and tidy your tasks by asking. Deletes always ask first.
A MCP server that works with Google Calendar to manage event listing, reading, and updates.
Official Todoist MCP server. Manage tasks and projects. Hosted, no API key needed.
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-
- FlicenseNot gradedqualityDmaintenanceMCP server for the Google Tasks API that enables AI agents to read, create, update, delete, and manage Google Tasks.-
- AlicenseAqualityDmaintenanceAn MCP server for Google Tasks with full API support including task-list CRUD, task CRUD, reordering, and a diff_tasks change-harvester that detects hidden completions.1346 npmMIT
- AlicenseNot gradedqualityBmaintenanceMCP 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