Home / Compliance / GDPR

GDPR compliance for MCP deployments

How AI-agent tool calls touching personal data fall under GDPR — the controller’s question for each Article, where default setups fall short, and the technical measures and evidence a gateway supplies.

QUICK ANSWERGDPR regulates the processing of personal data, so it bites the moment an agent calls a tool reaching a CRM, support system or user database. GDPR has certification mechanisms (Art. 42), but no wire protocol is GDPR-compliant by itself — the obligations land on controllers and processors and turn on the deployment. The Spanish DPA (AEPD, 2026) is explicit: an AI agent is a technical means through which processing is carried out, and greater autonomy does not reduce the deploying controller’s legal responsibility.

POLICYLAYER SCAN DATA 31,002 tools · 4,628 servers · 1,773 destructive · 1,649 execute code Methodology & research →

GDPR regulates processing. Agent tool calls do the processing.

No protocol or product “is GDPR compliant” — the Regulation binds the controller and processor behind the processing. Personal data starts being processed the moment an agent calls a tool reaching a CRM, support desk, HR or billing system. Three things put that traffic in scope.

01
The agent is a technical means

The AEPD’s 2026 agentic-AI guidance treats an AI agent as a technical means through which processing is carried out — not an autonomous legal actor. The processing stays attributable to the deploying controller, so the call itself is regulated activity.

02
By default, allow-all is the opposite of by-design

Article 25(2) requires that, by default, only personal data necessary for each specific purpose are processed — across amount, extent, storage and accessibility. Default MCP grants an agent every tool with any argument: maximal accessible processing, the inverse of the obligation.

03
The measures DPAs name are call-level

Among the measures of greatest practical value the AEPD names allowlists for services, restrictions on the tools an agent can reach, and controls over the parameters and responses of each tool call. The ICO’s 2026 early views echo it: clearly defined limits on what data and tools an agent can access.

Where GDPR meets agent traffic, Article by Article.

The Articles MCP traffic touching personal data is tested against. For each: what it requires, the controller’s question, the default-setup gap, and the technical measure that addresses it.

Art. 5(1)(f) Integrity & confidentiality
WHAT IT REQUIRES

Personal data is processed with appropriate security, including protection against unauthorised or unlawful processing and against accidental loss, destruction or damage.

THE AUDITOR'S QUESTION

When an agent calls a tool touching personal data, what stands between it and unauthorised access — or accidental destruction of a record?

THE DEFAULT-SETUP GAP

A raw client holds long-lived upstream credentials and can call any tool with any argument. Nothing constrains the call before it reaches the personal data.

GATEWAY ENFORCEMENT

Per-call policy authorisation decides each call before it executes, and upstream credentials stay in central custody rather than on every laptop.

1,773 destructive and 1,649 execute tools in the catalogue are the accidental-destruction surface this Article asks you to protect.

Art. 5(2) / 24 Accountability & controller measures
WHAT IT REQUIRES

The controller implements appropriate technical and organisational measures and is able to demonstrate compliance — measures that are reviewed and updated as needed.

THE AUDITOR'S QUESTION

Can you prove, rather than assert, what agents did with personal data — and are the measures actually enforced in the request path?

THE DEFAULT-SETUP GAP

Policy lives in a document, not on the wire, and there is no durable record of what agents called. Demonstrability rests on assertion.

GATEWAY ENFORCEMENT

Deterministic policy is the enforced, versioned measure, evaluated on every call; the audit log is the demonstrability artefact that shows it ran.

Risk classification across 31,002 tools is the risk-tiering Article 24’s appropriate-to-risk test depends on.

Art. 25 Data protection by design & by default
WHAT IT REQUIRES

By default, only personal data necessary for each specific purpose are processed — across the amount collected, the extent of processing, storage and accessibility.

THE AUDITOR'S QUESTION

Is each agent’s access to personal data minimised by default to what its purpose needs — or open until something narrows it?

THE DEFAULT-SETUP GAP

Default MCP is allow-all: every tool reachable, every argument permitted. That is maximal accessible processing, the opposite of by-default minimisation.

GATEWAY ENFORCEMENT

Default-deny minimises accessible processing by default; argument conditions narrow the extent; scoped grants narrow accessibility — minimising who can reach which personal data.

19,718 read tools are the largest accessibility surface in the corpus — none reachable until a grant explicitly opens them.

Art. 28 Processors
WHAT IT REQUIRES

Controllers use only processors providing sufficient guarantees, under binding contracts, with sub-processor authorisation and notice of changes.

THE AUDITOR'S QUESTION

What is the legal status of each third-party MCP server vendor, and which of them process personal data on your behalf?

THE DEFAULT-SETUP GAP

No inventory of which external servers touch personal data, and no Article 28 contracts behind them — the processor relationship is invisible.

GATEWAY ENFORCEMENT

The upstream server registry is an enumerable processor and sub-processor inventory — the starting point for assigning Article 28 contracts.

4,628 catalogued servers are the candidate processor population a contract review has to account for.

Art. 30 Records of processing (RoPA)
WHAT IT REQUIRES

A record of processing activities: purposes, categories of data subjects and data, recipients, erasure limits, and a description of the Article 32(1) security measures.

THE AUDITOR'S QUESTION

Can you populate the RoPA from records of what actually happened — recipients, categories, measures — rather than from guesswork?

THE DEFAULT-SETUP GAP

Without traffic records, recipients and the actual extent of processing are estimated rather than evidenced.

GATEWAY ENFORCEMENT

The audit log, server registry and policy populate the RoPA — the tool taxonomy informs data categories, the registry lists recipients, and the versioned policy is the description of measures.

Art. 32 Security of processing
WHAT IT REQUIRES

Measures appropriate to the risk — including ongoing confidentiality, integrity, availability and resilience, the ability to restore after an incident, and regular testing and evaluation; and that persons under the controller’s authority process only on instructions (32(4)).

THE AUDITOR'S QUESTION

At the moment of the tool call — which tools, which arguments, how often, what spend — what measures are appropriate to the risk, and how are they tested?

THE DEFAULT-SETUP GAP

On a raw client there are no call-level controls and nothing to test or evaluate; instructions to agents are unenforced.

GATEWAY ENFORCEMENT

Allow/deny rules, argument conditions, rate limits and spend caps are appropriate-to-risk measures applied at the call; scoped tokens support enforcement of the Art. 32(4) instructions duty by technically limiting what agents can do; the log enables the testing-and-evaluation loop. The AEPD names exactly these — service allowlists, tool restrictions, parameter and response controls per call — among measures of greatest practical value.

154 financial plus 1,649 execute tools form the highest-severity tier where appropriate-to-risk measures matter most.

Art. 33 Breach notification
WHAT IT REQUIRES

Notify the supervisory authority without undue delay and, where feasible, within 72 hours — describing the nature, the categories and approximate numbers of data subjects and records, the likely consequences and the measures taken; and document all breaches.

THE AUDITOR'S QUESTION

After an incident, can you detect it and reconstruct the categories and numbers Article 33(3) demands inside 72 hours?

THE DEFAULT-SETUP GAP

Without per-call records you cannot establish which data subjects and records were affected, let alone within the deadline.

GATEWAY ENFORCEMENT

The audit log is the detection-and-forensics substrate — grant, tool, argument keys, rule and verdict per call. For record-level reconstruction of affected data subjects, pair it with upstream application logs: the gateway logs argument keys, not values.

1,773 destructive and 7,607 write tools are the classes most likely to cause a notifiable event.

Policies that supply the technical measures.

Illustrative policies — not complete compliance controls on their own.

Data-minimisation by default on a CRM Art. 25 · Art. 5(1)(f)

Allow a single-record lookup for the agent’s purpose. List and export tools stay closed under default-deny — they are never opened, so bulk access to personal data is minimised by default (Article 25(2)).

policy.json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "get_contact": {}
  }
}
Deny destructive operations on records Art. 32 · Art. 5(1)(f)

Reads run; calls that delete or purge personal-data records do not. Each denied attempt is itself a record in the audit log (Article 32 / 5(1)(f)).

policy.json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "get_record": {},
    "update_record": {
      "deny_if": [
        {
          "conditions": [
            { "path": "args.operation", "op": "regex", "value": "(?i)(delete|purge|destroy)" }
          ]
        }
      ]
    }
  }
}

See Writing policies for the policy format, operators, and quota shapes.

What a supervisory authority asks — and what you export.

In a DPA investigation or an Article 30 request, the technical artefacts a gateway deployment hands over. The legal artefacts — lawful basis, the Article 28 contracts, the DPIA document — remain the controller’s to own.

What the auditor asks forWhat the gateway exports
Records of processing activities (Art. 30) The tool taxonomy informs data categories, the server registry lists recipients, and the versioned policy is the description of Article 32(1) measures.
Access and audit logs — who accessed what, under what authorisation Per-call audit log: grant, tool, argument keys, deciding rule and allow/deny verdict.
Processor and sub-processor list (Art. 28) The upstream server registry as an enumerable inventory of external services touching personal data.
Evidence the technical and organisational measures are enforced, not just documented (Art. 24/32) Versioned policy history — the measures live in the request path, with the per-call log showing they ran.
DPIA mitigations, where one applies (Art. 35) The inventory, risk tiers and enforced mitigations that evidence the technical measures section of the assessment.
Breach reconstruction within 72 hours (Art. 33) The per-call log filtered to the affected window — which tools were reached, by which grant, under which verdict. Record-level identification of affected data subjects pairs this with upstream application logs.

GDPR and MCP questions.

Is MCP GDPR compliant?+

No protocol can be — GDPR places obligations on controllers and processors, not on a wire protocol. Certification mechanisms do exist under Article 42, but they certify processing operations, not protocols. The real question is whether your MCP deployment processing personal data has the appropriate technical and organisational measures and the records to demonstrate them, which depends on your deployment rather than on MCP itself.

Do AI agents need a DPIA?+

Not automatically, but agentic AI is a strong trigger. The AEPD says it may require a new DPIA, or a review of an existing one where it alters the assessed risk — not that one is always mandatory. The practical default is to treat a documented assessment as the expectation and review it when the processing changes. A gateway is not a substitute; it supplies the inventory, risk tiers and enforced mitigations the assessment draws on.

Are MCP servers data processors?+

It depends on the data, the purpose and the contractual control: an externally-operated MCP server may be a processor, a sub-processor, an independent controller, or outside GDPR scope entirely if it touches no personal data. Those that do process personal data on your behalf need Article 28 contracts and a place on your sub-processor list. With thousands of community servers in circulation, the practical problem is inventory — a server registry turns it into an enumerable list you can classify, contract and risk-assess.

How does Article 32 apply to AI tool calls?+

It asks for measures appropriate to the risk, applied at the point of processing — for a tool call that means which tools an agent can reach, which arguments it may pass, how often, what spend, and whether the call is logged. The AEPD names exactly this: service allowlists, restrictions on accessible tools, and controls over the parameters and responses of each call. Scoped tokens support the Article 32(4) instructions duty by technically limiting agents to what they were authorised to do.

Does the audit log itself contain personal data?+

The log records argument keys rather than values, which keeps payload content out of it. But keys, grant identities and identifiers can themselves be personal data, so the log is in GDPR scope and needs its own governance — access controls, retention limits and inclusion in the RoPA. It substantially reduces exposure; it does not eliminate it.

Raw MCP versus gateway-mediated MCP.

Default setupThrough the gateway
One shared upstream API key on every laptop Per-person scoped grant tokens, revocable individually
No record of what agents called Per-call audit log: grant, tool, argument keys, rule, verdict
Every tool on a server is callable Deny-by-default — each tool and argument explicitly granted
Access rules scattered across client configs One central, version-controlled policy

PolicyLayer doesn’t certify your organisation — it gives your compliance team enforceable controls and exportable evidence for the MCP slice of the audit.

Primary sources.

Last reviewed 04-06-2026 by the PolicyLayer research team. This guide maps how the framework intersects with MCP deployments — it is not legal advice.

Enforceable controls and audit evidence on every MCP call.

Per-person grants, deny-by-default policy and a per-call audit log — the GDPR evidence for the MCP slice of your programme. Live in minutes.

Free to start. No card required.

4,600+ MCP servers and 31,000+ tools scanned and risk-classified.

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.