Google Tasks MCP
English | Русский
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_taskhas 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
tasksscope, 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
- What you can ask it to do
- How a task changes
- What can change
- Getting access
- Configuration
- Data, limits and background work
- Technical documentation
- Support
Quick start
You need Node.js 20+, a Google account and OAuth credentials from a Google Cloud project with the Google Tasks API enabled.
- Prepare Google OAuth access.
- Add the server to your AI app.
- Ask the read-only question above.
Codex
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
Claude Code
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 Desktop
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.
Cursor
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"
}
}
}
}
VS Code
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.
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
- Tasks live in task lists. Every account has a built-in default list, addressed by the special id
@default;create_tasklistadds more. - 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.
- Ordering and nesting change only through
move_task; the API'spositionfield is read-only. - Completing a task is reversible:
reopen_taskbrings 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
| Operation | What happens | Confirmation boundary |
|---|---|---|
| Read task lists and tasks | Reads lists, tasks and their filters | No change |
| Create a task list or a task | Adds a list or an open task | Changes Google Tasks |
| Update a task or rename a list | Changes a title, notes or due date | Changes a task |
| Move a task | Changes order, nesting or the containing list | Changes a task |
| Complete or reopen a task | Toggles completion status | Reversible change |
| Clear completed tasks | Sweeps every completed task in a list out of view | Destructive |
| Delete a task or a task list | Removes the task, or the list with everything in it | Destructive |
| Raw API request | Can call API methods without a dedicated tool | Potentially 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.
-
Create or select a Google Cloud project and enable Google Tasks API.
-
Configure the OAuth consent screen and create a Desktop app OAuth client.
-
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.
-
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
| Variable | Required | Description |
|---|---|---|
GOOGLE_TASKS_CLIENT_ID | Yes* | OAuth client ID. |
GOOGLE_TASKS_CLIENT_SECRET | Yes* | OAuth client secret. |
GOOGLE_TASKS_REFRESH_TOKEN | Yes* | OAuth refresh token. |
GOOGLE_TASKS_ACCESS_TOKEN | Yes* | Short-lived alternative to the OAuth trio. |
GOOGLE_TASKS_API_BASE | No | Google Tasks API base URL override. |
GOOGLE_TASKS_TIMEOUT_MS | No | Per-request timeout; default 60000 ms. |
GOOGLE_TASKS_MAX_RETRIES | No | Temporary-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=0to 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 and5xxerrors, while writes are not replayed after an uncertain failure — check the outcome withget_taskinstead. - There is no background polling. The server runs only when called.
list_taskssupports incremental sync through theupdated_minfilter, so an AI app with scheduled tasks can check for changes periodically without re-reading everything.
Technical documentation
- MCP capability catalog — task-oriented pages for every tool.
- All tools and inputs
- Development documentation
- Publishing documentation
- Google Tasks API reference
Support
Found a bug or need a scenario? Create an issue or write in Telegram.
You made it to the end!