跳过安装。2 分钟内即可运行。
在 cloud.anythingmcp.com 开始免费试用,一键添加 Crewmeister,然后将你的 AI 客户端(Claude、ChatGPT、Copilot 或 Cursor)指向生成的 MCP 端点。无需 Docker,无需 git clone,无需任何工程经验。
摘要
Crewmeister,德国面向小型企业的考勤、缺勤计划和排班软件:成员、团队和角色、缺勤和假期余额、打卡记录、时长、加班余额、工作时间模型、班次、模板和工作地点。使用登录令牌的 API v3。
试试这样问
Crewmeister 的示例提示
点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。
Claude 是 AI,可能会出错。请核对回答。
💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → Crewmeister、粘贴凭证、生成 MCP API key — 完成。无 Docker、无
git clone、无本地服务器。
Crewmeister + Gemini
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 — 在 Gemini 中添加连接器
你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(
https://cloud.anythingmcp.com/mcp/…)。本指南中出现YOUR_SERVER_ID的地方都用它替换。
Gemini CLI 从 ~/.gemini/settings.json(Windows 上为 %USERPROFILE%\.gemini\settings.json)读取 MCP 服务器。添加:
{
"mcpServers": {
"anythingmcp": {
"httpUrl": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
"headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
}
}
}
- 在 AnythingMCP 的 MCP Servers → 你的服务器 → API keys 中创建 MCP API 密钥,并用它替换
YOUR_MCP_API_KEY。 - 保存文件并重启
gemini。 - 在 Gemini CLI 中运行
/mcp(或在终端运行gemini mcp list)—anythingmcp应显示为已连接。 - 开始输入提示 — Gemini CLI 现在可以调用
Crewmeister的工具。
可用工具
| 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
Gemini CLI 从哪里读取 MCP 服务器? 用户级配置位于 ~/.gemini/settings.json,项目级配置位于项目内的 .gemini/settings.json。gemini mcp list 会列出每个服务器及其连接状态。
下一步
这份指南对你有帮助吗?