跳过安装。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 + Microsoft Copilot
让你的 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 — 在 Microsoft Copilot 中添加连接器
你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(
https://cloud.anythingmcp.com/mcp/…)。本指南中出现YOUR_SERVER_ID的地方都用它替换。
Microsoft Copilot 通过在 Copilot Studio 中构建的智能体使用 MCP 服务器:把 AnythingMCP 作为工具添加到智能体,然后把智能体发布到 Microsoft 365 Copilot 和 Teams。Copilot Studio 从 Microsoft 的云端通过 Streamable HTTP 连接,AnythingMCP 支持这种方式。
- 在 Copilot Studio 中打开你的智能体(或新建一个),进入 Tools,选择 Add a tool → New tool → Model Context Protocol。
- 填写 Server name(例如
AnythingMCP)、说明连接器用途的 Server description,以及 Server URLhttps://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID。Copilot Studio 根据描述决定何时调用该服务器。 - 身份验证选择 API key,把 Type 设为 Header,请求头名称填
X-API-Key,然后选择 Create。 - 在 Add tool 中选择 Create a new connection,粘贴 AnythingMCP 的 MCP API 密钥(MCP Servers → 你的服务器 → API keys),然后选择 Add to agent。
- 在智能体的 Test 窗格中试一试:提出需要用到
Google Tasks的工具的请求。 - 选择 Publish,然后进入 Channels → Microsoft 365 and Microsoft Teams,保持勾选 Make agent available in Microsoft Copilot,再选择 Add channel。See agent in Teams 会为你安装该智能体;在 Microsoft 365 Copilot 中输入 @ 并选择该智能体。
希望每个用户各自登录?请选择 OAuth 2.0 → Dynamic discovery 代替 API 密钥:每个用户会在智能体首次调用时登录 AnythingMCP。
自托管?请用你实例的公网 HTTPS 地址替换 https://cloud.anythingmcp.com。Copilot Studio 从 Microsoft 的云端连接,因此 localhost 无法使用。
可用工具
| 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
这适用于哪个 Copilot? 适用于工作中的 Microsoft 365 Copilot,通过 Copilot Studio 的智能体实现。面向个人账户的 Microsoft Copilot 应用无法添加自己的 MCP 服务器。
我需要什么? 一个可以使用 Copilot Studio 的工作账户(许可证或试用版),用于构建智能体。在 Microsoft 365 Copilot 或 Teams 中使用它的人需要拥有该智能体的访问权限:把它共享给他们,或请管理员为整个组织发布。如果你的组织对 Power Platform 连接器设置了数据策略,这些策略同样适用于 MCP 服务器。
智能体不调用工具。 检查请求头名称是否正好是 X-API-Key,密钥是否属于与 URL 相同的 MCP 服务器,并把 Server description 写得具体:Copilot Studio 根据它决定何时调用服务器。每次修改后重新发布智能体;在已打开的对话中输入 "start over" 即可使用新版本。
下一步
这份指南对你有帮助吗?