
PrismHR MCP
io.github.nikulk2992-jpg由 GitHub 账号 nikulk2992-jpg 发布v0.1.0.dev57更新于 Oct 24, 2026
Open-source MCP server for PrismHR. PEO workflow tools + Microsoft 365 connectors.
概览
开源 MCP 服务器,通过经验证的 API 将 AI 助手连接到 PrismHR PEO 租户,查询客户、员工、薪资、福利和账单数据。
- 可以做什么
- 发现并描述 PrismHR API 方法,并通过通用元工具调用经验证的方法,同时提供能力概览和助手可请求、授予权限的作用域同意流程(meta_about、meta_find、meta_describe、meta_capabilities、meta_call、meta_request_permissions、meta_grant_permissions)。读取 PrismHR 租户中的客户和员工记录。读取薪资数据,例如批次和凭证。访问福利、合规、账单和报表工具组,写操作需主动开启并受作用域限制。README 的架构和付费层级还描述了 Microsoft 365 连接器(Outlook、Teams、SharePoint)。
- 适用场景
- 适合运行 PrismHR 的 PEO、经纪商和薪资团队,希望 AI 助手无需编写自定义集成代码即可查询自己租户的客户、员工、薪资和福利数据。建议先在 UAT 环境使用,生产环境需明确开启。
- 运行要求
- 以 PyPI 包(prismhr-mcp)通过 stdio 在本地运行,使用 uv 安装。需要 PrismHR API 凭据:PRISMHR_MCP_USERNAME 和 PRISMHR_MCP_PASSWORD 以及必填的 PRISMHR_MCP_PEO_ID,或通过 PRISMHR_MCP_ONEPASSWORD_VAULT 和 PRISMHR_MCP_ONEPASSWORD_ITEM_PRISMHR 使用已登录 op CLI 的 1Password。PRISMHR_MCP_ENVIRONMENT 选择 uat(默认)或 prod,prod 还需 PRISMHR_MCP_ALLOW_PROD=true。需要访问 PrismHR 的网络连接。
安装
在 SourceWeft 中
- 打开 控制台中的 PrismHR MCP,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
prismhr-mcp
The open-source Model Context Protocol (MCP) server for PrismHR. Connect Claude, Cursor, or any MCP-compatible AI agent directly to your PrismHR PEO platform. Automate payroll, benefits enrollment, compliance reporting, AR/billing, carrier EDI files, and Microsoft 365 actions — with verified-schema tools, scope-gated consent, and zero custom integration code.
Built for PEOs, brokers, and payroll operators who want AI agents that actually work against PrismHR — not another brittle script farm.
Maintained by Simploy. MIT-licensed, PyPI-distributed, plugin-friendly. The fundamental layer for PrismHR × agentic AI.
mcp-name: io.github.nikulk2992-jpg/prismhr-mcp
Keywords: PrismHR API, PrismHR integration, MCP server, Model Context Protocol, PEO automation, payroll automation, AI for HR, Claude for PrismHR, agentic AI, benefits enrollment automation, 834 EDI, 401(k) file automation, HRIS AI agent, PEO software integration.
Why this exists
Every PEO running PrismHR ends up with the same Frankenstein stack: Python
scripts, Postman collections, Playwright automations, one-off Node apps.
Each one re-implements login, session keepalive, retry logic, pagination,
and PrismHR's quirks (camelCase schemas, 500 "No data found" gotchas,
batch-of-20 caps, silent 401s).
prismhr-mcp centralizes all of that once, as a production-grade MCP server.
The AI agent orchestrates; the server owns auth, caching, retries,
normalization, and PEO domain logic. Any PEO drops it in and gets a
productive AI experience against their own PrismHR tenant — no glue code,
no guesswork, no hallucinated endpoints.
Who this is for:
- PEOs running PrismHR who want to wire Claude / Cursor / ChatGPT Desktop directly into their ops stack
- Benefit brokers and carriers building enrollment automations
- Payroll teams replacing brittle Postman / Playwright workflows
- Consultants shipping PEO AI pilots on tight timelines
Status
Production-ready core. Live on PyPI and the MCP Registry.
- Auth + session + HTTP client: done. 1Password CLI integration, scrypt-encrypted disk credential cache, PrismHR session with proactive keepalive (no mid-workflow 401s), automatic refresh on failure, concurrency cap, retry with jittered backoff, 500→empty quirk handling, pagination, batching.
- Verified-schema gate: every tool grounded in a live UAT probe — no guessed endpoints, no invented fields. 102 response shapes verified and rising.
- 447-method catalog: full PrismHR REST surface indexed across 18
services.
meta_calllets the agent invoke any verified method safely. - Connect-time consent system: 15-scope manifest, per-(peo, env) JSON consent store with prerequisite expansion and cascade revoke. Default posture = deny all. Tools enforce scope at call time.
- Production safety gate:
PRISMHR_MCP_ALLOW_PROD=truerequired to point at prod PrismHR. Prevents accidental first-run blast radius. - MCP Registry listed: discoverable by every MCP-aware client.
- Test suite: passing via pytest + respx.
See .planning/architecture.md for the full roadmap and
.planning/assistants-roadmap.md for the paid tier details.
What this unlocks for PEOs
Once wired into your PrismHR tenant, an AI agent (Claude, ChatGPT, Cursor) can run any of these workflows against live data — read-only by default, write actions opt-in and scoped.
Daily ops
- New Hire Onboarding Audit — every new hire checked for missing SSN, address, E-Verify clearance, required deductions, garnishment setup. Flags problems before first paycheck.
- Payroll Batch Health Check — real-time status of every open batch; catches stale INIT, stuck approvals, pay-date-past without post, negative net, missing vouchers.
- Terminated Employee Cleanup — post-termination checklist: final check issued, deductions stopped, benefits ended, COBRA record created, PTO paid out, ACH retired.
- Manual Check Audit — flags off-cycle checks without reason codes, excessive amounts, duplicates within a window, repeat-monthly patterns.
Compliance
- ACA Configuration Integrity — catches the setup errors PrismHR itself flags as the #1 cause of 1094-C/1095-C penalty exposure.
- 1095-C Value Consistency Audit — post-generation audit of every 1095-C form; flags code 1H posted while employee was enrolled, safe-harbor conflicts, status-type-change-driven code drift, waiting-period miscoding, ICHRA codes used for pre-2020 years.
- Dependent Coverage Age-Out — dependents past the ACA age threshold, or nearing it in the next 30/60/90 days.
- COBRA Eligibility Sweep — qualifying events, notice-window countdown, election-deadline warnings.
- Garnishment Payment History — active garnishments with no payments, overdue remittances, multi-garnishment priority checks.
- W-2 Readiness Check — pre-flight for January: SSN present + correct format, federal withholding configured, YTD sanity.
Reconciliation
- YTD Payroll Reconciliation — bulk year-to-date totals vs sum of voucher history; finds silent drift before W-2 season.
- 941 Quarterly Reconciliation — federal tax return tie-out per quarter; wages, FIT, Social Security, Medicare, Additional Medicare.
- Benefits-Deduction Audit — enrolled-but-not-deducted and deducted-but-not-enrolled mismatches; the silent premium leaks.
- Billing-vs-Payroll Wash Audit — per-employee plan-level check.
- Billing-vs-Payroll Reconciliation (client level) — monthly controller tie-out.
- 401(k) Match Rule Compliance — employer match vs plan formula, 402(g) limit watch, catch-up eligibility for 50+.
- 401(k) True-Up Calculation — year-end match owed for employees who hit deferral limit early and lost proportional match.
Benefits + AR
- FSA/HSA Contribution Limit Tracker — IRS 2026 limits watched with over-limit, approaching-limit, and projected-overage findings.
- Retirement Loan Status — default risk + past-term loans + deemed-distribution exposure.
- Workers Comp Exposure — estimated premium per class code per state using current wages × rate × experience modifier.
- Outstanding Invoice Aging — AR bucketing + at-risk-client flag.
- PTO Balance Reconciliation — negative balances, over-cap, stale accrual, missing class assignment.
- Doc Expiration Sweep — I-9 + identity documents expiring in the next 30/60/90 days.
- Client Go-Live Readiness — pre-payroll checklist + readiness score for new PEO clients.
Carrier + distribution
- Carrier Enrollment (834 5010) — generic writer + per-carrier companion-guide configs. Guardian model live; BCBS Michigan, Sun Life EDX, Voya PDI, Empower PDI on the pilot roadmap.
- W-2 Distribution Assistant — bulk download, certified-mail shipping, electronic delivery with consent check, SharePoint archive — all composable.
Every workflow returns structured findings with severity and remediation hints, so an AI agent can chain them into higher-order reports (month-end close pack, year-end filing pack, new-client go-live pack, etc.).
Tiering: the OSS core is free. The workflows above ship in the
paid prismhr-mcp-simploy tier — source-available, per-PEO license.
Contact [email protected].
Editions
prismhr-mcp ships in three tiers. Core is free forever. Paid tiers layer
commercial PEO intelligence on top.
Tier 1 — prismhr-mcp (this repo, MIT, free)
The foundation. What's in the box:
- PrismHR session manager with keepalive + auto-refresh
- 447-method catalog + verified-schema
meta_call - Scope-gated consent, prod safety gate, encrypted credential cache
meta_find,meta_describe,meta_capabilities- Client + employee + payroll read tools grounded in live UAT
- MCP Registry listing, PyPI distribution
Use this if you want to run Claude against your PrismHR tenant today with zero custom code.
Tier 2 — prismhr-mcp-simploy (paid, source-available) — in active build
Named AI Assistants that ship PEO workflows end-to-end. Built on the OSS core. Licensed per-PEO.
Shipping now:
- Carrier Enrollment Assistant — generic 834 5010 EDI writer + carrier companion-guide configs. Guardian model prototype live (8 tests green). BCBS Michigan, Sun Life EDX, Voya PDI, Empower PDI on deck for Phase 1 pilot. SFTP delivery + delta tracking next.
- 401(k) file automation — Empower PDI, Voya payroll, Fidelity tape-spec fixed-width formats.
On the roadmap:
- Payroll Ops Assistant — void/correction workflows, deduction conflict detection, overtime anomaly flags, superbatch reconciliation
- Benefits Admin Assistant — benefit election audits, COBRA eligibility, ACA status, carrier sync verification
- Compliance Assistant — W2/941 reconciliation, garnishment tracking, state tax setup, I-9 audits, workers' comp codes
- AR / Billing Assistant — billing-vs-payroll audits, invoice summaries, employer tax liability
- Branded reporting — Simploy-branded PDF/XLSX via pluggable brand + template registry (white-label ready)
- Microsoft 365 connectors — Graph API email, SharePoint upload, Teams posts, Outlook events/tasks
Tier 3 — prismhr-mcp-broker (paid, hosted) — planned
Multi-tenant hosted MCP endpoint so carriers, ERPs, and EDI providers can reach any PrismHR PEO through a single integration. One endpoint, many tenants, centralized compliance. Deferred until Tier 2 ships with a second PEO.
Interested in Tier 2 or Tier 3? Contact [email protected].
Quick start — UAT smoke test
Only UAT is supported without an explicit opt-in right now. Prod is guarded behind
PRISMHR_MCP_ALLOW_PROD=true.
1. Install
2. Configure credentials
Copy .env.example → .env (or set env vars). Pick ONE path:
Path A — 1Password CLI (recommended):
Requires op CLI signed in (op signin). The item must expose fields
labeled username and password (optionally peoId).
Path B — direct env vars (fast, CI-friendly):
3. Sanity check
Expect 9 tools.
4. Register with Claude Code
Add to your Claude Code .mcp.json:
Restart Claude Code. /mcp should show prismhr-mcp connected with 9 tools.
5. First conversation
6. Run tests
Architecture in one breath
Key design commitments:
- Factory + strict registry. Tools register via
server.build()only; duplicate names or unknown group prefixes fail at boot (not silently at import). - Deny-default scopes. Users must run
meta_grant_permissionsto enable tool access. Prerequisites auto-expand, revokes cascade. - Async-first.
httpx.AsyncClient+asyncio.Semaphore(5)+ async tools. - PrismHR quirks handled. 401 auto-refresh, 404→
[]on list endpoints,500 "No data found"→ empty, 10-consecutive-500s → force refresh. - snake_case outputs. Pydantic
validation_alias=AliasChoices(...)so PrismHR's camelCase payloads map to snake_case outputs without leaking camelCase into the MCP tool contract. - Per-(peo, env) consent. Switching UAT → prod does not inherit grants.
Commercial support
The OSS core stays free forever. Two paid offerings from Simploy layer on top:
Solution Architect — White-Label deployment
Turnkey deployment of prismhr-mcp for your PEO brand:
- Brand config authoring (logo, palette, typography, PDF footer, legal disclaimer)
- Per-client SharePoint site mapping + Azure AD / Graph tenant setup
- Custom PrismHR tools for PEO-specific workflows
- Migration from spreadsheets / legacy scripts to MCP tools
- PEO ops team onboarding + Claude/Cowork workflow coaching
- Quarterly updates aligned with upstream releases
- Priority issue response + named Slack/email contact
Best for PEOs with 50–5,000 clients who want Claude-first operations without the in-house build. Contact: [email protected]
Enterprise Support
SLA-backed support for teams already running the OSS server:
- 4-hour response on Sev-1 (prod outage)
- Annual security review + SOC-2-friendly deployment guidance
- Signed release artifacts + SBOM
- Private vulnerability disclosure channel
Best for regulated industries or mid/large PEOs with procurement requirements. Contact: [email protected]
Claude can surface both via meta_about — ask "what commercial options
exist for prismhr-mcp?" and it will describe them.
Troubleshooting
No PrismHR credentials configured — set either the 1Password item
env vars or the direct PRISMHR_MCP_USERNAME/_PASSWORD pair.
PrismHR login rejected (status=401) — wrong username/password/peo_id.
The peo_id is tenant-specific; ask your PrismHR admin. Prod and UAT have different values.
environment=prod requires PRISMHR_MCP_ALLOW_PROD=true — safety gate.
Set PRISMHR_MCP_ALLOW_PROD=true explicitly once you're ready.
PERMISSION_NOT_GRANTED — tool was called without its scope. Ask
Claude to run meta_request_permissions → then meta_grant_permissions
with the scope you want.
Server exits immediately when Claude Code starts it — nearly always a missing env var. Use the step-3 sanity check to isolate.
License
MIT — see LICENSE. Contributions welcome; see the planning docs
under .planning/ for the roadmap.
来源:README.md,提交 7c4b042
工具
0版本历史
1- v0.1.0.dev57最新Sep 16, 2026
评分
已满足适用检查项的 40%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。