MCP data privacy and data security

MCP is an open protocol with no paid edition, so data privacy depends on the host, the MCP servers you connect and their vendors. This page covers the spec's consent rules, retention gaps and logging exposure.

On this page

Does MCP keep agent data private? What the spec covers and what it leaves to you

No edition or plan of MCP adds data privacy controls, because MCP is an open protocol and not a product with a tier structure. The MCP specification states that MCP itself cannot enforce its security principles at the protocol level, so privacy outcomes are set by the implementations built on it. For a reviewer, the first step is to stop asking whether MCP is private and start asking what each party in the chain does with the data. The spec places the duty to build consent flows, access controls and data protections on the implementors of host applications and servers, which means the answer is different for every deployment.

The reviewer needs to assess three parties separately. The host application (the AI client the employee uses) is where the spec's consent rule applies: hosts must obtain explicit user consent before exposing user data to servers and must not send resource data elsewhere without consent. Confirm in the host's documentation how it asks for that consent, whether administrators can turn off servers or tools, and whether it shows tool inputs before a call. Next, each MCP server decides what it stores, logs and forwards. Third, the vendors behind each server set their own retention, training and sub-processor terms, and those terms apply to the data that reaches them. Ask each vendor in writing for its retention period, whether it trains on inputs, where it processes data and which sub-processors it uses. Ask for the same answers from the host vendor covering any data it processes outside its own model calls.

Vendor retention commitments usually end at the boundary of the model provider. Anthropic's zero data retention documentation for Claude Code notes that the commitment does not cover data processed by third-party tools or MCP servers, which must be reviewed separately. Treat that pattern as the default for every MCP deployment: a retention promise from the agent vendor is not a promise from the server. Map each connected server to a named owner, a data classification and a written data processing agreement before approving it, and record the decision so that a later audit can trace which data left the organization and under which terms.

Which data privacy controls MCP and its common hosts provide

This table compares five data privacy controls across the MCP spec and two common hosts, showing where each control is defined, whether it is built in, and what it leaves uncovered. Read each row as a boundary: a spec rule, a host behavior, or a vendor retention term that applies only to part of the data path. No paid tier terms were supplied for this comparison, so confirm plan-level terms with each vendor before relying on any row.

ControlWhere it is definedBuilt in or dependentWhat is not covered
Explicit user consent before user data reaches a serverMCP specification (host obligation)Host must implement the consent flow; the protocol cannot enforce itData sent to servers after consent is outside the spec's control; the server's own handling is not governed
Client shows tool inputs before a tool callMCP tools specification (client guidance)Depends on the client implementing the review stepInputs the user approves may still contain sensitive data; reviewers rarely inspect every argument
Server must not pass tokens through without validating themMCP security best practicesDepends on the server implementationStolen tokens used as a proxy for exfiltration remain possible if a server forwards them unvalidated
Zero data retention coverage for MCP servers in Claude CodeClaude Code zero data retention documentation (Anthropic)Vendor term, not a protocol control; applies to Anthropic-processed dataData processed by third-party tools or MCP servers is excluded and must be reviewed separately
Cowork connector traffic limited by VM egress allowlistCowork network access documentation (Anthropic)Depends on Cowork's connector architectureConnector requests run outside the VM and usually pass through Anthropic's servers, so VM egress allowlists do not limit them

Where agent data goes when an MCP server is in the path

Map every hop before approving an MCP setup, because data can leave the organization at several points and each one has a different owner. The first hop is the model provider, which receives the prompt, conversation context and any tool results the agent sends back for the next model call. The second is the host and client application, the software on the employee's machine or in a hosted workspace that assembles that context and decides what reaches each server. The third and fourth hops are each MCP server the agent connects to and any upstream API that server calls on the agent's behalf, such as a ticketing system, a database or a search provider. Ask the vendor to document which of these hops your data crosses for each server you plan to allow, and ask whether any server runs as a third-party hosted service.

The MCP specification places the first control at the host. Hosts must obtain explicit user consent before exposing user data to servers, and they must not transmit resource data to other places without user consent. The specification also states that MCP itself cannot enforce these principles at the protocol level, so consent and data protection depend on how each client and application is built. Confirm with each client vendor how consent is captured, whether it is per server, per tool or per session, and whether administrators can require it. The tools specification adds that clients should show tool inputs to the user before calling a server, which is the point where a reviewer can catch data being sent out in an argument that looks harmless.

Retention commitments usually stop at the MCP boundary. A vendor may offer zero data retention for its own model processing, but that commitment does not automatically extend to a third-party tool or an MCP server. Anthropic's zero data retention documentation for Claude Code, for example, states that it does not cover data processed by third-party tools or MCP servers, which must be reviewed separately. Once data reaches a server, the server operator's terms, logs and storage decide what happens next, so the reviewer should request each server's retention, logging and sub-processor terms in writing. Treat the agent vendor's contract as covering only the agent's own processing, and record the server's terms as a separate approval item.

Where MCP tool calls send data, and where vendor retention stops

The diagram starts with the user and the agent host, where consent prompts and tool input review should happen before any call leaves the client. It then splits into a local stdio server and a remote HTTP server, each reaching its own upstream SaaS or database, and shows the logs and telemetry each component writes. The Cowork connector path runs through the vendor's servers outside the VM, so VM egress allowlists do not apply to it. Check each box where the vendor's retention terms stop and the MCP server or upstream system takes over.

Data paths from the agent host to MCP servers, upstream systems and log stores.

Decisions that set your data exposure before the first tool call

Most MCP data exposure is settled before an agent makes its first call, in the choices about which servers are approved, where they run, and what they may receive. Each decision below has an owner who must sign off, and the cards connect because a weak answer in one (for example, a remote server with broad data access) is hard to offset in another.

Approved servers and data terms

Keep a written list of the MCP servers staff may connect to, and record who owns each server's data terms: the vendor, a third-party operator, or your own team. The spec places consent duties on the host, but it does not decide what a server's operator does with data it receives, so that contract review is yours to complete. Ask each operator where its logs live, whether it trains on inputs, and which subprocessors it uses. Sign-off: the security reviewer with procurement.

MCP specification

Local or remote server hosting

Decide whether each server runs on the employee's machine over stdio or on a remote host reached over HTTP. A local server keeps tool arguments on the device unless the server itself sends them out, while a remote server receives every argument and result in its own environment. The authorization spec applies to HTTP-based servers, and stdio servers should take credentials from the environment instead. Sign-off: the platform or endpoint owner.

Permitted data classes per server

Define which data classes each server may receive, such as public, internal, confidential, regulated personal data or secrets. A tool call can carry customer records inside its arguments even when the task only needed a ticket number, so the limit must be set per server and enforced in the client or gateway. Write the classes down for each approved server and name the team that reviews exceptions. Sign-off: the data owner with the privacy lead.

Consent and tool input review policy

Decide whether users must approve each tool call, or whether they only review the inputs that will be sent before a call runs. The tools spec says clients should show tool inputs to the user before calling the server, which is the main control against both malicious and accidental exfiltration. Confirm that your client shows full arguments, not a summary, and that the policy allows no silent auto-approval for servers that handle regulated data. Sign-off: the security lead with the business owner of the workflow.

MCP tools spec

Log and telemetry destinations

Set where tool arguments, results and client telemetry are sent, and who can read them. Logs often capture the same content the user approved, so an audit trail can become a second copy of sensitive data. Confirm whether the client, the server and any gateway write payloads or only metadata, and route them to a store with the same classification as the source data. Sign-off: the SOC or logging owner with the privacy lead.

Retention periods for each server

Set a retention period for each server's logs, cached results and any stored session data, instead of accepting a default from the vendor. Vendor retention commitments, including zero data retention on an agent product, may not cover data processed by third-party tools or MCP servers, so each server needs its own review. Ask each operator to state retention in writing and confirm deletion on request. Sign-off: the records manager with the compliance lead.

Zero data retention docs

How the privacy answer changes for local, hosted and regulated use

A local stdio server runs as a process on the employee's workstation and is started by the client. Files, repositories and credentials it can read stay on the device until a tool result enters the conversation and is sent to the model provider. The privacy question therefore shifts to what each tool returns and what the server does with network access of its own. The spec says hosts must obtain explicit user consent before exposing user data to servers, and the tools guidance says clients should show tool inputs to the user before calling a server. The authorization spec is optional and directs stdio implementations to retrieve credentials from the environment.

  • Data movement: files and records the server reads reach the model only when a tool result is returned into the conversation, so review what each tool returns.
  • Retention question: who keeps tool results and transcripts, for how long, and under which terms, including the client's local logs.
  • Spec coverage: the consent and input-display guidance applies, but the spec states that it cannot enforce its security principles at the protocol level, so the client must enforce them.
  • Vendor coverage: a coding agent's zero data retention commitment may not cover data processed by third-party tools or MCP servers, which need separate review.
  • Credentials: stdio servers read secrets from environment variables, so confirm which tokens a developer's shell exposes to each server.

Check which servers each workstation can start, what each one returns to the model, and whether local client logs capture tool arguments.

Gaps in data privacy that MCP does not close on its own

The MCP specification states that the protocol cannot enforce its security principles itself, so consent, access control and data protection fall to the hosts, clients, servers and organizations that deploy them. The six gaps below show where data can leave the boundary you think you control, and who on your side owns closing each one.

No protocol-level enforcement of consent

The specification says hosts must obtain explicit user consent before exposing user data to servers, but MCP itself cannot enforce that rule. Consent depends on how each client is built and configured, so two clients connecting to the same server may behave differently. Check whether your approved clients prompt users before sharing resource data, and whether the prompts are shown often enough to be meaningful. Ownership sits with the platform team that selects clients, supported by security review of each client's consent behavior.

MCP specification

Vendor retention stops at the MCP boundary

A model vendor's zero data retention commitment may not cover data that a third-party tool or MCP server processes. Anthropic's documentation for Claude Code states that its zero data retention does not cover data processed by third-party tools or MCP servers, which must be reviewed separately. Ask each server operator in writing how long it keeps request payloads, tool outputs and logs, where they are stored, and whether they are used for training. Ownership sits with procurement and the privacy office, who should review each server's terms as a separate vendor.

Claude Code retention docs

Token passthrough enables exfiltration

The MCP security best practices say that a server passing tokens through without validating them can be used by an attacker holding a stolen token as a proxy for data exfiltration. The server then becomes a relay that forwards the caller's access to downstream systems without checking whether the token was issued for it. Ask server owners whether they validate token audience and issuer before using a token, and whether they forward upstream tokens at all. Ownership sits with the teams that build or operate internal servers, verified through code review or a targeted security test.

Security best practices

Tool call content in logs and telemetry

Tool inputs and outputs often contain customer records, source code or credentials, and they can be copied into client logs, server logs, traces and analytics without anyone deciding that they should be. Set a retention period for each log store, redact known sensitive fields before they are written, and confirm which telemetry settings are on by default in each client. Ownership sits with the platform or SRE team that operates the log pipeline, with the privacy office setting the retention rule.

Cowork connectors bypass VM egress allowlists

In Cowork, connector requests are handled outside the virtual machine and usually go through Anthropic's servers. That means a VM egress allowlist does not limit what connectors reach, so a team that relies on network allowlists alone may believe outbound data is restricted when it is not. Review connector scope and approval settings as the control point, and confirm with the vendor how connector traffic is routed in your deployment. Ownership sits with IT administration, which should document the control that actually applies.

Cowork network access

Unclear retention on third-party servers

Many MCP servers are hosted by SaaS vendors or community maintainers whose retention, subprocessor and deletion practices are not published in a form that matches your data classification. Before approving a server, ask for its data flow diagram, subprocessor list, retention period for prompts and results, and the procedure for deletion on request. Record the answers in the approval file so later reviews can compare them. Ownership sits with the security review board, which decides whether a server handling regulated data is allowed at all.

Order of work before approving MCP servers for staff

This sequence moves from knowing which MCP servers are in use to a documented approval decision. Each step produces evidence a security or privacy reviewer can check, so approval rests on verified data flows rather than vendor assurances.

  1. Inventory every MCP server in use

    Engineering and IT list each MCP server staff connect to through their agents, including servers launched locally over stdio and servers reached over HTTP. For each entry, record the operator, the transport, the client that connects to it, and which employees or teams use it. Confirm the list against client configuration files and any managed settings your organization already enforces, because unofficial servers often appear there first. The output is a dated register with one owner per server, and a finding for any server nobody can name an operator for.

  2. Classify the data each server can receive

    For each server in the register, the data owner determines what the agent can send to it, based on the tools, resources and prompts the server exposes and the files, databases and tickets the agent can read on a user's behalf. Classify each flow by sensitivity, such as public, internal, customer personal data, regulated health or payment data, and source code or credentials. Flag any server that can receive data outside your jurisdiction or outside the tenant you control. The output is a data flow table that security signs off on before any retention review begins.

  3. Obtain each operator's retention and logging terms

    Procurement and privacy request written retention, logging, training-use and subprocessor terms from each server operator, and from any model provider the agent uses in the same workflow. Do not assume that a retention commitment from the agent vendor covers third-party tools or MCP servers. Anthropic's zero data retention documentation for Claude Code, for example, states that it does not cover data processed by third-party tools or MCP servers, which must be reviewed separately. Ask each operator where request payloads, tool outputs and logs are stored, for how long, and who can access them. The output is a signed or contractually referenced terms record per server.

  4. Set consent and tool input review rules

    Security and the application owner define when users must give explicit consent before data leaves the host for a server, and which tool calls require a visible review of inputs first. The MCP specification says hosts must obtain explicit user consent before exposing user data to servers and must not transmit resource data elsewhere without user consent, and its tools guidance says clients should show tool inputs to the user before calling the server. Confirm that the client your staff use actually applies these prompts and does not silently auto-approve calls for high-sensitivity servers. The output is a written rule set per data class, tested with the client configuration in place.

  5. Decide log destinations and redaction

    Identify every place tool call arguments, server responses and client telemetry are written, including local agent logs on developer machines, client vendor telemetry, your SIEM and any server operator's logs. Decide which destinations may hold tool inputs and outputs, and which must receive only metadata such as server name, tool name and timestamp. Require redaction of secrets, personal identifiers and regulated fields before logs are forwarded, and set retention periods for each destination. Test a sample session to confirm that a credential or customer identifier typed into a prompt does not appear in an unapproved log. The output is a log map with redaction rules and a test record.

  6. Test that tokens are validated, not passed through

    Security engineers test each HTTP-based server that accepts tokens to confirm it validates them and does not forward the client's token to a downstream API. The MCP security best practices page warns that a server which passes tokens through without validating them can be used by an attacker holding a stolen token as a proxy for data exfiltration. Use a test token issued for a limited audience and attempt to use it against the server with a different audience or scope. Stdio servers should be checked for how they obtain credentials from the environment. The output is a test report that records each server, each attempt and the observed behavior.

  7. Document the approval decision and review trigger

    The approver records, for each server, the approved data classes, the consent and review rules that apply, the accepted retention and logging terms, the log destinations, the token test result and any compensating controls. Name an owner who can revoke the approval and list the events that reopen review, such as a change of operator, new tools added to the server, a change in its retention terms, or a published security advisory affecting the server or its SDK. Store the record where the compliance team can retrieve it during an assessment. The output is an approval record per server that stays current with the register.

What a security reviewer asks to see for MCP data handling

This table lists the questions a reviewer should put to each party in an MCP data path, the place each answer should come from, and the gap to record when it is missing. Read it as a request list for the host, the server operator and your own logs, because no single vendor document covers the whole path. The main takeaway is that retention terms and consent in one product do not transfer to the MCP servers the agent calls.

Question or artifactWhere the answer comes fromGap if missing
Does the host obtain explicit user consent before sending user data to each server?Host documentation and the MCP specification's consent rules for hostsData may reach servers without a documented consent step, and the reviewer cannot confirm what users agreed to
Does the client show tool inputs to the user before each tool call?Client settings and the MCP tools specification guidance on showing inputs before calling a serverMalicious or accidental exfiltration through tool arguments may go unseen by the user
What is the retention term for data each MCP server vendor receives and stores?Written terms or data processing agreement from each server operatorVendor retention commitments held by the agent provider usually stop at the MCP boundary, so the server's own term is unknown
Does zero data retention cover data processed by MCP servers in Claude Code?Claude Code zero data retention documentation, which states that third-party tools and MCP servers must be reviewed separatelyZero data retention may be assumed to cover MCP traffic when it does not
Where do Cowork connector requests run and which servers receive them?Cowork network access documentation on connector routing outside the VMVM egress allowlists may be read as limiting connector destinations when they do not
Do server logs and audit records show tool call content such as arguments and returned data?Sample log exports from your own logging pipeline and the server operator's logging documentationSensitive values may sit in logs or telemetry with no retention limit or access control
Does each server validate tokens it receives, or does it pass them through to upstream APIs?Your own token validation test results and the server's security documentationA server that forwards unvalidated tokens can be used by an attacker holding a stolen token as a data exfiltration proxy
Is the authorization mode for each server documented as HTTP with the authorization spec, or stdio with credentials from the environment?Server configuration inventory and the MCP authorization specificationCredentials may be stored in plain configuration files or shared across users without a documented owner
Who receives security advisories for each MCP SDK and server in use?The GitHub Security Advisories on the affected repository and your own vendor contact recordsPatches for data exposure issues may go unapplied because no owner tracks them

Questions buyers ask before approving MCP for data-sensitive work

Does MCP itself have a license cost?

The Model Context Protocol is an open protocol, so the specification itself carries no license fee. Your costs come from the parts around it: the MCP servers you run or buy, the client applications that connect to them, the identity provider and logging you already pay for, and the staff time to review each server. Confirm the license terms of each third-party server and client separately, because many are open source but some hosted servers and commercial clients are sold on subscription or usage terms that you should request in writing.

What drives the effort of reviewing an MCP server?

The effort depends on what data the server can reach, where it runs, and how it authenticates. The MCP specification says MCP cannot enforce its security principles at the protocol level, so the implementer must build consent, access control and data protection into the application. A server that reads customer records and sends data to an external API takes far more review than one that reads public documentation. Review effort rises with the number of data sources, the number of tools each server exposes, whether the server is local (stdio) or remote (HTTP), and whether it relies on the authorization spec or on credentials passed through the environment.

Can our own security team review MCP servers in-house?

Often yes, if the team has engineers who can read server source code, trace where tool inputs and outputs go, and check the authorization flow against the MCP authorization specification. The review should cover what each tool can read or write, whether tool inputs are shown to the user before a call, whether tokens are validated rather than passed through, and what the server logs. Teams without that depth often bring in an outside security testing partner for a fixed-scope review. DeployOpen runs security testing of applications, APIs and AI agents, and its engagements are scoped and priced in writing before work starts, so ask for a quote against a defined list of servers.

What does the review need from business and legal teams?

Security reviewers can check the technical controls, but they need decisions from the business and legal side. Legal and privacy teams should confirm which data classes may be sent to each server, whether the server operator is a processor or a sub-processor, where data is stored and in which regions, and how long the operator keeps logs and outputs. The business owner should name the approved use case and the people allowed to connect each server. Without these decisions, the technical review cannot conclude, because the spec requires hosts to obtain explicit user consent before exposing user data to servers and forbids sending resource data elsewhere without consent.

How does the review time grow with the number of servers?

No general duration can be stated from the sources available here, so confirm timing against your own inventory. Review work grows with each server because each one adds its own data flows, tokens, tool list and operator contract. A practical approach is to review a small set of servers first, record the findings as a template, and then apply that template to later servers, reserving full review for servers that touch regulated data. Ask any implementation partner to state the review timeline as a function of the number and type of servers in the written scope, along with the dependencies on your identity provider and change approval process.

Does a zero data retention setting cover data sent to MCP servers?

No. Anthropic's zero data retention documentation for Claude Code states that it does not cover data processed by third-party tools or MCP servers, and those must be reviewed separately. A zero data retention commitment for the model provider does not extend to the MCP server operator, to a hosted connector, or to any tool that stores results. For each server, ask the operator in writing what it stores, for how long, where it stores it, whether it uses inputs for training, and whether logs contain tool arguments. Confirm the scope of any retention term with the vendor that offers it, and check your own logging, because tool calls can expose data through logs and telemetry on your side as well.

What should we request in a quote for MCP privacy review?

Ask for a written scope that lists each server, client and data class in the engagement, along with the deliverables and the decision points. A useful quote separates one-time work (review of current servers, a data flow map, a policy and a reusable review template) from recurring work (review of new servers, re-review after version changes, and monitoring). It should state what the partner needs from you, such as source code access, test accounts, network access and named reviewers, and what it will not do, including any statement that it does not issue audit reports or certifications. Confirm with each server operator the retention, training-use and subprocessor terms that the quote depends on.

How DeployOpen helps you review MCP data exposure before rollout

DeployOpen plans, implements, tests and documents self-hosted open-source platforms inside your own infrastructure, and prepares evidence for compliance assessments. For MCP data privacy and data security, we map where each server receives data, test what tool calls expose, and hand over a written record your security and procurement reviewers can act on.

How we scope

  • Inventory every MCP server, client and tool the rollout would touch, and which user data each one can receive.
  • Map each data flow, including vendor-hosted connectors, to the party that stores, logs or relays it.
  • Agree the scope in writing before work starts, since most engagements are fixed-scope with defined deliverables.

How we build

  • Configure consent prompts and tool-input review in the client, so users see data before a server receives it.
  • Test whether servers that pass tokens through can be used as a proxy for data exfiltration in your environment.
  • Check which tool arguments, responses and telemetry settings write sensitive data to logs and where those logs are kept.

How we hand over

  • Deliver a data-flow register listing each MCP server, data category, processing location and retention setting to confirm.
  • Document open questions for each vendor, including retention terms that do not extend to MCP servers, for your review.
  • Provide evidence and control descriptions for compliance readiness work, while independent auditors issue any assessment or attestation.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • Re-review the data-flow register when servers, clients or vendor terms change, so approvals stay current.
  • Retest affected servers when a new MCP specification revision or SDK security advisory changes the risk picture.

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.