跳过安装。2 分钟内即可运行。
在 cloud.anythingmcp.com 开始免费试用,一键添加 Kenjo HR,然后将你的 AI 客户端(Claude、ChatGPT、Copilot 或 Cursor)指向生成的 MCP 端点。无需 Docker,无需 git clone,无需任何工程经验。
摘要
读取 Kenjo 人力资源数据:包含姓名、职位和汇报关系的员工信息,公司、办公室、部门和团队,休假申请和休假类型,考勤记录以及招聘职位。通过 Kenjo API v1 只读访问。
试试这样问
Kenjo HR 的示例提示
点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。
Claude 是 AI,可能会出错。请核对回答。
💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → Kenjo HR、粘贴凭证、生成 MCP API key — 完成。无 Docker、无
git clone、无本地服务器。
Kenjo HR + Cursor
读取 Kenjo 人力资源数据:包含姓名、职位和汇报关系的员工信息,公司、办公室、部门和团队,休假申请和休假类型,考勤记录以及招聘职位。通过 Kenjo API v1 只读访问。
前提条件
完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:
KENJO_API_KEY
步骤 1 — 获取凭证
- API 访问默认处于关闭状态:请联系 Kenjo 支持,让 Customer Success 团队为你的账户开启。
- 由管理员打开 Settings → Integrations → API,点击 Generate new API key。请立即复制密钥,因为 Kenjo 只显示一次(每个组织最多 5 个密钥)。
- 员工数据始终包含在内;如果需要考勤、休假和招聘相关工具,请为该密钥开启对应模块。将密钥填入
KENJO_API_KEY。 - 先调用
kenjo_list_employees查找某个人的_id,再调用kenjo_get_employee。用kenjo_list_companies、kenjo_list_offices、kenjo_list_departments和kenjo_list_teams将 ID 转换为名称。
连接器通过 POST /auth/login 用密钥换取 bearer 令牌,并自动续期;在 Kenjo 中编辑、重新生成或删除密钥都会使其令牌失效。它调用的是生产环境 API api.kenjo.io,因此沙盒密钥无法使用。连接器不会向 Kenjo 写入任何内容,员工记录中的财务部分(银行和税务编号)会被移除。休假申请的查询范围最多 92 天,考勤记录最多 31 天;这些工具返回 403 表示该密钥未开启相应的数据集合。
步骤 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 — 在 Cursor 中添加连接器
你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(
https://cloud.anythingmcp.com/mcp/…)。本指南中出现YOUR_SERVER_ID的地方都用它替换。
Cursor 从 ~/.cursor/mcp.json 读取 MCP 服务器。添加以下条目:
{
"mcpServers": {
"anythingmcp": {
"url": "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。 - 保存文件并重启 Cursor。
- 打开 Cursor → Settings → MCP,确认
anythingmcp已列出并处于已连接状态。 - 开始对话 — 智能体现在可以调用
Kenjo HR的工具。
可用工具
| Tool | What it does |
|---|---|
kenjo_list_employees | List all Kenjo employees with their _id, e-mail, first and last name, display name, job title, active status and company, office and… |
kenjo_get_employee | Get every section of one Kenjo employee: account (e-mail, active), personal (name, birthdate, nationality), work (job title, start date… |
kenjo_list_employee_accounts | List Kenjo employee accounts (_id, e-mail, external id, language, active status) |
kenjo_list_employee_work_details | List the work section of every employee: job title, start date, employee number, company, office, department, area and team ids, manager… |
kenjo_list_companies | List the companies (legal entities) set up in Kenjo with _id, name, city and country |
kenjo_list_departments | List the departments set up in Kenjo with _id and name |
kenjo_list_offices | List the office locations in Kenjo with _id, name, company id, holiday calendar id, street, postal code, city and country |
kenjo_list_teams | List the teams set up in Kenjo with _id and name |
kenjo_list_time_off_types | List the time-off types of the organisation (vacation, sick leave and so on) with _id and name |
kenjo_list_time_off_requests | List time-off requests in a date range of at most 92 days, with employee id, type id, policy, status, from/to, duration and per-day split |
kenjo_list_attendances | List attendance (worked time) entries of all employees in a date range of at most 31 days: employee id and e-mail, start and end time… |
kenjo_list_positions | List recruiting positions (job openings) with _id, job title, company, office and department ids, position type, status and job description |
FAQ
Cursor 免费套餐支持自定义 MCP 服务器吗? 支持 — Hobby、Pro 和 Business 套餐均可使用 MCP。
下一步
这份指南对你有帮助吗?