google-tasks MCP Server
Read/write Google Tasks: create, update, complete, delete, move tasks and lists, with due dates.
google-tasks scores 71 (Good), licensed MIT and written in TypeScript. It installs as a local process. It declares 1 tool. Filed under Uncategorized. GitHub shows 4 stars. Package registries report about 350 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
71 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade B
71/100 for listing completeness. Lost points: 1 of 1 tools barely described, short summary.
How quality is graded
Where the 71 comes from
22 + 20 + 5 + 10 + 4 + 10 = 71. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 5 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "girmmy-google-tasks-mcp-server": { "command": "npx", "args": [ "-y", "@girmmy/google-tasks-mcp-server@1.0.3" ], "env": { "GOOGLE_TASKS_CLIENT_SECRET": "", "GOOGLE_TASKS_TOKEN_PATH": "", "GOOGLE_TASKS_OAUTH_PORT": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
GOOGLE_TASKS_CLIENT_SECRET | Optional | Path to your downloaded Google OAuth desktop-client JSON. Defaults to ~/.config/google-tasks-mcp-server/client_secret.json |
GOOGLE_TASKS_TOKEN_PATH | Optional | Path where the cached OAuth token is stored. Defaults to ~/.config/google-tasks-mcp-server/token.json |
GOOGLE_TASKS_OAUTH_PORT | Optional | Loopback port used only during the one-time authorization flow. Defaults to 53682 |
Tools1Tool docs quality grade F
All capabilitiesdue_datetimetoolCalendar reminders ( )
About
google-tasks-mcp-server
An MCP server for Google Tasks. Gives any MCP client (Claude Desktop, Claude Code, Codex, Cursor, etc.) full read/write access to your task lists and tasks: list, create, update, complete, delete, and move them, with real due dates.
There's no official Google Tasks MCP server, so this covers that. Full CRUD, OAuth installed-app auth flow (your credentials never leave your machine), TypeScript throughout.
Tools
Task lists
google_tasks_list_tasklistslist all task listsgoogle_tasks_get_tasklistget one task listgoogle_tasks_create_tasklistcreate a new task listgoogle_tasks_update_tasklistrename a task listgoogle_tasks_delete_tasklistdelete a task list and all its tasks
Tasks
google_tasks_list_taskslist tasks in a list, with due-date/updated filters and paginationgoogle_tasks_get_taskget one taskgoogle_tasks_create_taskcreate a task (optionally as a subtask, optionally positioned)google_tasks_update_taskupdate title/notes/due date/statusgoogle_tasks_complete_task/google_tasks_reopen_taskmark done / not donegoogle_tasks_delete_taskdelete a taskgoogle_tasks_move_taskreorder, re-parent, or move a task to a different listgoogle_tasks_clear_completed_tasksclear all completed tasks from a list
Every tool supports response_format: "markdown" | "json".
Calendar reminders (due_datetime)
Google Tasks has no notification mechanism: its due field is date-only and there is no reminders field. To get real alerts, google_tasks_create_task and google_tasks_update_task accept a due_datetime (full RFC 3339 timestamp with offset, e.g. 2026-12-02T20:00:00-05:00). When it's set, the server creates a linked Google Calendar event and lets Calendar do the notifying:
- Event title is
[DUE] <task title>, starting atdue_datetime(5 minutes long by default; setGOOGLE_TASKS_REMINDER_EVENT_MINUTES=0for zero-duration). - Default reminders are disabled; popups fire 24h, 12h, and 4h before (configurable, see below).
- If
dueisn't given, the task's date-onlydueis derived fromdue_datetime. - Link: the task ID is stored on the event as a private extended property (
gtasksTaskId), so there's no sidecar file; events are found again with a filteredevents.list. - Idempotent: updating a task that already has an event patches that event instead of creating another. Changing a task's title/notes also updates the event.
- Cleanup: completing a task (
google_tasks_complete_task, orupdate_taskwithstatus: "completed"), deleting it, or passingdue_datetime: nulldeletes the event. Reopening a task doesn't recreate it; callupdate_taskwithdue_datetimeagain. - Failures never fail the task. If the Calendar write fails, the task is still created/updated, the error is logged to stderr, and the tool result includes a
reminder.warning.
Not covered: deleting a whole task list, or clear_completed_tasks on tasks whose events weren't removed earlier, leaves their reminder events behind.
Upgrading: re-authorize once
Reminders need the https://www.googleapis.com/auth/calendar.events scope, which tokens issued by earlier versions don't have. After upgrading:
- Enable the Google Calendar API in your Cloud project (APIs & Services → Library).
- Re-run
google-tasks-mcp-auth(ornpm run auth) once. The consent screen will now ask for Calendar access too. The server picks up the new token without a restart.
Until you do, task operations keep working; only reminder creation fails (with a warning telling you to re-authorize). If you never use due_datetime, no Calendar calls are made.
Quick start
From npm:
npm install -g @girmmy/google-tasks-mcp-server
Or don't install it at all and let your MCP client run it via npx (see step 4).
Or from source:
git clone https://github.com/girmmy/google-tasks-mcp-server.git
cd google-tasks-mcp-server
npm install
npm run build
Either way, follow Setup below to create your own Google OAuth credentials and authorize. There's no shared or hosted version of this, it talks directly to your own Google account.
Setup
1. Create a Google Cloud OAuth client
Each user needs their own OAuth client. It's not something that can be shared, since anyone using your client secret could impersonate your app (though they'd still need each individual user's own consent).
- Go to the Google Cloud Console, create (or pick) a project.
- APIs & Services → Library → enable the Google Tasks API.
- APIs & Services → OAuth consent screen (Google now calls this "Google Auth Platform"):
- User type: External is fine for personal use.
- Fill in app name and your email for support/contact.
- Under Audience → Test users, add your own Google account. While the app is in "Testing" status only listed test users can authorize it, which is fine for running this yourself.
- Clients → Create Client → Application type Desktop app. Create it.
- Grab the client ID and client secret, either via "Download JSON" right after creation or from the client's detail page later. Google's console won't show a secret's plaintext again once you navigate away, only download or regenerate it, so if you lose it just add a new secret instead of hunting for the old one.
- Save that file. By default this server looks for it at:
~/.config/google-tasks-mcp-server/client_secret.json(override the path with theGOOGLE_TASKS_CLIENT_SECRETenv var, useful if you'd rather keep it inside the project directory, e.g../credentials/client_secret.json.credentials/is already gitignored.)
The file should look like:
{
"installed": {
"client_id": "YOUR_CLIENT_ID.apps.googleusercontent.com",
"client_secret": "YOUR_CLIENT_SECRET",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://oauth2.googleapis.com/token",
"redirect_uris": ["http://localhost"]
}
}
2. Install
From npm (nothing to build):
npm install -g @girmmy/google-tasks-mcp-server
From source:
npm install
npm run build
3. Authorize (one-time)
If you installed from npm:
google-tasks-mcp-auth
# or without installing anything:
npx -y -p @girmmy/google-tasks-mcp-server google-tasks-mcp-auth
From source:
npm run auth
# or, if your client secret lives at a custom path:
GOOGLE_TASKS_CLIENT_SECRET=./credentials/client_secret.json npm run auth
This prints a Google consent URL and tries to open it in your default browser. Sign in, grant access, and it redirects back to a short-lived local server on http://localhost:53682. The token gets cached to ~/.config/google-tasks-mcp-server/token.json (override with GOOGLE_TASKS_TOKEN_PATH) and refreshed automatically from then on, so you shouldn't need to run this again unless you revoke access.
Run this on the same machine and in the same regular terminal you'll actually use day to day. See Troubleshooting below if you're running it from a container, VM, or sandboxed shell where localhost doesn't map back to your browser.
4. Run it
npm start
Or wire it into an MCP client. For Claude Desktop / Claude Code, add to your MCP config (usually ~/Library/Application Support/Claude/claude_desktop_config.json on macOS).
Using npm, with your client secret at the default ~/.config/... path, this is the whole config:
{
"mcpServers": {
"google-tasks": {
"command": "npx",
"args": ["-y", "@girmmy/google-tasks-mcp-server"]
}
}
}
Or pointing at a source checkout:
{
"mcpServers": {
"google-tasks": {
"command": "node",
"args": ["/absolute/path/to/google-tasks-mcp-server/dist/index.js"],
"env": {
"GOOGLE_TASKS_CLIENT_SECRET": "/absolute/path/to/google-tasks-mcp-server/credentials/client_secret.json"
}
}
}
}
Omit the env block if you saved your client secret at the default ~/.config/... path. Fully quit and reopen your MCP client afterward.
Codex
Codex uses TOML rather than JSON. Add this to ~/.codex/config.toml:
[mcp_servers.google-tasks]
command = "npx"
args = ["-y", "@girmmy/google-tasks-mcp-server"]
startup_timeout_sec = 60
Or let the CLI write it for you:
codex mcp add google-tasks -- npx -y @girmmy/google-tasks-mcp-server
Raise startup_timeout_sec if the first launch times out. A cold npx downloads the
package before the server can answer initialize, and Codex's default allowance is short
enough that this sometimes trips on the first run only.
If your client secret isn't at the default path, add:
[mcp_servers.google-tasks.env]
GOOGLE_TASKS_CLIENT_SECRET = "/absolute/path/to/client_secret.json"
Check it registered with codex mcp list. Authorization is the same one-time
google-tasks-mcp-auth step as everywhere else — run it in a normal terminal, not inside
Codex, since it needs to open a browser and catch a loopback redirect.
Environment variables
| Variable | Default | Purpose |
|---|---|---|
GOOGLE_TASKS_CLIENT_SECRET | ~/.config/google-tasks-mcp-server/client_secret.json | Path to the downloaded OAuth client JSON |
GOOGLE_TASKS_TOKEN_PATH | ~/.config/google-tasks-mcp-server/token.json | Path where the cached OAuth token is stored |
GOOGLE_TASKS_OAUTH_PORT | 53682 | Loopback port used only during npm run auth |
GOOGLE_TASKS_CALENDAR_ID | primary | Calendar that reminder events are written to (use the calendar's ID from Calendar settings → Integrate calendar, e.g. for a "School & Classes" calendar) |
GOOGLE_TASKS_REMINDER_MINUTES | 1440,720,240 | Comma-separated popup offsets in minutes before due time (max 5) |
GOOGLE_TASKS_REMINDER_EVENT_MINUTES | 5 | Reminder event length in minutes (0 = zero-duration) |
Security notes
- The client secret and cached token are plain files on disk (mode
0600for the token). Never commit them (.gitignorealready excludesclient_secret*.json,token.json,credentials/). - The server requests the full
https://www.googleapis.com/auth/tasksscope (read/write) plushttps://www.googleapis.com/auth/calendar.events(used only for reminder events). For read-only Tasks access, editTASKS_SCOPEinsrc/constants.tsto.../auth/tasks.readonlybefore runningnpm run auth. Write tools will then fail with a 403 from Google, which is expected. If you don't want Calendar access at all, removeCALENDAR_EVENTS_SCOPEfromOAUTH_SCOPESin the same file;due_datetimereminders will then just report a warning. - Tool annotations mark deletion/clear operations as
destructiveHint: trueso MCP clients can warn or gate on them. - Nothing here talks to any server but Google's own APIs and, during
npm run auth, a local loopback listener. No third-party backend involved.
Troubleshooting
npm run auth opens a URL, I click Allow, and it just hangs.
The process running npm run auth isn't on the same machine/network as the browser you're clicking Allow in. Common if you're running the server inside a container, remote dev environment, or sandboxed shell that isolates localhost. Fix: run npm run auth directly in a normal local terminal on the machine whose browser you're using.
Error [TransformError] ... You installed esbuild for another platform
Your node_modules was installed on a different OS/architecture than you're running on now, e.g. copied from a Docker container or a different machine. Fix: rm -rf node_modules package-lock.json && npm install.
Authorization failed: invalid_client
Your client_secret.json has the wrong client secret in it, usually from copy-pasting it by hand instead of downloading it directly. Go back to Google Cloud Console, add a fresh client secret, download or copy it directly, and update your client_secret.json.
Server exits immediately with "No cached Google Tasks token found"
You haven't authorized yet, or the flow didn't finish. Run google-tasks-mcp-auth (npm install) or npm run auth (source checkout) before starting the server.
Development
npm run dev # run directly from TypeScript with auto-reload
npm run build # type-check and compile to dist/
Test with the MCP Inspector:
npx @modelcontextprotocol/inspector node dist/index.js
Contributing
Issues and PRs welcome. This covers the full Tasks API surface but hasn't been tested across every edge case, so if you hit a bug or want a feature, open an issue.
License
MIT, see LICENSE.
Frequently asked questions
What is google-tasks MCP Server?
Read/write Google Tasks: create, update, complete, delete, move tasks and lists, with due dates.
How do I install google-tasks MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. google-tasks MCP Server runs locally from the npm package @girmmy/google-tasks-mcp-server with the command npx -y @girmmy/google-tasks-mcp-server@1.0.3.
Is google-tasks MCP Server free and open source?
Yes. google-tasks MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does google-tasks MCP Server support remote (HTTP) connections?
No remote endpoint is listed for google-tasks MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does google-tasks MCP Server provide?
google-tasks MCP Server provides 1 tool: due_datetime. See the full tool list for descriptions and parameters.
How is google-tasks MCP Server's trust score calculated?
google-tasks MCP Server scores 71 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.