摘要
用 AI 管理 Weeek 的项目和 CRM:查找并更新任务,在看板之间移动任务,分配成员,添加评论和记录工时,还能处理交易、联系人和组织,每次更改前都会先确认。
引导式设置
2 分钟将 Weeek 连接到 Microsoft Copilot
开始 AnythingMCP Cloud 免费试用,在引导式设置中连接 Weeek,再把你的 MCP URL 添加到 Microsoft Copilot。无需代码,也无需自行运行服务器。
无需信用卡 · 7 天试用 · 提供自托管方案
试试这样问
Weeek 的示例提示
点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。
Claude 是 AI,可能会出错。请核对回答。
💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → Weeek、粘贴凭证、生成 MCP API key,即可完成。无 Docker、无
git clone、无本地服务器。
Weeek + Microsoft Copilot
用 AI 管理 Weeek 的项目和 CRM:查找并更新任务,在看板之间移动任务,分配成员,添加评论和记录工时,还能处理交易、联系人和组织,每次更改前都会先确认。
前提条件
完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:
WEEEK_API_TOKEN
步骤 1 — 获取凭证
设置大约需要 1 分钟,你需要一个能打开工作区设置中 API 部分的 Weeek 工作区。
- 在 Weeek 中打开工作区设置,进入 API 部分。
- 创建一个令牌并复制。
- 将它粘贴到
WEEEK_API_TOKEN,不要加 Bearer 一词,然后安装连接器。令牌只会发送给 Weeek。 - 连接器的所有操作都以创建令牌的用户的名义、在该用户的权限范围内执行。
weeek_get_profile会显示这个用户是谁,也是检查令牌是否可用的最快方法。
覆盖范围:项目和项目组合、看板及其列、包含子任务、评论、负责人、关注者和工时记录的任务、工作区的标签和成员,以及 CRM:销售漏斗及其阶段、交易、联系人和组织。
先确认:创建、移动、完成任务、发表评论以及更改交易,团队都能看到,其他成员也会收到通知。每次写入前,AI 都会说明要做的更改并等待你确认。weeek_delete_task 安装时默认关闭;通常用 weeek_complete_task 把任务标为完成才是你想要的。
查找 ID:你可以直接说名称,ID 由 AI 去查。weeek_list_projects 提供项目 ID,weeek_list_boards 提供项目的看板,weeek_list_board_columns 提供看板的列,创建或移动任务时需要用到。成员用 weeek_list_members 中的用户 ID 指定。在 CRM 中,weeek_list_funnels 和 weeek_list_funnel_statuses 可找到列出和创建交易所用的阶段。
格式:Weeek 要求标志位用 0 或 1,而不是 true 或 false。任务筛选和计划日期使用 dd.mm.yyyy,更新任务时的开始日期和截止日期使用 YYYY-MM-DD。优先级 0 为低,1 为中,2 为高,3 为搁置。
常见错误:401 表示令牌错误或已被删除;请在工作区设置的 API 部分创建新令牌。403:令牌所属用户无权查看或修改该项目或交易。404:该 ID 在此工作区中不存在。422:缺少字段或格式错误,常见原因是用了 true 或 false 而不是 0 或 1,或日期格式不对;错误信息会指出字段名。
该连接器不支持上传文件、配置自定义字段或漏斗、使用计时器,也不能删除项目、看板、交易或联系人。
步骤 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 窗格中试一试:提出需要用到
Weeek的工具的请求。 - 选择 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 |
|---|---|
weeek_get_profile | Get the Weeek user the API token belongs to: id, e-mail, name, language and time zone |
weeek_get_workspace | Get the workspace the API token belongs to: id, title, description and whether it is a personal workspace |
weeek_list_members | List the members of the workspace with their user id (a UUID), e-mail, name and position |
weeek_list_tags | List the workspace tags with their id, title and colour |
weeek_create_tag | Create a workspace tag and return it with its id |
weeek_list_portfolios | List portfolios (groups of projects) with id, name, parent and privacy |
weeek_list_projects | List the projects of the workspace with id, name, description, colour, privacy and team members |
weeek_get_project | Get one project by id with its name, description, privacy and team |
weeek_create_project | Create a project, optionally inside a portfolio, and return it with its id |
weeek_update_project | Rename a project or change its privacy or colour |
weeek_list_boards | List the boards (kanban boards) of one project with their id, name and privacy |
weeek_create_board | Create a board in a project and return it with its id |
weeek_rename_board | Rename a board |
weeek_list_board_columns | List the columns (stages such as To do, In progress, Done) of one board with their id and name, in board order |
weeek_create_board_column | Add a column to a board and return it with its id |
weeek_rename_board_column | Rename a board column |
weeek_move_board_column | Reorder a column on its board: it is placed right after the column given in upperBoardColumnId, or first when that is null |
weeek_list_tasks | Find tasks by project, board, column, assignee, type, priority, text, due day or date range, open or completed |
weeek_get_task | Get one task by id with description, dates, duration, priority, assignees, watchers, locations, tags, subtasks, time entries, custom fields… |
weeek_create_task | Create a task in one or more projects, optionally in a board column, as a subtask or planned for a day |
weeek_update_task | Change a task: title, priority, type, start and due date or date-time, time estimate, tags or custom fields |
weeek_complete_task | Mark a task as completed. weeek_reopen_task undoes it |
weeek_reopen_task | Mark a completed task as open again |
weeek_move_task_to_column | Move a task to another column of its board, for example from In progress to Done |
weeek_move_task_to_board | Move a task to another board |
weeek_add_task_to_project | Add a task to a further project, optionally into a board column |
weeek_add_task_assignees | Assign one or more workspace members to a task |
weeek_remove_task_assignees | Unassign one or more members from a task; the task itself stays |
weeek_add_task_watchers | Add watchers to a task; they are notified of its changes |
weeek_set_task_parent | Make a task a subtask of another task, or a top-level task again with parentId null |
weeek_list_task_comments | List the comments of a task with author id, Markdown text, reply parent and dates |
weeek_add_task_comment | Post a comment on a task, or a reply to a comment, as the token's user |
weeek_log_time | Log time spent on a task for a member on a given day |
weeek_delete_task | Delete a task |
weeek_list_funnels | List the CRM sales funnels (pipelines) with id, name, currency and deal counts |
weeek_list_funnel_statuses | List the statuses (pipeline stages) of one funnel with id, name, deal count and deal amount |
weeek_list_deals | List the deals in one funnel status with title, amount, win status, assignees, contacts, organizations and tags; returns hasMoreDeals for… |
weeek_get_deal | Get one deal by id with amount, win status, description, assignees, contacts, organizations, tags, tasks and custom fields |
weeek_create_deal | Create a deal in a funnel status, optionally with amount, assignees, contacts, organizations and tags |
weeek_update_deal | Change fields of a deal: title, amount, description, win status (won, lost, archived), assignees, contacts, organizations, tags or custom… |
weeek_list_contacts | List CRM contacts (people) with name, e-mails, phones, organizations and tags |
weeek_get_contact | Get one CRM contact by id with e-mails, phones, organizations and tags |
weeek_create_contact | Create a CRM contact with name, e-mails, phones, organizations and tags |
weeek_list_organizations | List CRM organizations (companies) with name, addresses, e-mails, phones and responsible user |
weeek_get_organization | Get one CRM organization by id with addresses, e-mails, phones, contacts and tags |
weeek_create_organization | Create a CRM organization with name, addresses, e-mails, phones and responsible users |
weeek_remove_task_from_project | Take a task out of one of its projects (and that project's board); the task itself is not deleted and can be put back with… |
示例提示
- “列出我在 Website 项目中本周到期、优先级高的未完成任务。”
- “在 Marketing 看板的 To do 列中创建任务‘准备第四季度通讯’,分配给 Anna,截止日期设为 10 月 25 日。”
- “把‘更新定价页面’移到 Done,并以我的名义为它记录今天的 2 小时工时。”
- “列出我们销售漏斗中‘谈判’阶段的交易及金额,然后把 Acme 的交易标记为赢单。”
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" 即可使用新版本。
下一步
这份指南对你有帮助吗?