Governance

MCP for HR: Workflows, Security and Human Approval

Design MCP-connected HR workflows with least privilege, sensitive-field masking, prompt-injection controls, audit trails and explicit human approval.

Written by
AI Agents at Work · editorial team
Updated
Reading time
7 min
Sections
7

The short answer

Model Context Protocol (MCP) standardizes how AI applications connect to external tools and data. In HR, that can support onboarding administration, leave-request preparation, policy lookup and recruiting coordination. It does not replace an HR system, establish a security policy or authorize employment decisions. A useful implementation gives software narrowly defined tasks, limits the information it can access and requires human approval before consequential actions. This guide explains how to draw those boundaries, test them and calculate whether a small pilot creates worthwhile time value.

Key takeaways

  • Map each HR workflow to explicit record scopes, fields and read, draft or execute permissions before connecting tools.
  • Keep hiring decisions and leave-policy determinations with authorized humans; require approval of exact payloads before consequential execution.
  • Test prompt injection, cross-employee access, sensitive-field leakage and duplicate retries using synthetic records before a production pilot.
  • Track time saved alongside oversight and rework, and report capacity value separately from realized cash savings.
Part of the complete guideAI Agent Governance, Security and Compliance: The Complete Guide →

01What MCP does—and what it does not

The official MCP architecture documentation describes hosts, clients and servers: an AI application acts as a host, its clients connect to servers, and those servers expose capabilities such as tools, resources and prompts. For HR, a server might expose a policy search resource or a tool that prepares an onboarding task. Those are illustrative designs, not capabilities guaranteed by MCP or any vendor.

MCP is a connection standard, not an HR system or a security policy. Connecting a tool does not establish who may use it, which employee records they may access or whether an action needs approval. Enforce those rules in the application, tool server and underlying systems. Similarly, an “AI employee” or “AI worker” is shorthand for a software role, not legal employment.

If evaluating Switch alongside other options, verify the proposed integration and control boundaries directly; do not infer HR functionality from an MCP label. For broader workflow planning, see AI for HR and recruiting, and use AI agent integrations to map dependencies before connecting production records.

02Four HR workflows with explicit decision boundaries

Onboarding: the assistant can assemble a checklist from an approved role template, identify missing administrative information and draft welcome communications. Limit its inputs to necessary fields such as name, start date, manager and work location. Exclude bank details, identity documents and medical information. HR approves the checklist and communications; managers or system owners approve access grants separately. A prepared task must not silently become permission to provision accounts.

Leave requests: the assistant can collect dates, identify the relevant published policy and prepare a request for the designated approver. It should not decide eligibility, approve or deny leave, or infer medical circumstances from free text. Keep private reasons out of shared calendars. Ambiguous balances, conflicting policies and requests involving sensitive circumstances go to HR rather than being resolved through model judgment.

Policy questions: retrieve answers from a controlled policy collection and show the source, version or effective date, and applicable jurisdiction or employee group when available. Distinguish a quoted rule from an interpretation. If sources conflict, the assistant should explain that it cannot establish the applicable rule and refer the question to its owner. General policy search should not require access to employee case files.

Recruiting coordination: prepare interview options, draft scheduling messages and track administrative steps against recruiter instructions. Give the assistant availability information rather than unrestricted calendar details. Keep candidate ranking, screening, rejection and hiring decisions outside this workflow. A recruiter should approve candidate-facing messages before sending, particularly when wording could imply an offer or a decision.

03Apply least privilege to identities, tools and fields

Start with an access matrix that names the requester, permitted record scope, allowed fields and permitted operations for each workflow. An employee may read their own request status; a manager may see only authorized team information; a recruiter may access assigned vacancies. Check authorization at every tool call against trusted identity and current permissions—not a name, role or employee identifier supplied in a prompt.

Separate read, draft and execute tools. A policy-search connection should not share credentials with a personnel-record update connection. Prefer narrowly scoped functions such as preparing a specific request over general database queries or unrestricted HTTP access. Use limited service identities, protect credentials outside model context and revoke access when responsibilities change.

Mask or omit sensitive fields before data reaches the model. Salary, bank details, health information, government identifiers and investigation records should be unavailable unless a separately justified workflow needs them. Check free-text notes and attachments too: filtering structured fields alone leaves substantial exposure. Apply equivalent restrictions to retrieved snippets, error messages, traces and exported logs.

04Treat retrieved content as untrusted input

An uploaded CV, policy attachment or calendar description can contain instructions intended to redirect the assistant. This is a prompt-injection risk: external content may ask the model to reveal records, ignore approval requirements or call another tool. The OWASP explanation of prompt injection provides useful background. Treat retrieved text as evidence to inspect, never as authority to change permissions.

Enforce tool allowlists, input validation, destination restrictions and approval gates outside the model. For example, an onboarding document asking the assistant to email the employee directory must not create a new recipient or authorize an export. Test malicious instructions embedded in documents, cross-employee identifier substitutions and unauthorized write attempts. A safe result is a blocked operation with a useful explanation, not merely a model response promising restraint.

05Make approval and audit records operational

For high-impact actions, approval must occur before execution and cover the exact proposed change. Show the approver the affected record, action, recipients, relevant source and proposed payload. Bind approval to that payload and invalidate it if material details change. A general “continue” click earlier in a conversation is not adequate approval for a later access grant or sensitive disclosure.

Record the requesting identity, tool invoked, authorization outcome, source references, approval identity and time, execution result and correlation identifier. Preserve enough evidence to reconstruct events without copying full sensitive documents into logs. Restrict audit access and define retention with the responsible data owner. For retries, prevent duplicate tasks or messages; after an uncertain result, verify system state before trying again.

Assign an HR workflow owner and a technical incident owner. They need a practical stop mechanism, credential-revocation procedure and route for correcting mistaken writes. Review blocked attempts, approval overrides and incorrect answers during the pilot. Where GDPR applies, its official text is a primary reference for data minimisation and other obligations; adopting MCP does not establish compliance.

06Measure a bounded pilot before expanding access

Begin with one low-risk workflow, such as drafting onboarding checklists from approved templates, using synthetic records before production access. Define acceptance criteria: no unauthorized record access, no execution without required approval, accurate source references and a manageable review burden. Test exceptions as deliberately as successful requests. Expand access only after the workflow owner reviews both quality and control failures.

Consider this hypothetical monthly calculation, not a vendor quotation: 100 tasks at 15 minutes before and 5 minutes after save 1,000 minutes, or 16.7 hours. At EUR40/hour, the unrounded time saving has a value of EUR666.67. Subtract EUR300 monthly software and EUR100 monthly oversight to get EUR266.67 net monthly value. EUR800 setup divided by that net gives an approximately 3-month simple payback.

Time value is not necessarily cash savings: salaries may remain unchanged, and freed capacity must be usable. Define the five-minute task time separately from the additional monthly oversight allowance to avoid double counting. Measure actual handling time, rework, exception volume and review effort. If approvals become slower or errors require repeated correction, update the calculation rather than treating the illustrative result as a forecast.

07Plan the next workflow

For a supplier-specific view, see Switch's MCP overview and its explanation of MCP. Treat these as vendor material: verify the HR system connection, permissions and approval controls separately before a pilot.

Frequently asked questions

Does an HR system need native MCP support?

Not necessarily. An MCP server can provide an adapter to an existing authorized API. First verify that the underlying system supports the required operations and access controls. An adapter cannot legitimately bypass missing permissions, and its maintenance, credential handling and error recovery remain implementation responsibilities.

Can the assistant automatically approve a straightforward leave request?

Not within the workflow described here. It can prepare dates, retrieve policy text and route the request, but an authorized human decides. Even apparently straightforward requests may involve exceptions or private circumstances that should not be inferred from incomplete records.

How should policy answers handle conflicting versions?

Show the conflicting source titles and effective dates, avoid selecting a rule without a trusted applicability rule, and route the question to the policy owner. Correct the source collection before resuming routine answers; asking the model to guess the newest applicable policy is not a reliable fix.

What should happen if an approved message changes before sending?

Invalidate the approval and present the revised message and recipients for review. The execution tool should verify that the approved payload matches the outgoing payload. This prevents an earlier approval from covering a later change that discloses additional information or implies a different employment outcome.

Does the three-month payback example justify purchasing software?

No. It illustrates simple payback using hypothetical time value and costs, with rounding. Validate volumes, handling time, additional oversight and setup effort in a pilot. A financial case also needs to distinguish usable staff capacity from actual budget reductions and account for costs omitted from the example.

How this guide was made

These guides are written and language-reviewed with AI assistance; they have not been independently verified by a human specialist. Check current vendor documentation and applicable rules before making decisions. Tools mentioned may have a commercial relationship with this site.

Keep reading