Manage Google Tasks via MCP: list, search, create, update, move, and clear tasks.
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.
Registry name: io.github.alvinjchoi/gtasks-mcp
npm: @alvincrave/gtasks-mcp
list_task_lists)list_with_tree)move)authRecommended (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
git clone https://github.com/alvinjchoi/gtasks-mcp.git
cd gtasks-mcp
npm install
npm run build
https://www.googleapis.com/auth/tasks works).~/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"
}
}
}
}
gcp-oauth.keys.json).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
gcp-oauth.keys.json in the project root and use the defaults).Aliases also accepted:
| Purpose | Preferred | Alias |
|---|---|---|
| OAuth client keys | GTASKS_CREDENTIALS_PATH | GOOGLE_OAUTH_KEYS_PATH |
| Saved tokens | GTASKS_TOKEN_PATH | GOOGLE_TASKS_CREDENTIALS_PATH |
Create ~/.gtasks-credentials.json:
{
"clientId": "your_client_id",
"clientSecret": "your_client_secret",
"refreshToken": "your_refresh_token"
}
| Tool | Description |
|---|---|
search | Search tasks by title/notes. Optional taskListId. |
list | List tasks (all lists, or one via taskListId). Fully paginated. |
list_task_lists | List task list names and IDs. |
list_with_tree | Tree view for one list (parent/child, position order). |
move | Reorder, nest/un-nest, or move across lists. |
create | Create a task (title required; optional notes/due/taskListId). |
update | Patch a task (only provided fields change). |
delete | Delete a task. |
clear | Clear completed tasks from a list. |
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 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
npm install
npm run build
npm start
Auth check / interactive login:
npm run build
node dist/index.js auth
taskListId filtering, list_task_lists, list_with_tree, move, and file-based auth (#1)See CONTRIBUTORS.md.
MIT
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
npx -y @alvincrave/gtasks-mcpMerge 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-alvinjchoi-gtasks-mcp": {
"command": "npx",
"args": [
"-y",
"@alvincrave/gtasks-mcp"
]
}
}
}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 reference@alvincrave/gtasks-mcpnpmio.github.alvinjchoi/gtasks-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.