Home / Compliance / PCI DSS

PCI DSS compliance for MCP deployments

How AI-agent calls to payment tools enter PCI DSS scope under v4.0.1 — what a QSA asks, where default setups fall short, and the technical controls a gateway supplies.

QUICK ANSWERPCI DSS has no AI carve-out. The PCI SSC is explicit: using AI does not remove the need to meet the requirements. An agent is in scope when it stores, processes or transmits account data, connects to the CDE, or can affect the CDE’s security — tested against Req 7 and 8 access control, Req 10 logging, and Req 12.8 third-party management. Current version is v4.0.1; the future-dated requirements have been mandatory since 31-03-2025.

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

PCI DSS scopes the CDE. A payment agent sits inside it.

PCI DSS applies to entities that store, process or transmit cardholder data, scoped to the cardholder data environment and the systems connected to or security-impacting it. An agent that touches payment operations is one of those systems. Three things settle the question.

01
Tokenisation reduces scope, not to zero

An agent calling a tokenised payment API — Stripe MCP works on tokens and payment-method IDs, not raw PANs — does not ingest cardholder data. But the PCI SSC treats tokenisation as scope reduction, never elimination: where the agent connects to the CDE or can affect its security, it stays in scope, and the final scoping call sits with your QSA. Raw-PAN access puts it squarely in the CDE.

02
AI gets no exemption

The PCI SSC AI Principles are direct: “Use of AI does not remove or bypass the need to meet the requirements.” If the implementation is in scope, AI systems must be implemented per PCI DSS — with their own credentials, easily tracked and revoked, meeting least privilege.

03
A potential malicious insider

The SSC warns that an over-privileged agent “should consider the potential for the AI to become a ‘malicious insider’ itself”. Agentic commerce protocols — ACP from OpenAI and Stripe, AP2 from Google and FIDO — are why this is live in 2026, not theoretical.

Where a QSA looks, requirement by requirement.

The v4.0.1 requirements agent payment traffic is tested against. For each: a faithful paraphrase of what it requires, the question asked at assessment, the default-setup gap, and the control that closes it. Requirement numbers are exact; text is paraphrased, not quoted.

Req 7.2.1 / 7.2.2 / 7.2.5 Least privilege access model
WHAT IT REQUIRES

An access-control model with a deny-all default; access assigned by job function on least privilege; explicitly extended to application and system accounts (7.2.5).

THE AUDITOR'S QUESTION

Does each grant get only the tools it needs, or the upstream server’s full toolset? A QSA samples grants and checks that privilege matches the job.

THE DEFAULT-SETUP GAP

Connect a Stripe MCP server raw and the agent can refund, create payouts and modify customers — the opposite of least privilege, with no deny-all default at the call boundary.

GATEWAY ENFORCEMENT

Scoped grants plus allow/deny rules and argument conditions enforce least privilege and deny-by-default at the tools/call boundary — application and system accounts included.

154 financial, 1,773 destructive and 1,649 execute tools are the high-privilege surface; most agents need only a handful of the 19,718 read tools.

Req 8.2.1 Unique identification
WHAT IT REQUIRES

A unique ID assigned to every user before access is granted — the traceability foundation everything else rests on.

THE AUDITOR'S QUESTION

Can each payment-tool call be tied to one identifiable person, or does it trace back to a shared credential?

THE DEFAULT-SETUP GAP

One Stripe key baked into a config and shared by the whole team destroys attribution — there is no per-person ID to assign.

GATEWAY ENFORCEMENT

Per-person grants give every operator a distinct identity, and the upstream credential never leaves central custody. The PCI SSC FAQ confirms shared credentials are permitted only on a documented exception basis.

Req 8.2.2 Shared and generic accounts
WHAT IT REQUIRES

Group, shared or generic credentials are allowed only on an exception basis — time-limited, business-justified, management-approved — with every action still attributable to an individual.

THE AUDITOR'S QUESTION

The standard MCP pattern — one shared upstream key — is precisely the prohibited default. Is each operator a distinct identity?

THE DEFAULT-SETUP GAP

A shared Stripe key meets none of the exception conditions: not time-limited, not approved per use, and not individually attributable.

GATEWAY ENFORCEMENT

Each operator is a distinct identity and every call carries the grant identity that made it — attribution by construction.

7,607 write and 154 financial tools are the state-changing and money-moving calls where attribution is non-negotiable.

Req 10.2.1.x / 10.4 Audit logging & review
WHAT IT REQUIRES

Audit logs capture all individual access to cardholder data (10.2.1.1), all administrative actions (10.2.1.2) and all invalid access attempts (10.2.1.4); logs are reviewed (10.4).

THE AUDITOR'S QUESTION

Produce records showing which human called which payment tool, with what outcome — and how denied attempts are captured and reviewed.

THE DEFAULT-SETUP GAP

Clients keep no durable attributable trail; Stripe-side logs show the shared key, not the human behind the call.

GATEWAY ENFORCEMENT

Every call lands in the audit log — grant, tool, argument keys, deciding rule, verdict — and denied calls map to invalid-access-attempt logging. That covers the tool-call trail for Requirement 10; where the SSC’s expectation of auditing prompt inputs and reasoning applies, that telemetry comes from the AI client or model layer, not the gateway.

Req 6.4 Change control (adjacent support)
WHAT IT REQUIRES

Changes to system components follow formal change control — documented impact, approval, testing and a back-out plan.

THE AUDITOR'S QUESTION

A softer fit than the access and logging requirements: present as adjacent support, not a literal control match. The SSC human-in-the-loop principle holds that the creation and deployment pipeline should not be fully automated.

THE DEFAULT-SETUP GAP

Policies and tool grants change ad hoc with no versioning, approval or record of who authorised the capability.

GATEWAY ENFORCEMENT

Policies are versioned, change-controlled artefacts, and the log records the deciding rule per call — adjacent support for the change-control discipline, not a one-to-one mapping.

Req 12.8.1 / 12.8.5 Third-party service providers
WHAT IT REQUIRES

An inventory of all third-party service providers that could affect CDE security (12.8.1), and a documented responsibility matrix per provider (12.8.5).

THE AUDITOR'S QUESTION

Externally-operated MCP servers are TPSPs. Where is the inventory, and which controls are theirs versus yours?

THE DEFAULT-SETUP GAP

MCP servers get adopted ad hoc — no inventory entry, no responsibility matrix, no record of what each provider could affect.

GATEWAY ENFORCEMENT

The upstream-server registry is the TPSP inventory; the gateway itself is a TPSP whose controls slot into the customer’s responsibility matrix.

4,628 catalogued servers are the population a fleet operator has to inventory under 12.8.1.

Policies that supply the controls.

Illustrative policies — not complete compliance controls on their own.

Refund cap on a payment agent Req 7.2.1 / 7.2.2 / 7.2.5 · Req 8.2.2

Allow refunds — but deny any whose amount exceeds the threshold, so larger refunds stay blocked pending your separate approval workflow. The deny verdict lands in the audit log with the rule that decided.

policy.json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "list_charges": {},
    "create_refund": {
      "deny_if": [
        {
          "conditions": [
            { "path": "args.amount", "op": "gt", "value": 10000 }
          ]
        }
      ]
    }
  }
}
Read-only payment grant Req 7.2.1 / 7.2.2 / 7.2.5 · Req 8.2.1

Allow listing and retrieval only. Payouts and configuration tools are never named, so they stay denied by default — least privilege for a reporting agent.

policy.json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "list_charges": {},
    "get_charge": {},
    "list_customers": {},
    "get_balance": {}
  }
}

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

What the QSA samples — and what you export.

Assessment requests are representative, not exhaustive — a QSA samples accounts, logs and providers. The artefacts a gateway deployment hands over for the access, logging and third-party requirements:

What the auditor asks forWhat the gateway exports
Access-control matrix showing privilege by job function (Req 7) Per-grant policy export: each identity, its scoped tool set, and the conditions on it.
User access lists with grant timestamps (Req 7.2) Grant roster — every person and agent identity with its tools and issue date.
Unique-ID evidence, with sampled accounts checked for shared use (Req 8.2.1) Per-person identities, with no shared upstream key present in client configs.
Service-account registry and dormant-account reports (Req 7.2.5 / 8) Grant inventory plus the revocation log, per identity, timestamped.
Log completeness including denied attempts, integrity and retention (Req 10) The per-call audit log — grant, tool, argument keys, deciding rule, allow/deny verdict.
Periodic access reviews with reviewer and decision (Req 7.2) Exportable grant review: active grants by person, scope and age.
Third-party service provider inventory and responsibility matrix (Req 12.8) The registered-server list as TPSP inventory, with the gateway’s own controls placed in the matrix.

PCI DSS and MCP questions.

Is MCP PCI DSS compliant?+

A protocol has no compliance status. Your deployment is what enters scope — and it does so when agents touch payment data or security-impacting systems. Raw setups typically fail Requirements 7, 8 and 10: no least privilege, a shared key instead of unique IDs, and no attributable audit trail.

Can AI agents touch cardholder data under PCI DSS?+

Yes, when suitably protected. The PCI SSC prefers payment tokens, single-use PANs, and truncated or encrypted PANs over raw card numbers. Best practice keeps agents on tokens and never on raw PANs, which both reduces scope and limits what an over-privileged agent could do.

Does an agent calling Stripe MCP put me in scope?+

Scope turns on whether the agent stores, processes or transmits account data, connects to the CDE, or can affect its security — an agent that can move money or change payment configuration usually clears that bar as a security-impacting system, but the formal scoping call is your QSA’s. Tokenisation reduces scope without eliminating it, and the vendor belongs in your third-party register under Requirement 12.8.

Do shared API keys violate Requirement 8?+

For in-scope systems, effectively yes. Requirement 8.2.1 requires unique IDs, and 8.2.2 permits shared credentials only as documented, time-limited, management-approved exceptions with individual attribution. One shared Stripe key across a team provides neither a unique ID nor attributable actions.

What is the minimum for an agentic payment flow to pass assessment?+

Deny-by-default least privilege per identity (Req 7); unique per-person credentials with no shared upstream key (Req 8); a complete audit log of every payment-tool call including denials (Req 10); a third-party service provider inventory and responsibility matrix (Req 12.8); and change control over policy (Req 6.4). A gateway supplies these technical controls, but the QSA assesses your whole environment, not the gateway alone.

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 PCI DSS 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.