Docker MCP server data privacy and logging

Docker MCP servers run locally or remotely, and the Gateway and AI Governance logs record metadata with a 90-day cloud retention only when cloud delivery is on. This page sets out what a privacy and logging review must confirm.

On this page

Does Docker MCP server meet data privacy and logging requirements?

Privacy and logging are only partly met. Local catalog servers keep their data on the machine that runs them, and the Gateway's call logs and AI Governance audit records contain metadata rather than prompts, outputs or parameter values. But AI Governance is invite-only, its audit records cover only local sandboxes (not cloud sandboxes), and records are produced only for signed-in users who hold an AI Governance license and work under an enforced organization policy. A reviewer who approves Docker MCP servers on the basis of logging alone is approving a control that may not apply to most of the staff using them.

Remote servers are a different case. The MCP Catalog documentation says remote servers run on the provider's infrastructure, so arguments and results sent to a remote service such as GitHub, Notion or Linear leave the organization and fall under that provider's terms, not Docker's. Docker's own FAQ describes its MCP security measures as a best-effort approach that is not yet exhaustive and directs enterprise customers to their Docker account manager for specific requirements. Treat that as a reason to get written answers on data handling, not as a substitute for them.

Before approval, confirm three things in writing: which Docker edition and AI Governance license cover your users, whether cloud delivery of audit records is turned on, and how long your local .jsonl audit files are kept. Local delivery writes files on each host that Docker Sandboxes never deletes, so retention, rotation and access to those files become your responsibility. Cloud delivery keeps audit records in Docker Cloud for 90 days. Ask Docker whether that period fits your own retention policy and whether the Gateway's --block-secrets default is enabled on every workstation.

Data privacy and logging capabilities by edition and delivery mode

This table compares the Docker MCP data privacy and logging features by delivery mode, edition and condition, showing what is built in, what is paid or invite-only, and what needs a component outside the default setup. Read each row against your own plan and deployment, since the Toolkit and AI Governance pages are marked Beta. The main takeaway is that audit records hold metadata only and may never reach Docker Cloud if local delivery is used, so confirm the delivery mode before you approve use.

CapabilityStatus and conditionBuilt in or paidNeeds outside component or not available
Local catalog serversRun as containers on the user's machine through the Toolkit (Beta); work offline once downloadedBuilt in with Docker Desktop 4.62 or laterNot available for cloud sandboxes; confirm what data the chosen server sends onward
Remote catalog serversRun on the provider's infrastructure, so requests and data leave your machineAvailable through the Catalog; terms depend on each providerData handling is set by the provider; confirm retention and region with that vendor
Gateway secret blocking--block-secrets scans tool-call arguments and text responses before and after executionBuilt in and on by default in the open source MCP GatewayNot a full data loss control; test it against your own secret formats
Gateway call loggingOn by default; records tool name and argument shape metadata onlyBuilt in with the MCP GatewayRaw argument keys and values are not recorded, so confirm whether that meets your investigation needs
AI Governance audit recordsMetadata only; no prompts, agent output or parameter values; local sandboxes only (Beta)Requires an AI Governance license and an enforced organization policy; paidNot available for cloud sandboxes; signed-in users only
Cloud audit deliveryRecords stored in Docker Cloud for 90 days when cloud delivery is turned onPart of AI Governance; paid and tied to the organization policyConfirm the Docker Cloud region and how records are exported before rollout
Local audit deliveryWrites .jsonl files on each host; Docker Sandboxes never deletes themPart of AI Governance; paid and tied to the organization policyNeeds your own retention, rotation and collection process for each host
MCP Gateway under AI GovernanceGovernance-level features for the Gateway in the AI Governance product (Beta)Invite-only; contact Docker SalesNot available to general users; request confirmation in writing from Docker

Where data and credentials flow in a Docker MCP setup

The first question for a reviewer is which component touches the data and which one holds the credentials. In Docker's model, the MCP Toolkit is the management interface in Docker Desktop used to set up, run and connect containerized MCP servers to AI agents. The MCP Gateway sits between the client and the servers as a centralized proxy that manages configuration, credentials and access control. When the Toolkit is enabled in Docker Desktop, the Gateway runs automatically in the background. On Docker Engine without Docker Desktop, the Gateway is installed separately as the docker-mcp CLI plugin. Confirm with your Docker account team which credential store the Gateway uses on each platform your staff run, because the answer determines where a leaked secret would sit on a laptop or server.

The data path depends on where a server runs. According to the MCP Catalog docs, local servers run as containers on the user's machine, work offline once downloaded, and keep data on that machine. Remote servers run on the provider's infrastructure, so every tool call and its returned data leave the host and fall under that provider's terms, retention and location. Map each server your staff will use to one of these two paths before approval, because a single Gateway policy does not change where a remote provider stores what it receives. The Gateway also enforces the secret boundary. Its --block-secrets option is on by default and scans tool-call arguments before execution and text responses after execution for secret-like values. Test this with a sample credential in a non-production environment, since a pattern scanner can miss values that do not match its patterns.

Audit records are created on the signed-in user's side of AI Governance and then delivered in one of two ways. With cloud delivery turned on, Docker stores the records in Docker Cloud for 90 days. With local delivery, each host writes .jsonl files that Docker Sandboxes never deletes, so the retention period becomes your own responsibility. Records only exist when users are signed in with an AI Governance license and an enforced organization policy, and they cover local sandboxes but not cloud sandboxes. Gateway call logging is separate: it is on by default and records the tool name and argument shape, not argument keys or values. Ask Docker which of these delivery modes applies to your tenant, who can read the local files, and how your retention schedule maps to the 90-day cloud window. Also confirm with Docker, in writing, how the Gateway's credential handling is documented, since Docker's FAQ describes its MCP security measures as a best-effort approach and not yet exhaustive.

How prompts, tool calls and audit records move

The diagram starts at the AI client, which sends each tool call to the MCP Gateway. The Gateway checks arguments and responses for secret-like values with --block-secrets on by default, then routes the call either to a local container on the user's machine or to a remote provider. Gateway call logs keep only tool names and argument shape, while AI Governance audit records go either to Docker Cloud or to .jsonl files on each host. Check which route applies to your deployment and who can read each store.

Tool call path from the AI client through the Gateway to servers and log stores.

Decisions to make before approving data flows

Each Docker MCP server decision changes where data travels, who holds the credentials and what evidence exists afterward. Review these five decisions together, because a local server with cloud audit delivery and a remote server with local logs produce very different records and exposure.

Local or remote for each catalog entry

The Docker MCP Catalog docs state that local servers run as containers on the user's machine, work offline once downloaded and offer complete data privacy. Remote servers run on the provider's infrastructure, so every tool call and its arguments leave the machine for that provider. Record each catalog entry you approve as local or remote, and confirm the mode with the entry's documentation before staff enable it. A remote entry means the provider's own terms govern the data it receives.

MCP Catalog docs

Where credentials are stored and who holds them

The MCP Gateway is described as the centralized proxy that manages configuration, credentials and access control between clients and servers. Ask Docker, in writing, where the Gateway keeps tokens and API keys on each host, who can read them, and whether they are visible to the connected agent. Confirm that the Gateway's secret scanning covers the paths your staff use, since the scan is a control on tool-call content, not a vault.

Cloud or local audit delivery

Audit delivery determines where records live and how long they last. With cloud delivery turned on, Docker stores audit records in Docker Cloud for 90 days. With local delivery, records are written as .jsonl files on each host, and Docker Sandboxes never deletes them, so your team owns rotation and retention. Pick the delivery mode before rollout, document it, and confirm which one applies to your tenant.

Audit logs docs

Whether enforcement is needed for logs

Audit records come only from signed-in users who hold an AI Governance license and sit under an enforced organization policy. Staff who use unlicensed or unsigned clients generate no AI Governance records, even though the Gateway may still log tool names. Treat enforcement as a prerequisite for any audit claim. Confirm with Docker Sales that MCP Gateway as part of AI Governance is available to you, because the docs describe it as invite-only.

Remote provider terms for received data

When a remote entry receives a request, the provider holds that data under its own retention, training and jurisdiction terms, not Docker's. Gateway call logs record only tool names and argument shape, and audit records hold metadata only, so neither shows what the provider kept. For each remote entry, collect the provider's data processing terms and retention statement, and check them against your GDPR or HIPAA obligations before approval.

How the answer changes by delivery mode and sandbox type

Docker's MCP Catalog documentation says local servers run as containers on the user's machine, work offline once downloaded and offer complete data privacy. For a local server, the data path stays on the host: the tool runs in a container, and its inputs and outputs go to the AI client on that machine. The main review question is therefore what the AI client itself sends to its model provider, because that step sits outside the MCP server.

  • Where tool data goes: Arguments and results for a local server stay on the host, according to the vendor's description of local servers.
  • Offline operation: Once a server image is downloaded, the documentation says it works offline, so network egress from the server itself is not expected for normal tool calls.
  • Gateway checks still apply: Tool-call arguments and text responses pass through the Gateway, where the default --block-secrets setting scans for secret-like values.
  • Audit records: Confirm whether the sandbox type and license make AI Governance audit records apply, because those records are limited to local sandboxes.

Confirm with the vendor and in your own environment whether any local server makes outbound calls beyond what the documentation describes.

Where Docker MCP logging falls short for a privacy review

Docker's logging and retention controls answer some privacy questions but leave others open. The gaps below sit at the edges of audit coverage, retention and vendor commitments, and each has a common way to close it. Confirm each one in your own environment before you approve the tool for staff.

Audit records omit prompt and parameter content

AI Governance audit records contain metadata only. They never include prompt content, agent output or parameter values, so a reviewer cannot reconstruct what a user asked for or what data an agent sent to a tool. The usual way to cover this is to pair Docker's records with your own controls on the client side, such as prompt policies, data loss prevention on outbound traffic, and a documented decision on which data classes staff may send through agents. Ask Docker to confirm this behavior for your plan and version.

Audit logs docs

Cloud sandboxes fall outside audit coverage

Audit records cover local sandboxes only. Any agent activity that runs in a cloud sandbox produces no AI Governance audit record, so a privacy review that depends on these logs has a blind spot for that workload. Where cloud sandboxes are in scope, teams usually require them to be disabled by policy or document their activity through the provider's own logs. Confirm with Docker which sandbox types your policy can block.

Local audit files are never deleted

With local delivery, Docker writes .jsonl audit files on each host, and Docker Sandboxes never deletes them. Storage can grow without limit and files may hold metadata about users and tools for as long as they exist. The common fix is a retention job on each host that rotates and removes files on your schedule, plus shipping copies to a log store outside the host so the retention period is set by policy, not by the workstation.

Cloud retention is fixed at 90 days

When cloud delivery is on, Docker stores audit records in Docker Cloud for 90 days. That period may be shorter than your records schedule or longer than your data minimization rules allow. Before you rely on cloud delivery, compare the 90-day period with your retention policy and ask Docker whether the period can change for your contract, and how records are deleted at the end of the agreement.

Docker describes its security as best-effort

Docker's FAQ calls its MCP security measures a best-effort approach that is not yet exhaustive, and it directs enterprise customers to their account manager for specific requirements. A privacy reviewer should not treat the Gateway defaults as a guaranteed control. Ask for written answers on data handling, log integrity and incident notice, and record them in your approval file so the decision rests on documented commitments rather than on the product page.

MCP Toolkit FAQs

Remote servers' data handling belongs to providers

Local catalog servers run as containers on your machine and can work offline, while remote servers run on the provider's infrastructure. Once a request reaches a remote service such as GitHub, Notion or Linear, that provider's terms set retention, location and access, and Docker's logs do not follow the data there. The usual cover is a provider contract and data processing review for each remote server, with the retention and sub-processor terms recorded before approval.

MCP Catalog docs

Order of work for a privacy and logging review

This sequence lets a security or IT reviewer establish where Docker MCP server data goes, what the gateway and audit logs record, and who owns retention before staff or agents connect. Each step ends with a written check that feeds the approval decision.

  1. Inventory every server as local or remote

    Start by listing each MCP server staff intend to use from the Docker MCP Catalog, with its entry type (verified, partner, Docker-built or remote service). Mark each one as local, running as a container on the user's machine, or remote, running on the provider's infrastructure. Docker's catalog documentation says local servers work offline once downloaded and offer complete data privacy, while remote servers run on the provider's infrastructure, so the local or remote label decides which data flows you need to review. The step is done when the inventory names every server, its mode and its owner, and a reviewer has signed off on it.

  2. Confirm AI Governance licensing and enforced policy

    Confirm with Docker whether your organization has the AI Governance license that the MCP Gateway requires as part of that offering, since Docker describes this feature as invite-only with Docker Sales as the contact. Then confirm that an organization policy is enforced, because audit records only come from signed-in users who hold an AI Governance license and an enforced policy. Ask the account team to put both facts in writing. The step is done when you can name which users generate audit records and which users fall outside that coverage.

  3. Choose audit delivery and retention ownership

    Decide between cloud delivery and local delivery before any records are created. With cloud delivery, Docker stores audit records in Docker Cloud for 90 days. With local delivery, Docker writes .jsonl files on each host, and Docker Sandboxes never deletes them, so someone must own rotation, storage and deletion. Name one owner for retention and one for access to the records, and record how each host or account will be covered. The step is done when the delivery method, the retention period in effect and the named owners appear in your data handling register.

  4. Verify secret blocking and call logging are on

    Check the gateway configuration on a test host to confirm that --block-secrets is enabled, since Docker's security documentation lists it as on by default. This setting scans tool-call arguments and text responses for secret-like values before and after execution. Then confirm that gateway call logging is on, which Docker documents as also on by default, and that it records only the tool name and argument shape. Use a representative configuration file, not a production one, and capture the settings in your change record. The step is done when the screenshot or configuration output shows both settings active and any override is documented with an approver.

  5. Test that audit records hold metadata only

    Run a controlled session in a local sandbox that uses a test secret, a test prompt and a harmless tool call, then export the resulting audit records. Check that they contain metadata only and no prompt content, agent output or parameter values, which is how Docker describes them. Also confirm that cloud sandboxes are not covered by these records, so any cloud-based agent work needs its own review. Keep the test output as evidence. The step is done when the export shows no test secret or prompt text, and the gap for cloud sandboxes is recorded as an accepted risk or a blocked use.

  6. Document provider terms for remote servers

    For every remote server in the inventory, collect the provider's own data handling, retention and sub-processor terms, because Docker's gateway logs do not cover what the provider stores on its side. Ask each vendor which data they keep, for how long and where it is processed, and whether they offer a contractual commitment for your tenant. Store the terms with the server entry in your inventory and note the date you obtained them. The step is done when every remote server has a linked set of terms that an approver has reviewed, and any server without usable terms is excluded from the approved list.

Evidence a security reviewer will ask for

This table lists the evidence a reviewer should request for each data path, from where server code runs to how long audit records stay. Read each row as a question to answer from Docker's documentation, the Gateway security model or a written statement from the account team. The main takeaway is that local and cloud settings differ, so a reviewer must confirm which deployment and licensing state applies before accepting any retention or privacy claim.

Evidence itemWhat to requestWhere it comes from
Data location per serverFor each server in use, whether it runs locally as a container or remotely on the provider's infrastructure, and where its data is processedDocker MCP Catalog docs; provider terms for each remote service
Credential storageWhere the Gateway and Toolkit keep API keys and tokens, who can read them, and whether they leave the hostMCP Gateway docs and Docker MCP Toolkit docs; confirm storage details with Docker
Gateway secret blockingConfirmation that --block-secrets is on, and any host configuration that turns it offDocker MCP Gateway security model (docs/security.md)
Gateway call log scopeSample log output showing that only tool names and argument shape appear, with no raw keys or valuesDocker MCP Gateway security model (docs/security.md)
Audit record contentsA sample audit record confirming metadata only, with no prompt content, agent output or parameter valuesDocker AI Governance audit log documentation
Cloud and local retentionWhether cloud delivery is on (90-day storage in Docker Cloud) and the local .jsonl file location, owner and deletion process, since local files are not deleted by Docker SandboxesDocker AI Governance audit log documentation
Licensing and enforced policyProof that users have an AI Governance license and an enforced organization policy, since audit records depend on bothDocker AI Governance audit log documentation; Docker Sales for invite-only MCP Gateway access
Provider data termsWritten data processing terms from Docker and from each provider of a remote catalog server, including retention and training useDocker account manager; each remote provider's own terms

Questions buyers ask about Docker MCP data and logs

Do prompts leave the machine when staff use local Docker MCP servers?

For local servers, the Docker MCP Catalog docs say the server runs as a container on the user's machine, works offline once downloaded, and offers complete data privacy. That describes the server's own runtime, not the AI client. The agent or model provider the staff member connects to still receives whatever the agent sends, including tool results. Before approving the setup, confirm which AI client is in use, where its model calls go, and what its own data terms say. Remote servers are different: they run on the provider's infrastructure, so the data they handle leaves the machine by design and falls under that provider's terms. Check each server in the catalog separately and record whether it is local or remote.

Do Docker AI Governance audit logs contain prompt text or parameter values?

No. Docker's audit log documentation says AI Governance audit records contain metadata only and never include prompt content, agent output or parameter values. That limits what a reviewer can reconstruct after an incident, so the security team should plan other evidence sources for detailed investigation. The Gateway's call logging is separate: it is on by default and records only the tool name and argument shape metadata, not raw argument keys or values. Ask Docker to confirm how these two log types relate in your deployment before you describe logging to auditors. Audit records also cover local sandboxes only, not cloud sandboxes, so a cloud-run agent may have no audit record at all.

How long does Docker keep cloud audit records?

When cloud delivery is turned on, Docker stores audit records in Docker Cloud for 90 days, according to its audit log documentation. Your retention obligations may require a longer period, so the 90-day figure is a starting point for your own retention schedule, not a settled answer. If your policy needs longer retention, ask whether you can export records to your own storage on a schedule and confirm the export format and any cost. Also confirm where Docker Cloud stores the data geographically, because that determines the transfer analysis under GDPR and any sector rules you follow.

Are local audit logs ever deleted automatically?

No, not by Docker Sandboxes. Docker's audit log documentation says local delivery writes .jsonl files on each host, and Docker Sandboxes never deletes them. The retention of those files is therefore your responsibility. Set a rotation and deletion policy, decide where the files are copied for central review, and restrict who can read or alter them, because a developer with local access can change files on their own machine. Make sure the rotation job does not remove files that an open investigation or legal hold still needs. Ask your Docker contact to confirm the file location and naming on each operating system you support.

Is AI Governance available to any organization without an invitation?

Not as far as the supplied documentation shows. Docker's MCP Gateway documentation says the Gateway as part of Docker AI Governance is an invite-only feature, with Docker Sales as the contact. The open source MCP Gateway and the MCP Toolkit are separate from that invite-only governance layer. Audit records also depend on the governance setup: they come only from signed-in users who hold an AI Governance license and are covered by an enforced organization policy. Ask Docker Sales whether your organization qualifies, what license is required, and what it costs, since pricing details were not part of the supplied material. Plan your evidence approach so it does not depend on governance being approved.

Where are credentials and secrets stored, and does the gateway block them?

The MCP Gateway is designed to manage configuration, credentials and access control as a centralized proxy. Its security model enables --block-secrets by default, which scans tool-call arguments and text responses for secret-like values before and after execution. A scanner cannot catch every secret format, so treat it as one control. Confirm with Docker where each credential is held on your hosts, whether it is encrypted, and who can read it. Docker's FAQ says its MCP security measures are a best-effort approach and not yet exhaustive, so enterprise customers should raise specific storage requirements with their Docker account manager in writing.

What can an organization do itself, and where does outside help fit?

Your team can inventory which MCP servers are local or remote, set the Gateway's secret blocking and call logging settings, collect local audit files into your own store, and set rotation and retention rules. Those steps depend on your own policy owners and on tooling you already run. Outside help is useful when you need an independent view of data flows, prompt injection and credential handling, or evidence prepared for a compliance assessment. DeployOpen can plan, implement and harden self-hosted platforms in your infrastructure, run AI agent rollout security reviews with findings and retests, and prepare control evidence. It does not issue audit reports or certifications, and most engagements are fixed-scope with written deliverables. Cost depends mainly on the number of servers, the depend on the depth of testing and whether ongoing retesting is needed.

Primary sources to check each claim against

Start with the Docker MCP Catalog page, because it is the only place that separates local servers from remote ones. Confirm for each server you plan to approve whether it runs as a container on the host or on the provider's infrastructure, since that single fact decides where its data goes. Both the Catalog and Toolkit pages are marked Beta, so record the date you checked them and ask Docker whether the behavior described there applies to the version your staff will run.

Next, read the Gateway security model in the docker/mcp-gateway security document. Check the default of the --block-secrets flag, which scans tool-call arguments and text responses for secret-like values, and confirm whether call logging is on in your configuration. Note what that log records: the tool name and argument shape, not raw keys or values. Treat any change to these defaults as a finding to document, and test it in your own environment before relying on it.

Then compare the Docker audit logs page against your retention policy. Confirm which delivery method you use, since cloud delivery keeps records for 90 days while local .jsonl files on each host are never deleted by Docker Sandboxes, so someone must own their cleanup and protection. Also confirm your license and enforced organization policy status, because records only come from signed-in users meeting both conditions. Finally, read the MCP Toolkit FAQs, where Docker calls its security measures best-effort and not yet exhaustive, and ask your account manager in writing for the specific data handling terms your compliance team requires.

How DeployOpen helps review Docker MCP data flows

DeployOpen reviews the data paths around Docker MCP servers inside your own environment: where local and remote servers send data, where credentials sit, and what the gateway and audit records keep. Engagements are fixed-scope, with the scope, deliverables and timeline agreed in writing before work starts.

How we scope

  • Agree in writing which MCP servers, clients and Docker Desktop or Docker Engine hosts are in the review
  • Map which servers run locally and which are remote, and which data each one receives
  • Confirm the AI Governance license, enforced policy and log delivery settings your organization uses
  • Retainers for ongoing review are available once the initial scope is complete

How we build

  • Test whether secret-blocking and call logging behave as documented in your gateway version
  • Check where credentials are stored, how they reach servers, and who can read them on each host
  • Trace audit record delivery, retention and the fields recorded, then compare them with your logging requirements
  • Document each data flow with the controls that apply to it and the gaps that remain

How we hand over

  • A written findings report covering data flows, credential handling, logging and retention
  • Recommended fixes for each finding, with the configuration changes or policy settings needed
  • A retest after fixes are applied, so the final report reflects the state you will run
  • Evidence packaged for your security review, privacy assessment or compliance team

How we support

  • Review again when Docker releases changes to the Toolkit, Gateway or Catalog your staff use
  • Update data flow documentation when new MCP servers are approved or existing ones change
  • Prepare answers and evidence for procurement and security questionnaires about this setup
  • Continuous testing and upgrade support are available through a retainer agreed in writing

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.