摘要
Crewmeister,德国面向小型企业的考勤、缺勤计划和排班软件:成员、团队和角色、缺勤和假期余额、打卡记录、时长、加班余额、工作时间模型、班次、模板和工作地点。使用登录令牌的 API v3。
引导式设置
2 分钟将 Crewmeister 连接到 Microsoft Copilot
开始 AnythingMCP Cloud 免费试用,在引导式设置中连接 Crewmeister,再把你的 MCP URL 添加到 Microsoft Copilot。无需代码,也无需自行运行服务器。
无需信用卡 · 7 天试用 · 提供自托管方案
试试这样问
Crewmeister 的示例提示
点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。
Claude 是 AI,可能会出错。请核对回答。
💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → Crewmeister、粘贴凭证、生成 MCP API key — 完成。无 Docker、无
git clone、无本地服务器。
Crewmeister + Microsoft Copilot
Crewmeister,德国面向小型企业的考勤、缺勤计划和排班软件:成员、团队和角色、缺勤和假期余额、打卡记录、时长、加班余额、工作时间模型、班次、模板和工作地点。使用登录令牌的 API v3。
前提条件
完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:
CREWMEISTER_EMAIL, CREWMEISTER_PASSWORD
步骤 1 — 获取凭证
该连接器使用某个 Crewmeister 用户的邮箱和密码登录 Crewmeister API v3,获取令牌,并在令牌过期时自动重新登录。它能看到的内容与该用户的权限完全一致。
- 为集成选择或创建一个使用邮箱和密码登录的 Crewmeister 用户。没有 Crewmeister 密码的单点登录账号无法登录。需要全公司数据时,请使用团队所有者或经理账号;普通成员只能看到自己的数据。
- 将登录邮箱填入
CREWMEISTER_EMAIL,密码填入CREWMEISTER_PASSWORD。请先确认这组凭据能登录 app.crewmeister.com。 - 先用
crewmeister_list_members获取每个人的userId,用crewmeister_list_crews获取crewId,再用crewmeister_list_absence_types把缺勤类型 ID 对应到名称。
注意事项:
- 部分工具缺少固定过滤条件时会返回 400:
crewmeister_list_durations和crewmeister_list_calendar_days需要crewId==<id>加日期或日期范围,crewmeister_list_duration_balances和crewmeister_list_entitlement_balances需要crewId==<id>;date==<day>,crewmeister_list_absence_entitlements需要crewId==<id>。 - 过滤使用 RSQL,例如
userId==123;date=ge=2026-09-01;date=le=2026-09-30。页码从 0 开始,默认每页 20 条。 - 统计工时用 durations,查看谁正在上班用今天的打卡记录,剩余假期用
crewmeister_list_entitlement_balances。 - 团队加入密码和成员的终端 PIN 码会从响应中移除。连接器只使用 API v3;v2 已于 2026 年 3 月 31 日停用。
步骤 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 窗格中试一试:提出需要用到
Crewmeister的工具的请求。 - 选择 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 |
|---|---|
crewmeister_list_members | List the members (employees) of the crew with id, userId, name, e-mail, employee id, first and last working day and disabled flag |
crewmeister_get_member | Return one member by its member id with name, e-mail, userId, employee id, language, working-day range and disabled flag |
crewmeister_list_teams | List the teams of the crew with their name and the userIds that belong to each team |
crewmeister_list_member_roles | List role assignments: which user is MANAGER, SETTING_MANAGER or MANAGER_READ_ONLY, for which product and team |
crewmeister_list_crews | List the crews (companies) the logged-in user can access, with id, name, creation date and owner |
crewmeister_list_absences | List absences (vacation, sickness and other leave) with user, absence type id, from and to dates, day parts and state (DRAFT, REQUESTED… |
crewmeister_get_absence | Return one absence by id with its dates, day parts, state, state changes and the working days it covers |
crewmeister_list_absence_types | List the absence type settings: name, absenceTypeId, linked entitlement, whether members can request or create it, validity period and… |
crewmeister_list_absence_entitlements | List the entitlement categories (leave allowances such as annual leave) of a crew with id and name |
crewmeister_list_entitlement_balances | Return remaining leave per user and entitlement as of one date (balance in days) |
crewmeister_list_entitlement_adjustments | List manual adjustments to leave entitlements (carry-over, extra days, corrections) per user, entitlement and date, with the adjustment… |
crewmeister_list_absence_working_days | List the working days an absence covers, with the date and the length counted (1 for a full day, 0.5 for half a day) |
crewmeister_list_stamps | List raw clock events (START_WORK, START_BREAK, CLOCK_OUT) with timestamp, user, location, note, status and time categories |
crewmeister_list_durations | List aggregated durations per user, date and type (e.g |
crewmeister_list_duration_balances | Return running time account balances (e.g. overtime, can be negative) per user as of one date |
crewmeister_list_bookings | List processed time bookings per user and date with duration, time account type, origin (STAMPS, ABSENCES, SHIFTS, CORRECTIONS, PAYOUTS… |
crewmeister_list_time_accounts | List the time account types of the crew (e.g. regular working time, overtime) with their type key and description |
crewmeister_list_time_categories | List time categories (projects, cost centres or tasks on levels 1 to 5) that stamps and bookings are tagged with, with id, level and name |
crewmeister_list_working_time_models | List the working time models: target hours per weekday and automatic break rules that apply to users or teams |
crewmeister_list_calendar_days | List calendar day kinds (working day, weekend, public holiday, possibly split into morning and afternoon) for dates, as used in time and… |
crewmeister_list_shifts | List planned shifts with user, start and end, break, workplace, notes, publication type and shift-offer details |
crewmeister_get_shift | Return one shift by id with user, times, break, workplace, notes and shift-offer settings |
crewmeister_list_shift_templates | List the reusable week templates of the shift planner with id and name |
crewmeister_list_template_shifts | List the shifts inside shift templates with times, offsets, break, workplace and assigned user |
crewmeister_list_workplaces | List the workplaces (locations or work areas) shifts are assigned to, with name, linked time category and disabled date |
crewmeister_create_stamp | Record a clock event for a user: START_WORK to clock in, START_BREAK to start a break, CLOCK_OUT to clock out |
crewmeister_create_absence | Create an absence for a user: a request (state REQUESTED) that a manager approves, or, for managers, an approved entry |
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" 即可使用新版本。
下一步
这份指南对你有帮助吗?