MCP server for the Google Tasks API: task lists, subtasks, due dates, complete and move tasks.
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.
complete_task has an undo (reopen_task); the delete tools are separate and marked destructive.tasks scope, 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
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.
You need Node.js 20+, a Google account and OAuth credentials from a Google Cloud project with the Google Tasks API enabled.
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 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
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.
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"
}
}
}
}
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.
@default; create_tasklist adds more.move_task; the API's position field is read-only.reopen_task brings 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.
| 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.
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.
| 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.
ASKADS_TELEMETRY=0 to opt out.429, the server uses backoff; reads also retry after network and 5xx errors, while writes are not replayed after an uncertain failure — check the outcome with get_task instead.list_tasks supports incremental sync through the updated_min filter, so an AI app with scheduled tasks can check for changes periodically without re-reading everything.Found a bug or need a scenario? Create an issue or write in Telegram.
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
npx -y mcp-google-tasksMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"io-github-a1-x-tech-mcp-google-tasks": {
"command": "npx",
"args": [
"-y",
"mcp-google-tasks"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup referenceGoogle Tasks MCP works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.