# gtasks-mcp [Health: Active]

**Category:** 🏢 Workplace & Productivity  
**Repository:** https://github.com/alvinjchoi/gtasks-mcp  
**GitHub Stars:** 11  
**npm Downloads (last month):** 548  
**Views:** 5  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/gtasks-mcp

## Description
Manage Google Tasks via MCP: list, search, create, update, move, and clear tasks.

## Tools
Capabilities this server exposes over MCP:

- **search** — Search for a task in Google Tasks
- **list** — List all tasks in Google Tasks
- **list_task_lists** — List all task lists in Google Tasks with their IDs and titles. Use this to discover list IDs before querying specific lists.
- **list_with_tree** — List tasks from a specific task list in tree format (matching Google Tasks UI order). Shows parent-child hierarchy with indentation, sorted by position.
- **move** — Move a task to a new position within its list or to a different list. Can reorder, indent (make subtask), or un-indent.
- **create** — Create a new task in Google Tasks
- **clear** — Clear completed tasks from a Google Tasks task list
- **delete** — Delete a task in Google Tasks
- **update** — Update a task in Google Tasks

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "gtasks-mcp": {
    "command": "npx",
    "args": ["-y","@alvincrave/gtasks-mcp"],
    "env": {
      "GOOGLE_CLIENT_ID": "",
      "GOOGLE_CLIENT_SECRET": "",
      "GOOGLE_REFRESH_TOKEN": "",
      "GTASKS_CREDENTIALS_PATH": "",
      "GTASKS_TOKEN_PATH": "",
      "GOOGLE_OAUTH_KEYS_PATH": "",
      "GOOGLE_TASKS_CREDENTIALS_PATH": ""
    }
  }
}
```

**Requires environment variables:** `GOOGLE_CLIENT_ID`, `GOOGLE_CLIENT_SECRET`, `GOOGLE_REFRESH_TOKEN`, `GTASKS_CREDENTIALS_PATH`, `GTASKS_TOKEN_PATH`, `GOOGLE_OAUTH_KEYS_PATH`, `GOOGLE_TASKS_CREDENTIALS_PATH` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What gtasks-mcp MCP server does

The gtasks-mcp MCP server lets an MCP-compatible client manage Google Tasks using natural-language requests or direct tool calls. It works with task lists and individual tasks, including operations that span multiple lists.

The server can discover task list names and IDs, list tasks from every list or a selected list, and search task titles and notes. Listing is fully paginated, so clients can retrieve more than the first 100 tasks. Task creation accepts a title and can also include notes, a due date, and a target list.

Existing tasks can be patched without replacing fields that were not supplied. The available mutations also include deletion, clearing completed tasks from a list, and changing task placement. A tree view presents parent-child relationships in position order.

## How it works

The server communicates with MCP clients and uses the Google Tasks API for task and list operations. Authentication uses OAuth2 with the Google Tasks scope.

The `move` tool handles several placement changes: reordering a task, nesting it under a parent, removing that nesting, or transferring it to another list. The `list_with_tree` tool is intended for inspecting one list's hierarchy. Calls that operate on a particular list can receive its `taskListId`.

## Setup and configuration

For a quick client configuration, run the published package with `npx -y @alvincrave/gtasks-mcp`. A global npm installation and a source build are also documented. Docker usage is supported through the repository's Dockerfile and the same Google authentication environment variables.

Before authenticating, create a Google Cloud project, enable the Google Tasks API, and create OAuth 2.0 desktop credentials. For environment-based setup, configure `GOOGLE_CLIENT_ID`, `GOOGLE_CLIENT_SECRET`, and `GOOGLE_REFRESH_TOKEN` in the MCP client's server definition.

File-based authentication uses `GTASKS_CREDENTIALS_PATH` for the OAuth client JSON and `GTASKS_TOKEN_PATH` for saved tokens. The aliases `GOOGLE_OAUTH_KEYS_PATH` and `GOOGLE_TASKS_CREDENTIALS_PATH` are also accepted. Running the built `auth` command performs the interactive login flow. Refresh tokens should be treated as secrets and kept out of source control.

## Tools and capabilities

The gtasks-mcp MCP server provides these tools:

- `search` finds tasks by title or notes, optionally within one list.
- `list` returns tasks from all lists or a selected list with pagination.
- `list_task_lists` returns task list names and IDs.
- `list_with_tree` displays one list as an ordered parent-child tree.
- `create` adds a task with a required title and optional notes, due date, and list.
- `update` changes only the fields included in the request.
- `move` reorders, nests, un-nests, or transfers tasks.
- `delete` removes a task.
- `clear` removes completed tasks from a list.

These capabilities suit task lookup, list maintenance, hierarchy management, and cross-list organization from an MCP client.

_Full upstream README: https://allmcps.com/mcp/gtasks-mcp/readme_

