Gtasks Mcp

io.github.alvinjchoi由 GitHub 帳號 alvinjchoi 發布v0.2.0更新於 Oct 27, 2026

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

已驗證STDIO僅桌面效率與工作流檔案與儲存

概覽

AI 產生的概覽

本機 MCP 伺服器,讓助理讀取與管理 Google Tasks:列出、搜尋、建立、更新、移動和清除任務。

可以做什麼
  • 列出與搜尋任務,可限定在單一任務清單,並完整分頁
  • 探索任務清單,以樹狀順序檢視父子層級
  • 建立、更新與刪除任務,並清除清單中已完成的任務
  • 重新排序、巢狀化、取消巢狀化或在清單之間移動任務
適用情境
適合想在 Claude Desktop 等桌面 MCP 用戶端中讓助理操作 Google Tasks 的情境,例如檢視待辦事項、在對話中新增任務,或整理清單與子任務。
執行需求
透過 npx 或全域 npm 安裝在本機執行(需要 Node.js)。需要已啟用 Google Tasks API 的 Google Cloud 專案與 OAuth 2.0 桌面憑證,透過 GOOGLE_CLIENT_ID、GOOGLE_CLIENT_SECRET 和 GOOGLE_REFRESH_TOKEN 提供,也可使用憑證檔案或家目錄設定檔。僅限桌面端。
安裝前請注意
需要 Google OAuth 用戶端密鑰與具備 Tasks 權限範圍的更新權杖;README 建議將更新權杖視同密碼,不要提交到版本庫,外洩時應輪換。助理可以建立、修改、移動、刪除任務並清除已完成任務,會改動真實的 Google Tasks 資料。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Gtasks Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

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.

[圖片] [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:

bash
npx -y @alvincrave/gtasks-mcp

Or install globally:

bash
npm install -g @alvincrave/gtasks-mcp

From source

bash
git clone https://github.com/alvinjchoi/gtasks-mcp.gitcd gtasks-mcpnpm installnpm 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):
json
{  "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:
bash
export GTASKS_CREDENTIALS_PATH=/path/to/gcp-oauth.keys.jsonexport GTASKS_TOKEN_PATH=/path/to/.gtasks-server-credentials.jsonnode 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:

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 listslist tasks in list <id>search for tasks containing "meeting"create a task named "Prepare presentation" due 2026-07-20show the task tree for list <id>move task <id> under parent <parentId>mark task <id> completed

Docker

bash
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

bash
npm installnpm run buildnpm start

Auth check / interactive login:

bash
npm run buildnode 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

來源:README.md,提交 d88254c

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.2.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分