MCP and HIPAA or GDPR: compliance when MCP servers handle regulated data

An MCP server that receives patient or personal data can bring its operator into HIPAA business associate or GDPR processor duties. This page maps each duty to MCP controls, configuration and the evidence reviewers ask for, and states what the protocol and vendors leave to your organization.

On this page

Which MCP HIPAA and GDPR compliance duties apply when agents send regulated data

When an agent sends patient or personal data to an MCP server run by someone else, the reviewer's first question is whether that operator is a HIPAA business associate or a GDPR processor, because the answer decides which contract must exist before any data flows. The MCP specification says the protocol cannot enforce its own security principles at the protocol level. Consent, access control and data protection therefore sit in three places: the client that asks the user for approval, the server that checks authorization, and the organization's contracts with each operator. DeployOpen prepares the evidence for that review, but it does not issue certifications or attestations. The HIPAA and GDPR determinations remain with counsel, the compliance team and the covered entity or controller.

Under 45 CFR 160.103, a business associate is anyone who creates, receives, maintains or transmits protected health information on behalf of a covered entity, and a subcontractor that does so for a business associate is also a business associate. The same definition covers data transmission services, such as a health information organization or an e-prescribing gateway, when they need routine access to that information. Where the test is met, 45 CFR 164.502(e) allows the disclosure only after satisfactory assurances in a written contract that meets 164.504(e), commonly called a business associate agreement. Reviewers should map each MCP server in the workflow to a role: hosted by the covered entity, run by a vendor that will hold PHI, or a relay with routine access. A relay can still qualify. Ask each operator whether it will sign a BAA and whether its hosting providers will sign too.

For GDPR, EDPB Opinion 22/2024, adopted on 7 October 2024, expects the controller to keep the name, address and contact person of every processor and sub-processor readily available, regardless of risk, and to verify that each gives sufficient guarantees. The final decision to engage a specific sub-processor stays with the controller, so an MCP server's undisclosed downstream calls are a finding. OpenAI's API documentation says every MCP server is a third-party service under its own terms, that data sent to it follows that server's retention and residency policies, and that customers must confirm the server meets any zero data retention requirement. Its Responses API asks for approval by default before sending data to a remote MCP server and recommends logging that data. Microsoft's Foundry documentation says authenticating an agent to a tool does not change the external provider's data handling. Authentication is not a data processing agreement.

MCP HIPAA and GDPR compliance requirements mapped to controls

This table maps the HIPAA and EDPB requirements that apply when an agent sends patient or personal data to an MCP server to the capability that bears on each one and the configuration or contract you must hold. The middle column says what MCP or the vendor provides, and the last column says what your team or your contract must supply. Where MCP offers no control, the last column names the contract term or configuration that has to fill the gap.

RequirementMCP or vendor capabilityConfiguration or contract to hold
45 CFR 160.103 business associate and subcontractor definitionsMCP has no control here. Data transmission services needing routine PHI access also count as business associates.Decide per server whether it is a business associate or subcontractor before PHI is sent. Document the decision.
45 CFR 164.502(e) assurances and 164.504(e) written contractNo MCP feature creates a BAA. Authenticating an agent to a tool does not change the tool provider's data handling.Hold a written BAA with each server operator that is a business associate, meeting 164.504(e), before any PHI is sent.
EDPB: processor and sub-processor identities at all timesMCP cannot enforce this at protocol level. Identity data comes from the server operator.Keep a current register of each server operator and its sub-processors, with name, address and contact.
Duty to verify sufficient guarantees, regardless of riskThe protocol does not vouch for a server's security. Review its authentication, retention and residency terms directly.Run and record a documented assessment of each server before use, even for low-risk data.
Controller's final decision on each sub-processorPlatform approval prompts are a technical gate only. They do not record a legal decision.Your privacy lead signs off each server before use and files the sign-off with the processor register.
OpenAI approval and logging for remote MCP serversApproval is on by default, and OpenAI recommends reviewing and logging all data sent to remote MCP servers.Keep approval enabled and log every remote server call, the data sent and who approved it.
OpenAI zero data retention requirementData sent to an MCP server follows that server's retention and residency policies.Get the server's written retention and deletion terms and confirm it meets your zero data retention requirement.
What MCP itself does not provideThe specification says the protocol cannot enforce its security principles. Consent, access and data controls sit in your application.Your contract with each operator must supply BAAs, retention terms, logs and sub-processor lists.

When an MCP server operator needs a BAA under HIPAA

An MCP server operator needs a business associate agreement when it creates, receives, maintains or transmits protected health information on behalf of a covered entity or a business associate. Under the definition in 45 CFR 160.103, a subcontractor that does this for a business associate is also a business associate, so a hosted MCP server that an agent vendor calls on a clinic's behalf can sit inside the chain even though the clinic never signs with it directly. The same definition treats data transmission services that need routine access to protected health information, such as a health information organization or an e-prescribing gateway, as business associates. An MCP server that relays patient records between an agent and a clinical system may fit that description when routine access to those records is part of the service.

Disclosure is the second test. Under 45 CFR 164.502(e), a covered entity, or a business associate passing data to a subcontractor, may share protected health information only after it obtains satisfactory assurances in a written contract that meets 164.504(e). That contract is the business associate agreement. For MCP, the disclosure happens at the tool call: when an agent sends a patient identifier or a clinical note to a remote server, the covered entity or its business associate must already have a contract covering that server. Check the contract before the pilot begins. Confirm that the server appears in the agreement chain, that the agreement covers the tools and data types staff will use, and whether the client asks for approval before data goes to the server, since that prompt may be the only point where a person sees the disclosure.

Whether a specific MCP operator qualifies is a legal determination. Confirm it with counsel against the text of 45 CFR 160.103 and 164.502(e) before the server is approved for protected health information. Gather these facts first: access (which fields a tool accepts and returns, whether the operator's staff or systems read payloads, and whether that access is routine or incidental); storage (whether prompts, arguments and results are kept, for how long, in which region, and in which backups or caches); logging (whether request logs, traces, error reports or analytics capture payload content, and who can read them); and subcontractors (the hosting provider, the logging vendor and any model provider the server calls). Ask the operator for these answers in writing. Where it cannot answer, treat the server as handling protected health information until counsel decides otherwise.

How regulated data moves from the agent to a remote MCP server

The diagram starts on the staff member's agent host, where a tool call enters the MCP client. The approval prompt in the client is the consent point, and nothing should leave the organization until that prompt is answered. The approved request then crosses into the MCP operator's boundary, where the remote server passes data to its upstream sub-processors and writes its own logs. The retention and residency policy that applies to the server governs what happens to the data after that hand-off. Check that your own audit log records each request on the organization side, and that you can name every sub-processor in the path.

Trust boundaries, consent point and log locations for one remote MCP call.

What GDPR processor and sub-processor duties mean for MCP servers

Under EDPB Opinion 22/2024, adopted 7 October 2024, a controller should have the name, address and contact person of every processor and sub-processor readily available at all times, regardless of risk. Processors should supply that information proactively and keep it current. An MCP server that handles personal data can add links to the chain: the organization as controller, the MCP operator as processor, and any cloud host or model provider the operator calls as sub-processor. The practical test is whether your privacy team can name each party today without waiting on the vendor. If it cannot, the register is incomplete, and the duty applies even when the server only touches low-sensitivity records. Keep the register with your records of processing and refresh it whenever an MCP server is added or its upstream changes. The EDPB opinion is the text to give your privacy team.

The controller must also verify that each processor and sub-processor gives sufficient guarantees, and under EDPB Opinion 22/2024 that duty applies regardless of risk. For an MCP operator, a general security questionnaire answer does not satisfy it. You need evidence about the specific parties that will receive your data, such as their security commitments and where they process it. The second point is decision rights. The final decision to engage a specific sub-processor stays with the controller, so an operator's notice that it has moved to a new model provider cannot be treated as settled. Illustrative example: a benefits team connects an MCP server that retrieves case notes, and the operator then routes inference through a new provider in another country. The team should decide before that provider receives any case note, and the contract should give it notice and a right to object.

When an MCP server forwards personal data to its own cloud or model provider, that provider is usually a sub-processor of the operator, which brings it into your assessment. Confirm the roles first: an operator that uses the data for its own purposes may be a controller, and that changes the contract you need. Before go-live, request in writing the name, address and contact person for each sub-processor the server calls; the regions where each one processes and stores data; retention at each step, including any zero data retention arrangement; flow-down of the same obligations to each sub-processor; advance notice and an objection right for any change; and breach notice in time for you to meet your own deadlines. OpenAI's API documentation says data sent to an MCP server follows that server's retention and residency policies, so check that the upstream terms match.

What OpenAI and Microsoft say about data sent to third-party MCP servers

OpenAI's API documentation for connectors and remote MCP servers draws the boundary clearly: each MCP server is a third-party service, and the data you send it follows that service's terms. The statements below come from OpenAI's connectors and MCP server guide. They are the starting position for a vendor review, not proof of how any given server handles data.

  • Third-party terms apply. All MCP servers are third-party services under their own terms, so an agreement with OpenAI does not by itself cover what a server stores or does with the data it receives.
  • Server retention and residency govern. Data sent to an MCP server is subject to that server's retention and residency policies, which can differ from the policies on your OpenAI account.
  • Zero data retention must be checked per server. Customers must ensure the server meets any zero data retention requirement they hold, so that requirement has to be verified against each server you approve.
  • Approval is requested by default. The Responses API asks for approval by default before data is shared with a connector or remote MCP server, so approval settings should be reviewed, documented and tied to a named owner.
  • Review and log outbound data. OpenAI recommends reviewing and logging all data sent to remote MCP servers, so your team should keep its own record of what each server received.

Confirm with OpenAI, in writing, which approval and logging behaviors apply to your plan and API configuration, and obtain each server operator's retention and residency terms before you approve it.

Evidence that supports MCP HIPAA and GDPR compliance reviews

Each item below is a record a privacy officer, compliance lead or auditor will ask for when an MCP server touches patient or personal data. Keep them together in one register, give each record a named owner, and tie it to the server it describes. DeployOpen prepares this evidence, but independent auditors and certification bodies are the ones who assess it.

Register of MCP servers

Keep one register that lists every MCP server staff can reach, with the operator's legal name, registered address and named contact person. Record the owning team, the data categories each server may receive, and whether the server is vendor-hosted or self-hosted. EDPB Opinion 22/2024 says controllers should be able to identify all processors and sub-processors at any time, so reviewers will expect this register first. Store it in your GRC or asset system under change control, and update it whenever a server is added, moved or retired.

EDPB Opinion 22/2024

Signed BAAs or processor terms

If an MCP server operator receives protected health information on your behalf, it is a business associate or a subcontractor under 45 CFR 160.103. Disclosure then needs satisfactory assurances in a written contract that meets 45 CFR 164.504(e). Ask each operator whether it will sign a business associate agreement before any PHI flows to it, and file the signed copy against its register entry. Do not assume that the operator's standard terms of service serve the same purpose. Re-check the agreement when the operator changes hosting or sub-processors.

45 CFR 164.502 text

Sub-processor list history

Save each operator's sub-processor list as a dated snapshot, and keep every earlier version so you can show what changed and when. EDPB Opinion 22/2024 says the controller's duty to verify that processors and sub-processors give sufficient guarantees applies regardless of risk, and that the final decision to engage a sub-processor stays with the controller. Decide on each new sub-processor before data flows to it. Subscribe to the operator's change notices, record who approved each addition, and file that decision with the snapshot. If an operator will not notify you of changes, record that as a review finding.

Client approval and consent records

Record who approved each MCP server for each use case, which tools and scopes were allowed, and the approval date. The MCP specification says the protocol cannot enforce its security principles itself, so consent and authorization must be built into your own processes and applications. OpenAI's documentation says its Responses API asks for approval by default before data is shared with a connector or remote MCP server. Keep one approval record per server and use case in your change ticketing system, and reopen it when a server adds tools or broadens scopes.

Logs of data sent out

Keep a log of every request that sends data to a remote MCP server, including the server, the tool name, the user or service identity, the timestamp and the data categories included. OpenAI's documentation recommends reviewing and logging all data sent to remote MCP servers, which gives reviewers a concrete control to test. These logs may themselves contain personal data or PHI, so apply the same retention and access limits to them as to the source records. After each client upgrade, confirm that logging still captures remote calls, because a silent change would break the evidence trail.

OpenAI connectors docs

Retention and residency statements

Save each operator's retention and data residency statements as a dated, versioned copy, and record the version and the date you captured it. OpenAI's documentation says data sent to an MCP server is subject to that server's retention and residency policies, and that customers must confirm the server meets any zero data retention requirement. Microsoft's documentation says authenticating an agent to a tool does not change the external provider's data handling, so sign-in evidence is not retention evidence. Re-capture each statement when the operator publishes a new version or at contract renewal.

Foundry agent identity docs

Configuration sequence before regulated data reaches an MCP server

This sequence sets the order in which an organization should clear each MCP server before an agent sends patient or personal data to it. Each phase produces a record that a privacy officer, security reviewer or counsel can check. No server should receive regulated data until the final phase has a documented result.

  1. Inventory every MCP server agents can reach

    The security or platform team lists every MCP server that a staff member's agent can load, including servers added through local configuration files and servers reached through hosted connectors. For each entry, record the operator's legal name, whether the server is vendor-published or community-built, where it runs, and which tools it exposes. The step is done when the list matches what the client actually loads on a test machine, and no loadable server is missing from the inventory.

  2. Classify the data each server may receive

    Privacy and compliance owners work with the data owners to decide which categories of data each server could receive. Classify protected health information and personal data separately, and include tool arguments and returned content, because an agent can place a patient identifier inside a search query or a record lookup. The output is a per-server classification sheet signed off by the privacy officer. The step is done when every server is tagged with the highest category it could receive.

  3. Determine business associate or processor status

    Counsel decides, for each operator, whether it is a business associate under HIPAA or a processor under GDPR. Under 45 CFR 160.103, a business associate creates, receives, maintains or transmits protected health information on behalf of a covered entity, and a subcontractor that does so for a business associate is included. Data transmission services that need routine access to that information also count. Record the reasoning for each operator, including servers that never receive regulated data and the reason they do not.

  4. Obtain the written contract or vendor terms

    For each operator that is a business associate, obtain a signed business associate agreement before any protected health information reaches it. Under 45 CFR 164.502, that sharing must rest on satisfactory assurances documented in a written contract that meets 164.504(e). For GDPR processors, obtain the written processing terms the regulation requires. If an operator will not sign such terms, keep that server away from regulated data and file the refusal with the server record.

  5. Configure client approvals and allowlists

    The platform team sets the client's managed configuration so that only approved servers load and each remote server requires user approval before any data is shared with it. Use the allowlist and approval settings of the chosen client, and block connections to servers outside the list. Confirm in testing that a local configuration file cannot add a server that the managed settings omit. The step is done when an unlisted server does not load and an approved remote server prompts for approval before it receives data.

  6. Enable logging of data sent to remote servers

    Turn on logging for every call that sends data to a remote MCP server, and record the server name, the tool, the time, the user and the data categories involved. OpenAI's API documentation recommends reviewing and logging all data sent to remote MCP servers, and the same practice supports HIPAA and GDPR audit needs. Confirm where the logs are stored, who can read them and whether the logs themselves hold regulated content. The step is done when a test call appears in the log with the expected fields.

  7. Confirm zero data retention or retention settings

    For each server that will handle regulated data, get the operator's retention and residency settings in writing. OpenAI's documentation states that data sent to an MCP server follows that server's retention and residency policies, and that customers must ensure the server meets any zero data retention requirement. Where the organization requires zero data retention, ask the operator to confirm it in writing and test the setting before go-live. Microsoft's Foundry documentation notes that authenticating an agent to a tool does not change the external provider's data handling. The step is done when each server record lists its retention setting, its residency and the source of that confirmation.

  8. Set a re-review trigger for sub-processors

    Record each operator's sub-processors, and set a re-review that starts whenever the operator adds one. EDPB Opinion 22/2024 says controllers should have the identity of all processors and sub-processors readily available at all times, that processors should update that information proactively, and that the final decision to engage a sub-processor stays with the controller. Name an owner to receive operator notices and to repeat the status, contract and retention checks for the new party. The step is done when the trigger is documented and a sample notice has been routed through it.

What MCP and vendor settings do not cover for HIPAA and GDPR

Protocol settings, vendor terms and approval prompts each leave part of the HIPAA and GDPR picture open. The cards below list what remains after an MCP server is configured and what your team must obtain or decide before regulated data moves.

Protocol settings produce no BAA

The MCP specification says the protocol cannot enforce its own security principles, so implementors must build consent, authorization and data protections into their applications. No protocol setting creates a business associate agreement. Under 45 CFR 160.103, a subcontractor that handles protected health information for a business associate is itself a business associate, and 45 CFR 164.502(e) requires a written contract meeting 164.504(e) before the data is shared. Obtain a signed BAA from each server operator that will receive PHI, and decide which servers are excluded from PHI before go-live.

Security best practices

Operator retention and residency rules

OpenAI's documentation states that data sent to an MCP server follows that server's own retention and residency policies, and that the customer must confirm the server meets any zero data retention requirement. Your organization's retention schedule and data location rules may be stricter or simply different. Ask each operator for its retention periods, its deletion process for logs and stored content, and the regions where processing occurs. Compare those answers with your policy in writing before approving the server.

OpenAI connectors guide

Third-party server data flows

Microsoft's Foundry documentation says authenticating an agent to a tool does not change the external provider's data handling or retention, and calls to non-Microsoft tools can send data outside Microsoft services. The same logic applies to any MCP server your organization did not build. Confirm, server by server, which fields leave your environment, which sub-processors receive them, where they are stored and whether the operator keeps or reuses prompts and responses. Record those answers before a server touches patient or personal data.

Foundry agent identity

GDPR transfers and HIPAA safeguards

A signed BAA does not answer GDPR transfer questions, and GDPR terms do not establish HIPAA safeguards. Treat them as separate reviews with separate owners. For GDPR, EDPB Opinion 22/2024 expects the controller to keep the name, address and contact person of every processor and sub-processor readily available, to verify each one's guarantees regardless of risk, and to make the final decision on any sub-processor. For HIPAA, check each server's access control, audit control and transmission security against the Security Rule.

EDPB Opinion 22/2024

Approval prompts show little

OpenAI's Responses API asks for approval by default before data is shared with a connector or remote MCP server, and its guidance recommends reviewing and logging all data sent to remote servers. A click shows that someone responded. It does not show that they understood which patient or personal fields were included. For servers that touch regulated data, move the approval decision to an admin-controlled policy, keep logs of tool calls where your policy allows, and train staff on what may be sent.

DeployOpen issues no attestations

DeployOpen tests MCP setups, prepares systems, controls and evidence for compliance assessments, and documents its findings. It does not issue audit reports, attestations, certifications or legal opinions. Those come from independent auditors, certification bodies and your own counsel. Ask your assessor which evidence they will accept, and ask counsel to review each server's BAA or processor terms and any GDPR transfer terms before regulated data moves.

MCP HIPAA and GDPR compliance questions buyers ask before hiring help

How much does an MCP HIPAA or GDPR review cost?

The cost follows from the written scope. DeployOpen does not publish a price list, so a quote is built from the inputs you agree on. The main cost drivers are the number of MCP servers in use, the number of server operators that need contracts or data terms reviewed, the data classes involved (for example, protected health information or personal data of EU residents), and how deep the evidence must go. A review of a few servers from one operator is a different job from a review of many operators across several regions. Ask for a quote that lists servers, operators, data classes and evidence deliverables as separate line items. Separate the one-time work (inventory, data mapping, first review) from recurring work (retesting after server changes, or a retainer). Also confirm whether legal review is included or billed separately, because the determinations themselves belong to your counsel.

How long does a compliance review of MCP servers take?

The timing depends mostly on how quickly server operators respond and how long contract negotiation takes, not only on the technical testing. The review needs each operator's data processing terms, sub-processor list, retention statements and any business associate or data processing agreement. Operators with standard enterprise terms can close document requests quickly. Community servers or small projects with no contract may take longer, and the review may end in a decision to block the server. When an operator must sign an agreement with your organization, negotiation adds time of its own. Plan around the slowest operator, name who chases each document, and write the agreed timeline into the scope before work starts.

What does the client need to provide before a review starts?

A review needs four inputs from your side before testing begins:

  • An inventory of every MCP server staff connect to, including who operates it, whether it is hosted or self-run, and which internal owner approves it.
  • A data classification that shows which systems and fields contain protected health information or personal data, and which are out of scope.
  • Read access to the logs, telemetry, client configuration and admin settings where MCP connections are approved, scoped and recorded.
  • A named legal reviewer who can make the HIPAA and GDPR determinations, since those calls belong to counsel and the privacy officer.

Missing any of these delays the work, because the findings depend on knowing what data goes where and what the organization already enforces.

Can our own team do the MCP compliance work internally?

Yes, for the inventory and the logging work. Building the list of MCP servers, recording which data each one receives, checking what each client and gateway logs, and confirming that admin allowlists are enabled are technical tasks that engineering and security staff can usually perform. Legal determinations are different. Whether a server operator is a business associate or subcontractor under HIPAA, whether a transfer of personal data is lawful under the GDPR, and whether a sub-processor chain is acceptable are decisions for qualified counsel and the privacy officer. Outside technical help does not replace those decisions. A practical split is for internal staff to produce the inventory and evidence, counsel to make the determinations, and an outside team to test the controls and check the evidence independently.

Can DeployOpen sign a BAA or DPA for our MCP server operators?

No. DeployOpen cannot sign a business associate agreement or a data processing agreement on behalf of an MCP server operator, because those contracts bind the operator and the organization that shares the data. What DeployOpen can provide is the groundwork for those contracts: an inventory of operators, the data each one receives, the terms and retention statements you have collected, a gap list against what the agreement must contain, and documented findings on the technical controls. Under 45 CFR 164.502, a covered entity or business associate may share protected health information with a subcontractor only after obtaining satisfactory assurances in a written contract. For personal data under the GDPR, EDPB Opinion 22/2024 expects the controller to know every processor and sub-processor and to verify their guarantees. Ask each operator for its own agreement, and have counsel confirm the wording.

What does the written scope for an MCP compliance review cover?

The written scope names the servers, operators, data classes and regulations in the review, and it lists each deliverable. Most engagements are fixed-scope, so scope, deliverables and timelines are agreed in writing before work starts. Expect the scope to state which MCP servers are in and out, whether HIPAA, GDPR or both apply, which client systems and logs are reviewed, and which documents the client supplies. Deliverables should be named, for example an inventory, a data flow map for each server, a findings report with fixes, evidence prepared for independent auditors, and a retest. Ask that the scope also state what is excluded: legal conclusions, which counsel must reach, and audit reports or certifications. DeployOpen does not issue those. Independent auditors and certification bodies do.

How DeployOpen helps teams prepare MCP servers for regulated data

DeployOpen treats MCP and HIPAA or GDPR as a scoping and evidence problem before a tooling problem. We record which MCP servers receive patient or personal data, who operates each one, and which contract terms your counsel must confirm. We then test, document and hand over the setup for your compliance and security teams to review, and DeployOpen prepares controls and evidence without issuing audit reports, attestations or certifications.

How we scope

  • A written scope lists each MCP server, its operator and the regulated data it may receive.
  • Scope also records which tools can read or change records, and which need approval.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts; ongoing support is a retainer.

How we build

  • We test the setup for prompt injection, tool permissions, data exposure and credential handling.
  • We review SSO, admin settings and logging, and where each server stores or forwards data.
  • Where a server is third-party, we record the vendor's retention and residency terms as published.

How we hand over

  • You receive a findings report with fixes, a retest, and the configuration evidence used in the review.
  • A data flow inventory lists each server, data class, operator and sub-processor for your records.
  • Contract points, such as business associate agreements or processor terms, are listed as open questions for your counsel.

How we support

  • Retainers cover upgrades, continuous testing and updates to the evidence as servers and vendor terms change.
  • Retesting after a new MCP server or tool is added keeps your approval decisions current.
  • The final decision to approve each server stays with your organization, which we document.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.