boss-agent-cli
boss-agent-cli
🤖 面向真人与 AI Agent 的招聘平台 CLI —— 纯终端向导 · 福利筛选 · 双角色工作流 · JSON 信封。
快速上手 · 架构 · Agent 集成 · 命令 · 排障 · 路线图 · 中文 | English
观看 48 秒发布会动画 · 交互版 · 终端交互演示 · 福利筛选 · 双角色工作流 · Agent 接入
🧭 为什么
boss-agent-cli 把职位发现、福利筛选、本地简历与 AI、投递沟通、招聘者候选人处理和可恢复采集统一到一个 CLI。真人直接运行 boss 进入纯终端向导;Agent 使用 JSON、schema、MCP 或 Python API 调用同一套 workflow 与状态。boss schema 始终是能力真源。
Related MCP server: boss-cli
⚠️ 运行边界
历史配置 operating_mode=assisted|research 继续兼容,但两种模式都可调用全部已实现能力,不再产生模式级 COMPLIANCE_BLOCKED。平台尚未实现的能力仍准确返回 NOT_SUPPORTED;认证失效、账号风险和网络错误保留结构化错误与恢复动作。长流程仍受 timeout、retry、预算、checkpoint 和 stop 控制。
✨ 核心能力
职位发现:关键词搜索 + 8 维筛选,按编号回看缓存结果 ——
searchshowdetail福利筛选(核心差异化):
--welfare "双休,五险一金"自动翻页补抓、按 AND 逻辑做真实匹配,并可--sort score按本地匹配分排序 ——search --welfareHR 活跃度筛选:
--active 3d只留最近活跃的 HR,避免把投递次数浪费在长期不上线的岗位上;online只看列表、请求量与普通搜索相同,其余档位可能要逐个查职位详情,更慢、风控风险更高,低风险场景建议用--active online——search --active纯终端向导:直接运行
boss或boss wizard,选择角色、平台和目标;同一 workflow 也可用--input-json、run ID 或 MCP 推进和恢复本地候选池与统计:查看详情后本地保存、读取带有效状态的网页职位收藏并仅同步有效项 / 用标签和备注复盘候选岗位、离线对比、查看漏斗统计 ——
shortliststatswatchpresetfavoritesAI 求职增强 + 本地模型:JD 分析、简历润色、定向优化、候选池匹配、模拟面试、沟通指导;本地模型权重外置,支持 Ollama/vLLM OpenAI 兼容接口 ——
ai analyze-jdai local configureai local smokeSchema 驱动 + JSON 信封:stdout 只输出
{ok, schema_version, command, data, pagination, error, hints}七键信封,boss schema是能力真源,适合 CLI 编排 / Shell Agent / MCP / Python SDK招聘者完整链路:先确认招聘者身份,再进入候选人搜索、推荐牛人、首次招呼、工作地点、附件简历接收与下载、简历、聊天/最近消息、回复和职位管理 ——
hr whoami/candidates/recommendations/greet/location/applications/resume/chat/last-messages/reply/request-resume/accept-resume/download-resume/jobs平台抽象:
Platform/RecruiterPlatform双注册表 +--platform全局选项;当前注册平台为zhipin(BOSS 直聘)
🚀 快速开始
# 安装(uv 推荐;浏览器内核仅用于用户主动登录 / 本地导出)
uv tool install boss-agent-cli
boss doctor # 缺浏览器内核时会给出可直接执行的安装命令
# 真人入口:直接进入角色、平台和目标向导
boss
# Agent / 高级用户仍可直接调用命令
boss doctor # 环境自检
boss login # 登录(按平台选择链路)
boss status # 验证登录态
boss search "Golang" --city 广州 --welfare "双休,五险一金" # 搜索 + 福利筛选
boss search "Golang" --city 广州 --active 3d # 只看 3 日内活跃的 HR
boss detail <security_id> # 查看详情
boss shortlist add <security_id> <job_id> --tags 后端,远程 # 加入本地候选池并打本地标签
boss shortlist compare --tag 远程 # 离线对比候选岗位
boss stats # 本地统计
# 招聘者模式
boss hr candidates "Python" --city 101010100
boss hr recommendations --job-id <encJobId>
boss hr jobs list所有命令输出结构化 JSON(ok 判断成败,默认 exit 0/1;可选 --exit-codes sysexits 返回按错误类别区分的语义化退出码)。完整上手见 快速上手。
🎭 角色与平台
平台 | 求职者 | 招聘者 | 状态 |
BOSS 直聘 ( | ✅ | ✅ | 默认 |
boss platforms # 查看已注册平台与能力状态(当前仅 zhipin)
boss --platform zhipin search "Python" # --platform 默认即 zhipin,可省略boss hr ... 与招聘者侧 agent 自动化当前均只支持 zhipin-recruiter。设计细节见 docs/platform-abstraction.md。
🤖 Agent 集成
推荐先读:Agent Quickstart · Capability Matrix · Host Examples
// 方式一:MCP(推荐)—— Claude Desktop / Cursor 等 MCP 宿主,暴露 80 个已实现工具
{ "mcpServers": { "boss-agent": { "command": "uvx", "args": ["--from", "boss-agent-cli[mcp]", "boss-mcp"] } } }不想在本机配 Python 工具链,可用仓库自带的容器:BOSS_UID=$(id -u) BOSS_GID=$(id -g) docker compose run --rm boss-mcp。镜像刻意不含浏览器内核 —— 先在宿主机 boss login,再把 ~/.boss-agent 挂进去,详见 Docker 接入。
OpenCode 源码项目可直接使用仓库示例:
cp examples/opencode/opencode.json ./opencode.json
uv sync --all-extras
uv run boss-mcp --data-dir ./.boss-agent --helpportable / 全局安装后,在任意 OpenCode 项目里使用 examples/opencode.json,它会启动 boss-mcp --data-dir ./.boss-agent,让 review、pending、日志按项目隔离。
# 方式二:subprocess —— 先让 Agent 读能力自描述,再解析 stdout JSON
boss schema# 方式三:Python 直接嵌入(随 py.typed 发布,可作类型化库)
from boss_agent_cli import AuthManager, BossClient, AuthRequired
with BossClient(AuthManager(...)) as client:
result = client.search_jobs("Golang", city="广州")📚 命令
boss schema 暴露 39 个顶层命令 + 15 个一级招聘者子命令,按工作流分组:
认证:
login·logout·status·doctor职位发现:
search·recommend·detail·show·cities·history本地整理:
watch·preset·shortlist·stats·favorites可恢复采集:
crawl configure/run/start/status/results/resume/stop/shortlist简历 / AI:
resume·me·ai analyze-jd·ai polish·ai optimize·ai fit·ai suggest-keywords·ai resume-optimize·ai cover-letter·ai interview-prep·ai chat-coach·ai local系统 / workflow:
wizard·schema·platforms·export·config·clean候选者动作:
greet·batch-greet·apply·exchange·chat·chatmsg·chat-summary·mark·interviews·pipeline·digest·follow-up招聘者:
hr whoami/applications/candidates/recommendations/greet/location/resume/chat/chatmsg/last-messages/reply/request-resume/accept-resume/download-resume/jobs
完整命令表、参数与福利筛选原理见 命令参考;能力真源是 boss schema(支持 --format openai-tools / anthropic-tools / mcp-tools 导出工具定义)。
批量采集需要额外安装 pip install "boss-agent-cli[crawl]"(或 uv tool install "boss-agent-cli[crawl]";源码仓库内为 uv sync --extra crawl)。它使用独立的 <data-dir>/crawl/chrome-profile,不会接管日常 Chrome profile。默认不注入 Hook;如需使用本地脚本,必须同时显式提供 Hook 档位和包含 SHA256SUMS 的目录:
boss crawl configure --max-requests 20 --max-details 50 --max-seconds 600 --max-retries 1
boss crawl run "AI" --city 杭州 --pages 3 --with-detail `
--hook-profile screenshot-full --hook-dir E:\boss-agent-cli-local-hooks\AntiDebug_Breaker
boss crawl resume <run_id>
boss crawl stop <run_id>
boss agent crawl --run-id <run_id> --resume <简历名>crawl run 顺序执行并保存 SQLite 断点和 JSON / CSV / XLSX 增量产物;请求数、详情数、墙钟时间和重试均受固定预算约束,boss crawl stop 可在下一个安全点停止。导出和 crawl results 默认不会暴露 security_id、职位 ID 或招聘者字段;执行 boss clean --privacy 会删除 crawl 状态、预算和导出。细粒度 MCP crawl tools 读取或导入已有 run_id;boss_wizard 可通过共享 workflow 启动、恢复和停止任务。出现平台风险码或安全页时停止并返回恢复命令。
🩺 诊断与排障
boss doctor # 环境自检
boss status --live # 可选:一次低频只读探测
boss doctor --live-probe错误信封统一携带 code + recoverable + recovery_action,可程序化恢复。boss doctor 检查 CDP 可达性并汇总 browser_channel 状态。chat / chatmsg 在默认 auto 来源下使用本地凭据的 httpx;显式选择 --browser-source existing-browser 才会通过 CDP 复用已有目标页,且不读取 CLI 保存的 Cookie。现有浏览器候选耗尽返回 BROWSER_SESSION_NOT_FOUND + boss doctor,普通未登录路径仍返回 AUTH_REQUIRED + boss login。所有来源命中平台风控时都停止当前 workflow 并保存 checkpoint;适配器必须有限运行、脱敏、可停止,并只在风险状态解除后显式恢复。
v3.0.0 迁移:Browser Bridge daemon、Chrome 扩展和 [bridge] 安装 extra 已移除。升级 CLI 不会停止旧 daemon,也不会卸载浏览器扩展。 请手动停止旧 daemon,禁用或移除旧扩展,并从安装命令中去掉 [bridge]。浏览器默认降级链为 CDP → headless;若要只复用已有会话,先在本机 CDP 浏览器的官方页面手动登录,再运行:
boss --browser-source existing-browser --cdp-url http://localhost:9222 chat该来源不新建页面、不导航、不注入 Cookie,也不启动浏览器。CDP 调试端口仅用于本机可信环境,不要暴露到公网或用来绕过平台风控。
完整检查项、CDP 启动示例与错误码见 诊断与排障;涉及 Cookie / CDP / patchright / 请求频率 / 接口漂移的问题先读 平台风险边界。
⚙️ 配置
boss config list # 查看所有配置
boss config set log_level debug # 设置日志级别
boss config reset log_level # 恢复单个配置项的默认值配置位于 ~/.boss-agent/config.json:运行模式(operating_mode=assisted|research)、请求间隔、批量打招呼间隔、日志级别、CDP 地址、导出目录、平台 / 角色。
🏗️ 技术架构
CLI (Click)
└─ 兼容运行元数据(assisted / research 均开放已实现能力)
└─ AuthManager ── 用户主动登录态(Fernet + PBKDF2 机器绑定加密)
└─ Platform 双注册表 ── BossPlatform / BossRecruiterPlatform
└─ BossClient ── httpx + 节流(高斯延迟);兼容 CDP / patchright 登录与导出
└─ CacheStore(SQLite WAL) · AIService(OpenAI-compatible / Ollama / vLLM)
└─ output.py → JSON 信封 → stdout不变量:stdout 仅 JSON 信封 · stderr 仅日志 · exit 0/1(可选 --exit-codes sysexits 语义化退出码) · 错误含 code/recoverable/recovery_action · boss schema 为能力真源。
双受众提示:hints.next_actions 是给 Agent 执行的后继命令,hints.operator_actions 是给真人操作者的自然语言指引(扫码、在浏览器里调整条件等需要离开终端完成的动作);TTY 下只渲染后者到 stderr,Agent 应把它转述给操作者。
命令还是 wizard:单次、无状态的能力调用走顶层命令;需要跨步骤状态、可恢复、或中途要把指引递给真人的走 boss wizard(goal 取值见 boss schema 的 wizard_catalog)。
选型:Python ≥ 3.11 · Click · httpx · patchright / CDP(登录、导出与声明的浏览器 adapter)· cryptography(Fernet)· sqlite3(WAL)· pytest(2900+ 项)。
🔌 本地存储
所有状态在 ~/.boss-agent/:加密登录态、搜索缓存、候选池、本地简历、AI 配置与外置模型登记。模型权重不进入 Python 包;除显式发起的 API 调用或本地模型下载外,数据不离开本机。
🤝 贡献者
欢迎 Issue / PR:git clone → feat/xxx 分支 → 写测试 → python scripts/quality_baseline.py(Windows 中文系统可先 $env:PYTHONUTF8='1')→ PR。详见 CONTRIBUTING.md,上手路径见 快速上手。可复现的离线 MCP 评测见 evals/README.md。参与即表示同意遵守 行为准则。
感谢每一位让 boss-agent-cli 变得更好的贡献者,去关注他们!❤️
❤️ 支持
如果它帮到了你,最直接的支持是点一个 Star ⭐,或分享给正在找工作的人。
用出问题、有新想法,欢迎提 Issue;想动手就直接上 PR。安全漏洞请按 SECURITY.md 私密报告,不要公开提 Issue。
需要帮助?先看 获取支持:文档入口、Discussions、Issue 与私密安全报告的正确去处。
想看看船队的其他船,欢迎靠泊母港 bobochang.cn 🧭,航海记录在掘金专栏。
本项目受益于 geekgeekrun · boss-cli · opencli,一并致谢。
⭐ Star History
由 mystarhistory 本地生成的静态 SVG,与仓库同源、不依赖第三方服务。
⚠️ 免责声明
使用时请遵守适用法律、平台协议和隐私要求。对批量触达、候选人个人数据和浏览器适配设置明确的输入、数量、超时和停止条件,并妥善保护本地凭据与导出产物。因不当使用产生的后果由使用者自行承担,与项目作者无关。
📑 许可证 & 友情链接
MIT © can4hou6joeng4 · 友链 LINUX DO
Available Tools
80 toolsboss_agent_pendingA
招聘自动化兼容接口:查看旧版本遗留的待执行动作队列 [可用性: roles=candidate, recruiter; candidate_platforms=zhipin; recruiter_platforms=zhipin]
Inputs: no named parameters.
boss_agent_reviewA
招聘自动化兼容接口:查看旧版本遗留的人工复核队列 [可用性: roles=candidate, recruiter; candidate_platforms=zhipin; recruiter_platforms=zhipin]
Inputs: no named parameters.
boss_agent_review_approveB
招聘自动化兼容接口:处理旧版本复核项并写入 pending 队列 [可用性: roles=candidate, recruiter; candidate_platforms=zhipin; recruiter_platforms=zhipin]
Inputs: id (required).
boss_agent_review_rejectA
招聘自动化兼容接口:拒绝旧版本复核项并记录跳过事件 [可用性: roles=candidate, recruiter; candidate_platforms=zhipin; recruiter_platforms=zhipin]
Inputs: id (required), reason.
boss_agent_runA
招聘自动化:运行一轮自动扫描、决策、阈值控制、执行和线索生成。MCP 缺省 dry_run=true 仅演练;真实执行需显式 dry_run=false(CLI agent run 自身缺省为 live) [可用性: roles=candidate, recruiter; candidate_platforms=zhipin; recruiter_platforms=zhipin]
Inputs: limit, resume, dry_run.
boss_agent_statsA
招聘自动化:查看执行、跳过、历史队列和熔断统计 [可用性: roles=candidate, recruiter; candidate_platforms=zhipin; recruiter_platforms=zhipin]
Inputs: no named parameters.
boss_agent_stopA
招聘自动化:打开熔断,停止后续自动执行 [可用性: roles=candidate, recruiter; candidate_platforms=zhipin; recruiter_platforms=zhipin]
Inputs: reason.
boss_agent_trainC
招聘自动化:训练校准模式,默认演练满足阈值的动作 [可用性: roles=candidate, recruiter; candidate_platforms=zhipin; recruiter_platforms=zhipin]
Inputs: limit.
boss_ai_analyze_jdA
分析职位描述并评估简历匹配度,输出匹配分数和差距分析 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: resume (required), jd_text (required).
boss_ai_chat_coachB
基于聊天记录诊断沟通状态并给出下一步行动建议与现成消息模板 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: chat_text (required), style, resume.
boss_ai_cover_letterA
基于本地简历与目标岗位起草求职信/自我介绍草稿(仅草稿,不发送) [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: resume (required), lang, tone, job_id, +1 more.
boss_ai_fitB
基于本地简历和候选池已缓存职位详情生成逐岗匹配度、能力缺口和关键词命中报告 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: resume (required), limit.
boss_ai_interview_prepB
基于目标职位描述生成模拟面试题与准备建议(支持简历参考定制题目) [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: jd_text (required), count, resume.
boss_ai_optimizeB
基于目标职位描述优化简历(输出优化后结构,不直接写回磁盘) [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: resume (required), jd_text (required).
boss_ai_replyB
基于招聘者消息生成回复草稿(2-3 条候选,支持简历参考和语气偏好) [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: recruiter_message (required), tone, resume, context.
boss_ai_resume_optimizeB
基于目标岗位优化简历措辞(仅建议,不修改简历) [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: resume (required), job_id, jd_text.
boss_ai_suggestB
基于目标职位给出简历改进建议(按优先级排序,不修改简历) [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: resume (required), jd_text (required).
boss_ai_suggest_keywordsB
基于候选池职位分析推荐搜索关键词组合 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: limit.
boss_applyA
发起投递或立即沟通动作(幂等,不会重复投递) [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: job_id (required), security_id (required), lid.
boss_batch_greetA
搜索后批量打招呼(上限 10);支持关键词、城市、薪资、经验、学历、行业、规模、阶段与职位类型筛选,未传 limit 时默认最多 5 个 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: query (required), city, limit, scale, +7 more.
boss_chatA
查看沟通列表,支持按发起方和时间筛选。返回项含稳定标识 uid,可用于 boss_chatmsg / boss_mark / boss_exchange。分页证据见 pagination.page / has_more(仅平台给出布尔 hasMore 时非 null)。 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: raw, days, page, format, +2 more.
boss_chatmsgA
查看与指定好友的聊天消息历史;信封 pagination 给出所读消息页证据(page / has_more / has_more_source / total) [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: security_id (required), raw, page, count, +1 more.
boss_chat_summaryB
基于聊天历史生成结构化摘要与下一步建议;信封 pagination 给出所读消息页证据(page / has_more / has_more_source / total) [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: security_id (required), page, count.
boss_citiesA
列出支持的城市列表(约 44 个,含不限城市的「全国」) [可用性: roles=candidate, recruiter; candidate_platforms=zhipin; recruiter_platforms=zhipin-recruiter]
Inputs: no named parameters.
boss_cleanC
清理过期缓存和临时文件 [可用性: roles=candidate, recruiter; candidate_platforms=zhipin; recruiter_platforms=zhipin-recruiter]
Inputs: all, days, dry_run.
boss_configC
查看和修改配置项 [可用性: roles=candidate, recruiter; candidate_platforms=zhipin; recruiter_platforms=zhipin-recruiter]
Inputs: action (required), key, value.
boss_crawl_resultsB
读取持久化 crawl 职位,可按页码和详情状态筛选。 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: run_id (required), page, detail_status.
boss_crawl_shortlistA
将 crawl results 返回的 selector 导入本地 shortlist,不请求 BOSS。 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: run_id (required), all, note, tags, +1 more.
boss_crawl_statusB
读取 crawl 页游标、职位数、详情进度和风险状态。 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: run_id (required).
boss_detailA
查看职位详情。参数为 security_id(从 search/recommend 结果获取)。 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: security_id (required), lid, job_id.
boss_digestA
汇总新增职位、待跟进会话和面试项的只读日报(支持 md 输出便于邮件/飞书直发) [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: format, output, days_stale.
boss_doctorB
诊断本地运行环境、依赖、登录态和网络连通性 [可用性: roles=candidate, recruiter; candidate_platforms=zhipin; recruiter_platforms=zhipin-recruiter]
Inputs: no named parameters.
boss_exchangeB
请求交换联系方式(手机号或微信) [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: security_id (required), type.
boss_exportA
导出搜索结果为 CSV / JSON / HTML 文件,支持 BOSS 直聘搜索页 URL 复用筛选条件。默认脱敏 job_id/security_id/boss_name,HTML 始终省略平台标识、招聘者姓名和薪资。不传 output_file 时 csv/json 在信封内返回 jobs 列表,html 在 data.content 返回报表正文。 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: url, city, count, query, +12 more.
boss_favorites_listA
预览 BOSS 职位收藏单页及有效状态(不落库)。分页证据见 pagination.has_more / has_more_source(缺失 hasMore 时为 null)。 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: page.
boss_follow_upA
筛出需要优先跟进的候选项(未读、超时未推进、面试) [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: days_stale.
boss_greetB
向招聘者打招呼。需要 security_id 和 job_id。 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: job_id (required), security_id (required), message.
boss_historyB
查看浏览历史,支持 --page 翻页 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: page.
boss_hr_accept_resumeA
招聘者模式:同意指定候选人的附件简历请求;仅在操作者明确批准后传 yes=true,不自动下载或重试 [可用性: roles=recruiter; candidate_platforms=-; recruiter_platforms=zhipin-recruiter]
Inputs: friend_id (required), message_id (required), yes, dry_run.
boss_hr_applicationsB
招聘者模式:查看候选人投递申请列表;结果信封 pagination 给出平台 hasMore 证据(缺失为 null) [可用性: roles=recruiter; candidate_platforms=-; recruiter_platforms=zhipin-recruiter]
Inputs: page, job_id, label_id.
boss_hr_candidatesB
招聘者模式:搜索候选人;结果信封 pagination 给出平台 hasMore 证据(缺失为 null) [可用性: roles=recruiter; candidate_platforms=-; recruiter_platforms=zhipin-recruiter]
Inputs: age, city, page, query, +8 more.
boss_hr_chatA
招聘者模式:查看与候选人的沟通列表(含未读数和最近消息摘要);结果信封 pagination 给出平台 hasMore 证据(缺失为 null) [可用性: roles=recruiter; candidate_platforms=-; recruiter_platforms=zhipin-recruiter]
Inputs: page, job_id, label_id, summary_limit.
boss_hr_chatmsgA
招聘者模式:查看与指定候选人的聊天消息历史;信封 pagination 给出游标分页证据(has_more / next_max_msg_id) [可用性: roles=recruiter; candidate_platforms=-; recruiter_platforms=zhipin-recruiter]
Inputs: friend_id (required), count, max_msg_id.
boss_hr_download_resumeA
招聘者模式:下载指定候选人已收到且允许访问的附件简历;不自动同意、不覆盖已有文件 [可用性: roles=recruiter; candidate_platforms=-; recruiter_platforms=zhipin-recruiter]
Inputs: output (required), friend_id (required), message_id (required).
boss_hr_exchangeB
招聘者模式:请求交换候选人手机号或微信 [可用性: roles=recruiter; candidate_platforms=-; recruiter_platforms=zhipin-recruiter]
Inputs: friend_id (required), type.
boss_hr_greetB
招聘者模式:单次建立会话、发送首次招呼;需操作者明确批准,不发送已读回执 [可用性: roles=recruiter; candidate_platforms=-; recruiter_platforms=zhipin-recruiter]
Inputs: lid (required), job_id (required), geek_id (required), message (required), +5 more.
boss_hr_jobsB
招聘者模式:查看职位管理列表,或执行上线/下线操作 [可用性: roles=recruiter; candidate_platforms=-; recruiter_platforms=zhipin-recruiter]
Inputs: page, action, job_id.
boss_hr_jobs_detailA
招聘者模式:查看指定职位的完整详情(包括岗位描述 postDescription) [可用性: roles=recruiter; candidate_platforms=-; recruiter_platforms=zhipin-recruiter]
Inputs: enc_job_id (required).
boss_hr_last_messagesA
招聘者模式:批量查看候选人最近消息摘要;按页取沟通列表时信封 pagination 给出平台 hasMore 证据(--friend-id 直查为 null) [可用性: roles=recruiter; candidate_platforms=-; recruiter_platforms=zhipin-recruiter]
Inputs: page, limit, job_id, label_id, +1 more.
boss_hr_locationA
招聘者模式:向已有会话发送工作地点卡片;需操作者明确批准,同一会话不重复发送 [可用性: roles=recruiter; candidate_platforms=-; recruiter_platforms=zhipin-recruiter]
Inputs: friend_id (required), yes, dry_run.
boss_hr_recommendationsA
招聘者模式:读取推荐牛人完整卡片和首次开聊所需参数;结果信封 pagination 给出平台 hasMore 证据(缺失为 null) [可用性: roles=recruiter; candidate_platforms=-; recruiter_platforms=zhipin-recruiter]
Inputs: job_id (required), page.
boss_hr_replyB
招聘者模式:回复候选人消息 [可用性: roles=recruiter; candidate_platforms=-; recruiter_platforms=zhipin-recruiter]
Inputs: message (required), friend_id (required).
boss_hr_request_resumeB
招聘者模式:请求候选人分享附件简历 [可用性: roles=recruiter; candidate_platforms=-; recruiter_platforms=zhipin-recruiter]
Inputs: friend_id (required).
boss_hr_resumeB
招聘者模式:查看候选人在线简历 [可用性: roles=recruiter; candidate_platforms=-; recruiter_platforms=zhipin-recruiter]
Inputs: job_id (required), geek_id (required), security_id (required), raw.
boss_hr_whoamiA
招聘者模式:查看当前登录态是否处于招聘者侧。identity 为 1 才算就绪;profile_recruit 只回显,不切换身份 [可用性: roles=recruiter; candidate_platforms=-; recruiter_platforms=zhipin-recruiter]
Inputs: no named parameters.
boss_interviewsA
查看面试邀请列表 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: no named parameters.
boss_markB
给联系人添加或移除标签(新招呼/沟通中/已约面/不合适/收藏等) [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: tag (required), security_id (required), remove.
boss_meB
获取当前登录用户信息(基本信息、简历、求职期望、投递记录);仅 section=deliver 的信封 pagination 给出投递列表分页证据,has_more 仅平台返回布尔 hasMore 时有效,缺失或类型不明确时为 null [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: section, deliver_page.
boss_pipelineA
聚合聊天和面试数据,生成统一候选进度视图 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: days_stale.
boss_preset_addB
保存搜索预设 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: name (required), query (required), city, scale, +8 more.
boss_preset_listA
列出所有搜索预设 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: no named parameters.
boss_preset_removeB
删除指定搜索预设 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: name (required).
boss_recommendA
获取基于简历的个性化职位推荐;成功时 pagination.index_snapshot 给出本次写入的索引快照(source/page/count/saved_at),与 boss_show 的编号配套使用。 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: page, with_score.
boss_resume_listA
列出所有本地简历(名称、创建时间、关联职位数) [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: no named parameters.
boss_resume_showA
查看指定简历的完整内容(基本信息、教育、工作经历、技能、项目) [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: name (required).
boss_schemaA
返回 CLI 能力真源(命令、选项、枚举 choices、错误码与 wizard catalog);只读本地数据,不发平台请求 [可用性: roles=candidate, recruiter; candidate_platforms=zhipin; recruiter_platforms=zhipin-recruiter]
Inputs: format.
boss_searchA
按关键词和筛选条件搜索 BOSS 直聘职位列表。支持城市、薪资、经验、学历、行业、公司规模、融资阶段、职位类型、福利等多维度筛选;成功时 pagination.index_snapshot 给出本次写入的索引快照(source/page/count/saved_at),与 boss_show 的编号配套使用。 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: url, city, page, sort, +13 more.
boss_shortlist_addB
将职位加入本地候选池,可附加本地标签和备注 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: job_id (required), security_id (required), lid, city, +6 more.
boss_shortlist_annotateA
更新本地候选池职位的标签和备注;至少提供 add_tags、remove_tags 或 note 之一 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: job_id (required), security_id (required), note, add_tags, +1 more.
boss_shortlist_compareA
本地对比候选池职位,可按标签过滤 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: tag.
boss_shortlist_listB
查看候选池中的所有职位 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: no named parameters.
boss_shortlist_removeB
从候选池移除职位 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: job_id (required), security_id (required).
boss_showA
按编号快速查看上次搜索或推荐结果中的职位详情;返回的 index_snapshot 给出编号所属快照的来源、页码、条数与保存时间 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: number (required).
boss_statsB
投递转化漏斗统计(只读聚合打招呼、投递、候选池、监控数据) [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: days, format, output_file.
boss_statusA
检查 BOSS 直聘登录态;默认只查本地登录态,live 会发一次只读在线验证请求 [可用性: roles=candidate, recruiter; candidate_platforms=zhipin; recruiter_platforms=zhipin-recruiter]
Inputs: live.
boss_watch_addC
保存增量监控的搜索条件 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: name (required), query (required), city, scale, +8 more.
boss_watch_listA
列出所有已保存的监控条件 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: no named parameters.
boss_watch_removeC
删除指定监控 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: name (required).
boss_watch_runB
执行监控并返回新增职位列表;name 与 all 互斥,必须且只能提供一个 [可用性: roles=candidate; candidate_platforms=zhipin; recruiter_platforms=-]
Inputs: all, name.
boss_wizardA
执行、恢复、查询或停止与真人向导共享的持久化 workflow;先调用 boss schema 发现 wizard_catalog [可用性: roles=candidate, recruiter; candidate_platforms=zhipin; recruiter_platforms=zhipin-recruiter]
Inputs: goal, role, action, inputs, +5 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 80 tools
Several candidate-side clusters overlap: boss_search/boss_recommend/boss_crawl_results/boss_show/boss_detail all revolve around discovering and opening jobs, while boss_ai_optimize/boss_ai_resume_optimize/boss_ai_suggest and boss_chat_summary/boss_ai_chat_coach are easy to confuse. Role prefixes and detailed descriptions help, but an agent must parse long notes and explicit 'legacy compatibility' labels to choose correctly.
Nearly all tools use a boss_ + snake_case pattern with clear module prefixes such as boss_hr_, boss_ai_, boss_agent_, boss_shortlist_, and boss_watch_. A few bare names like boss_me, boss_search, and boss_detail deviate from a strict verb_noun pattern, but overall grouping remains predictable.
80 tools is far beyond practical MCP tool-set scope, even for a dual candidate/recruiter CLI. The surface includes many redundant or legacy compatibility endpoints, which significantly increases selection overhead.
Coverage is broad: search/recommend/detail, watch/presets/shortlist, greet/apply/chat/interviews, resume/AI helpers, stats/export/digest, plus recruiter-side candidate, chat, and resume flows. Minor gaps such as candidate-side direct message sending and recruiter job creation/editing prevent a perfect score.
Maintenance
Related MCP Connectors
LinkedIn outreach MCP server — 19 tools for AI agents to prospect, sequence, and manage contacts.
Managed LinkedIn MCP server for AI agents: search, connect, message and enrich on accounts you own.
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
The LinkedIn API for AI agents. Search, inbox, posts and outreach over MCP.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceAutomates job searching and initial communication on the Boss Zhipin platform by parsing resumes and matching them with relevant job listings. It includes anti-bot detection features and supports automated messaging to HR representatives through various MCP clients.10-
- AlicenseNot gradedqualityDmaintenanceMCP server for searching BOSS直聘 (Boss Zhipin) job listings. It provides a boss_search tool that supports multi-city queries, keyword filtering, and JSON output for AI agents.17MIT
- AlicenseNot gradedqualityBmaintenanceProvides MCP tools for job discovery, welfare filtering, resume and AI-assisted applications, and recruiter workflows across Chinese job platforms such as BOSS Zhipin, Zhilian, and 51job.MIT
- FlicenseNot gradedqualityAmaintenanceEnables AI assistants to drive a logged-in BOSS Zhipin recruiter account through the Model Context Protocol, running multi-keyword candidate searches, capturing Canvas-rendered resume screenshots, extracting permanent share links, auto-filtering and scoring candidates, sending greetings, and exporting Markdown reports. Results persist in a local database so interrupted pipelines can resume without losing data.-