PluginBench
MCP Server
Maintained
MIT

io.github.alvinjchoi/gtasks-mcp MCP Server

io.github.alvinjchoi/gtasks-mcp

Manage Google Tasks via MCP with list, search, create, update, move, and clear operations.

What is the io.github.alvinjchoi/gtasks-mcp MCP server?

The Google Tasks MCP server is a Model Context Protocol server that enables Claude and other MCP clients to manage Google Tasks through natural language. It supports listing, searching, creating, updating, deleting, and organizing tasks across multiple task lists with full pagination and hierarchy support.

This server integrates Google Tasks into your AI workflow, allowing you to view task lists, search for specific tasks, create and update tasks with due dates and notes, organize tasks hierarchically, and manage task completion. Use it to keep your task management synchronized with Claude conversations without leaving your MCP client.

How to install io.github.alvinjchoi/gtasks-mcp

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • GOOGLE_CLIENT_ID
    required

    Google OAuth client ID

  • GOOGLE_CLIENT_SECRET
    required
    secret

    Google OAuth client secret

  • GOOGLE_REFRESH_TOKEN
    required
    secret

    Google OAuth refresh token with Tasks scope

~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "gtasks-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@alvincrave/gtasks-mcp"
      ],
      "env": {
        "GOOGLE_CLIENT_ID": "<YOUR_GOOGLE_CLIENT_ID>",
        "GOOGLE_CLIENT_SECRET": "<YOUR_GOOGLE_CLIENT_SECRET>",
        "GOOGLE_REFRESH_TOKEN": "<YOUR_GOOGLE_REFRESH_TOKEN>"
      }
    }
  }
}

Tools & capabilities

Tools this server exposes to the agent.

  • search — Search tasks by title or notes, optionally scoped to a specific task list.
  • list — List all tasks across lists or from a specific task list, with full pagination support.
  • list_task_lists — Discover and list all task list names and IDs.
  • list_with_tree — Display a task list in tree view showing parent/child hierarchy and position order.
  • move — Reorder tasks, nest or un-nest tasks, or move tasks across different lists.
  • create — Create a new task with title (required) and optional notes, due date, and task list ID.
  • update — Update an existing task; only provided fields are modified.
  • delete — Delete a task from a task list.
  • clear — Clear all completed tasks from a task list.

Use cases

  • Search and filter your Google Tasks by keywords to find specific action items
  • Create new tasks with due dates and notes directly from Claude conversations
  • Organize tasks hierarchically by nesting subtasks under parent tasks
  • Move tasks between different task lists to reorganize your workflow
  • Clear completed tasks from a list to keep your task lists clean and focused

io.github.alvinjchoi/gtasks-mcp MCP server FAQ

What is the Google Tasks MCP server?

It's an MCP server that connects Claude to Google Tasks, allowing you to list, search, create, update, delete, and organize tasks through natural language commands.

Is it free to use?

Yes, the server itself is free and open-source (MIT license). You need a Google Cloud project with the Google Tasks API enabled and OAuth credentials, which are free to set up.

How do I install it in Claude Desktop?

Run `npx -y @alvincrave/gtasks-mcp` or add it to your Claude Desktop config at `~/Library/Application Support/Claude/claude_desktop_config.json` with your Google OAuth credentials as environment variables.

What authentication methods are supported?

Three options: environment variables (GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET, GOOGLE_REFRESH_TOKEN), credential files (GTASKS_CREDENTIALS_PATH and GTASKS_TOKEN_PATH), or a home config file at ~/.gtasks-credentials.json.

Can I manage multiple task lists?

Yes, the server supports multi-list operations. You can list all task lists, search across all lists or filter by a specific task list ID, and move tasks between lists.

Does it support task hierarchies?

Yes, you can view parent/child task relationships with the `list_with_tree` tool and nest or un-nest tasks using the `move` tool.

README (reference)

Source of truth, from the repository.

Google Tasks MCP Server

A Model Context Protocol (MCP) server for Google Tasks. Manage task lists and tasks through natural language in Claude Desktop and other MCP clients.

Forked from zcaceres/gtasks-mcp with stronger auth options, multi-list support, pagination, and hierarchy tools.

image npm version MCP Registry License: MIT

Registry name: io.github.alvinjchoi/gtasks-mcp
npm: @alvincrave/gtasks-mcp

Features

  • List and search tasks (optionally scoped to one task list)
  • Paginate through all tasks (no silent 100-task cap)
  • Create, update, delete, and clear completed tasks
  • Discover task lists (list_task_lists)
  • View parent/child hierarchy (list_with_tree)
  • Reorder, nest, or move tasks across lists (move)
  • OAuth2 auth via env vars, credential files, or interactive auth
  • Docker support

Installation

Recommended (Claude Desktop / any MCP client) — runs the latest published npm package:

npx -y @alvincrave/gtasks-mcp

Or install globally:

npm install -g @alvincrave/gtasks-mcp

From source

git clone https://github.com/alvinjchoi/gtasks-mcp.git
cd gtasks-mcp
npm install
npm run build

Setup

Option A — Environment variables (Claude Desktop)

  1. Create a Google Cloud project and enable the Google Tasks API.
  2. Create OAuth 2.0 Desktop credentials and obtain a refresh token (OAuth Playground with scope https://www.googleapis.com/auth/tasks works).
  3. Configure Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
  "mcpServers": {
    "gtasks": {
      "command": "npx",
      "args": ["-y", "@alvincrave/gtasks-mcp"],
      "env": {
        "GOOGLE_CLIENT_ID": "your_client_id_here",
        "GOOGLE_CLIENT_SECRET": "your_client_secret_here",
        "GOOGLE_REFRESH_TOKEN": "your_refresh_token_here"
      }
    }
  }
}

Option B — Credential files (local / shared with other Google MCP servers)

  1. Download your OAuth client JSON (gcp-oauth.keys.json).
  2. Authenticate once:
export GTASKS_CREDENTIALS_PATH=/path/to/gcp-oauth.keys.json
export GTASKS_TOKEN_PATH=/path/to/.gtasks-server-credentials.json
node dist/index.js auth
  1. Run the server with the same env vars set (or place gcp-oauth.keys.json in the project root and use the defaults).

Aliases also accepted:

PurposePreferredAlias
OAuth client keysGTASKS_CREDENTIALS_PATHGOOGLE_OAUTH_KEYS_PATH
Saved tokensGTASKS_TOKEN_PATHGOOGLE_TASKS_CREDENTIALS_PATH

Option C — Home config file

Create ~/.gtasks-credentials.json:

{
  "clientId": "your_client_id",
  "clientSecret": "your_client_secret",
  "refreshToken": "your_refresh_token"
}

Tools

ToolDescription
searchSearch tasks by title/notes. Optional taskListId.
listList tasks (all lists, or one via taskListId). Fully paginated.
list_task_listsList task list names and IDs.
list_with_treeTree view for one list (parent/child, position order).
moveReorder, nest/un-nest, or move across lists.
createCreate a task (title required; optional notes/due/taskListId).
updatePatch a task (only provided fields change).
deleteDelete a task.
clearClear completed tasks from a list.

Usage examples

show my task lists
list tasks in list <id>
search for tasks containing "meeting"
create a task named "Prepare presentation" due 2026-07-20
show the task tree for list <id>
move task <id> under parent <parentId>
mark task <id> completed

Docker

docker build -t gtasks-mcp .
docker run -i \
  -e GOOGLE_CLIENT_ID=your_client_id \
  -e GOOGLE_CLIENT_SECRET=your_client_secret \
  -e GOOGLE_REFRESH_TOKEN=your_refresh_token \
  gtasks-mcp

Development

npm install
npm run build
npm start

Auth check / interactive login:

npm run build
node dist/index.js auth

Security Notes

  • Treat refresh tokens like passwords
  • Prefer env vars or ignored credential files — never commit them
  • Rotate credentials if they leak

Contributors

  • ArtyMcLabin — pagination, taskListId filtering, list_task_lists, list_with_tree, move, and file-based auth (#1)
  • zcaceres — original Google Tasks MCP server
  • alvinjchoi — fork maintenance, Smithery/npm packaging

See CONTRIBUTORS.md.

License

MIT

Related MCP servers

Agent identity and memory over MCP — a persistent self plus the procedures for tending it.

0
Python
Apache-2.0
View repository →
LULuma Events logo

Discover events from Luma — search by category, city, distance, and keywords with calendar export

0
Python
MIT
View repository →

Control ProPresenter 7 presentations via Claude with 231 API endpoints across 27 functional groups.

12
TypeScript
MIT
View repository →

MCP server for downloading, uploading, and deleting Jira Cloud attachments by ID.

0
Python
MIT
View repository →
CLClickHouse logo

Read-only MCP server for ClickHouse metadata, parameterized queries, and plan analysis.

0
Python
MIT
View repository →

Local RAG MCP for markdown documentation. Retrieval only; host synthesizes answers.

0
Python
MIT
View repository →