Skip to main content
Glama

Google Task MCP

A local MCP server and Codex plugin for listing, creating, updating, completing, uncompleting, and deleting Google Tasks. It uses OAuth 2.0 and requests only the Google Tasks scope:

https://www.googleapis.com/auth/tasks

Requirements

  • Node.js 20 or newer

  • A Google Cloud project

  • Codex or another MCP client that supports local STDIO servers

Related MCP server: Google Tasks MCP Server

Google Cloud setup

  1. In Google Cloud Console, create or select a project.

  2. Enable Google Tasks API under APIs & Services → Library.

  3. Configure the OAuth consent screen. Add yourself as a test user while the app is in testing.

  4. Create an OAuth client ID of type Desktop app. Add http://127.0.0.1:53682/oauth2callback as an authorized redirect URI if the client configuration permits redirect-URI management.

Install dependencies

npm install
npm run check

Configure credentials

Set the following variables in the environment that launches Codex. .env.example documents the required values; the server intentionally does not load .env automatically.

GOOGLE_TASKS_CLIENT_ID
GOOGLE_TASKS_CLIENT_SECRET
GOOGLE_TASKS_REDIRECT_URI=http://127.0.0.1:53682/oauth2callback

Optionally set GOOGLE_TASKS_TOKEN_PATH to choose where the local OAuth token is stored.

Use as a Codex plugin

The repository already includes .codex-plugin/plugin.json and .mcp.json. Install it through a local Codex plugin marketplace, then restart Codex so the bundled STDIO server and tool definitions are loaded.

For development without packaging, configure the server directly in Codex using:

command: node
args: <absolute-repository-path>/server/index.js

After Codex connects, call google_tasks_get_authorization_url, open the returned URL, approve access, and call google_tasks_complete_authorization.

The refresh token is stored locally at %APPDATA%\\google-task-mcp\\token.json by default. Set GOOGLE_TASKS_TOKEN_PATH to choose a different local path. Remove that file to disconnect the account.

Tools and safety

The server provides tools to list task lists and tasks, create and update tasks, complete or uncomplete a task, and delete a task. Deletion is refused unless confirm is set to true; callers should first show the exact task being deleted. Other changes are immediately applied to Google Tasks.

OAuth authorization requires the loopback callback listener to remain running. The browser callback displays a simple success or error page and never exposes tokens in the URL or tool output.

Local testing

Run npm run check for a syntax check. OAuth/API calls require configured credentials and an interactive browser authorization.

Privacy

OAuth credentials and task data remain on the local machine except for requests sent directly to Google's APIs. Never commit .env or the generated token file. Both are excluded by .gitignore.

License

Released under the MIT License.

A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Manage Gmail end-to-end: search, read, send, draft, label, and organize threads. Automate workflow…

  • Google Docs MCP Pack — read, create, and edit Google Docs via OAuth.

  • Manage Gmail messages, threads, labels, drafts, and settings from your workflows. Send and organiz…

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zakikero/google-task-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server