跳过安装。2 分钟内即可运行。
在 cloud.anythingmcp.com 开始免费试用,一键添加 Google Tasks,然后将你的 AI 客户端(Claude、ChatGPT、Copilot 或 Cursor)指向生成的 MCP 端点。无需 Docker,无需 git clone,无需任何工程经验。
摘要
让你的 AI 管理 Google Tasks:查看你的任务列表以及未完成或即将到期的任务,添加带截止日期的任务和子任务,更新、完成、重新排序任务或把它们移到另一个列表。与你在 Gmail、Google Calendar 和 Tasks 应用中看到的是同一批任务。支持个人 Google 账户和 Google Workspace。
试试这样问
Google Tasks 的示例提示
点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。
Claude 是 AI,可能会出错。请核对回答。
💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → Google Tasks、粘贴凭证、生成 MCP API key,即可完成。无 Docker、无
git clone、无本地服务器。
Google Tasks + ChatGPT
让你的 AI 管理 Google Tasks:查看你的任务列表以及未完成或即将到期的任务,添加带截止日期的任务和子任务,更新、完成、重新排序任务或把它们移到另一个列表。与你在 Gmail、Google Calendar 和 Tasks 应用中看到的是同一批任务。支持个人 Google 账户和 Google Workspace。
前提条件
完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:
GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET
步骤 1 — 获取凭证
- 打开 console.cloud.google.com,选择或创建一个项目,然后进入 APIs & Services → Library 启用 Google Tasks API。
- 打开 APIs & Services → OAuth consent screen。如果你使用 Google Workspace,选择 Internal(最简单),否则选择 External。选择 External 时,请把发布状态设为 In production:应用处于 Testing 状态时,Google 会在 7 天后撤销它的刷新令牌,连接器每周都会停止工作。如果只供你自己的账户使用,可以直接跳过“unverified app”警告继续。
- 打开 APIs & Services → Credentials → Create credentials → OAuth client ID,应用类型选择 Web application,并添加已授权的重定向 URI
https://cloud.anythingmcp.com/api/mcp-oauth/callback。如果你自行托管 AnythingMCP,请改填https://your-anythingmcp-host/api/mcp-oauth/callback。 - 把客户端 ID 填入
GOOGLE_CLIENT_ID,把客户端密钥填入GOOGLE_CLIENT_SECRET,然后安装连接器。 - 在连接器页面点击 Authorize with Provider,用 AI 要使用其任务的 Google 账户登录。刷新令牌会加密存储,访问令牌会自动续期。
一个 Google 客户端服务所有 Google 连接器:同一个 Cloud 项目和 OAuth 客户端可以服务所有 Google 连接器:Gmail、Google Calendar、Google Drive、Google Sheets、Google Docs、Google Tasks、Search Console、Analytics 和 Ads。在该项目中启用每个 API,复用同一个客户端 ID 和密钥,并为每个连接器各授权一次。每个连接器只请求它自己需要的权限。
须知:这些就是你在 Gmail、Google Calendar 和 Google Tasks 应用中看到的同一批任务。Google Tasks 的截止日期只保存日期,无法设置具体时间。在 Google 应用中完成的任务默认是隐藏的,需要时请明确要求查看已完成的任务。
权限:连接器请求 https://www.googleapis.com/auth/tasks:读取和修改你的任务和任务列表。
只读设置:在连接器的 OAuth 设置中把 scope 改为 https://www.googleapis.com/auth/tasks.readonly,重新授权,并停用 gtasks_create_tasklist、gtasks_create_task、gtasks_update_task、gtasks_complete_task 和 gtasks_move_task。
安装时默认关闭:gtasks_delete_task。通常你想要的是完成任务;只有在需要 AI 删除任务时才打开删除功能。
常见错误:401 表示授权已过期或被撤销(同意屏幕处于 Testing 状态时,7 天后必然发生):请再次点击 Authorize with Provider。403 accessNotConfigured 表示 Cloud 项目中没有启用 Google Tasks API。403 insufficientPermissions 表示 scope 不允许该调用(在只读设置下尝试修改)。404 表示列表或任务 ID 错误,或者该任务属于另一个列表。
连接器不会重命名或删除任务列表,不会清除已完成的任务,也不会设置重复任务。
步骤 2 — 安装 adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
步骤 3 — 在 ChatGPT 中添加连接器
你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(
https://cloud.anythingmcp.com/mcp/…)。本指南中出现YOUR_SERVER_ID的地方都用它替换。
ChatGPT 通过开发者模式(Developer mode)将 MCP 服务器作为自定义应用接入,仅付费套餐可用,免费套餐不可用。在 Business 和 Enterprise 工作区中,可能需要管理员先开启。
- 在 ChatGPT 中打开 Settings → Security and login,开启 Developer mode。
- 前往 chatgpt.com/plugins,点击 +。
- 填写名称和简短描述,例如 Name:
Google Tasks。 - 在 Connection 下填入 MCP 服务器 URL
https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID,然后创建连接。 - ChatGPT 提示时,登录 AnythingMCP(OAuth)并允许访问。
可用工具
| Tool | What it does |
|---|---|
gtasks_list_tasklists | List the user's task lists with id, title and updated time |
gtasks_create_tasklist | Create a new task list with a title |
gtasks_list_tasks | List the tasks of one list with id, title, notes, status (needsAction or completed), due date, completed time, parent (for subtasks) and… |
gtasks_get_task | Get one task with title, notes, status, due date, completed time, parent, position, links and webViewLink |
gtasks_create_task | Create a task in a list, at the top by default; with parent it becomes a subtask, with previous it goes after that sibling |
gtasks_update_task | Change a task: only the fields given are changed. status "completed" marks it done, "needsAction" reopens it |
gtasks_complete_task | Mark a task as completed (Google sets the completed time) |
gtasks_move_task | Move a task: make it a subtask (parent), reorder it after a sibling (previous), move it to the top level (neither), or to another list… |
gtasks_delete_task | Delete a task (its subtasks go with it) |
示例提示
- “这周有哪些任务到期?”
- “在“我的任务”中添加任务“发送第三季度报告”,截止日期为周五,并添加“收集数据”和“撰写总结”两个子任务。”
- “把“订机票”这个任务标记为已完成。”
- “把“收件箱”列表中所有未完成的任务移到“Alpha 项目”。”
FAQ
ChatGPT 免费套餐能用自定义 MCP 连接器吗? 不能。自定义 MCP 连接需要开发者模式,只有付费套餐提供。
下一步
这份指南对你有帮助吗?