GitLab MCP server data privacy: does repository data leave a Self-Managed instance?
An AI client such as Claude Code or Cursor connects to GitLab, and the reviewer's question is whether repository data leaves the company. The GitLab MCP server is generally available in the Free, Premium and Ultimate tiers, and GitLab's GitLab Duo data usage page states that for GitLab Self-Managed instances, GitLab does not transmit, store, retain or process any data when the MCP server is used. That statement covers the MCP path only. The same page says all traffic runs directly between the MCP client and the GitLab MCP server inside your environment, and that repository data and metadata are not sent to GitLab. Each MCP client's own privacy and retention policies still apply, so the approval also depends on the client vendor.
Keep the MCP path separate from GitLab Duo, because Duo features follow a different data path. The same page says GitLab does not train generative AI models, that GitLab has a zero data retention policy with Fireworks AI for Duo requests, and that certain Anthropic and OpenAI models are subject to limited vendor-side retention. It also says Duo Chat and Agent Platform retain chat and workflow history, and that expanded logging for Agent Platform retains trace data. If your rollout enables Duo alongside MCP, those terms govern Duo requests, and the MCP connection sits outside them. Record which features are switched on so the review covers each data path separately.
Confirm the deployment model in writing before approval. The Self-Managed statement does not establish the position for GitLab.com or GitLab Dedicated, where the MCP server is also generally available. Ask GitLab where MCP traffic is processed on those platforms, what logs or metadata the service retains, whether any repository content passes through GitLab-operated components, and which retention periods apply. Ask each AI client vendor the same questions for its side of the connection. Store the answers with the Self-Managed statement so the approval covers the deployment you actually run. DeployOpen can help assemble this evidence, but auditors and the vendors themselves remain the sources of any attestation.
Which data paths GitLab documents, and for which deployment
This table separates the MCP server and client traffic from GitLab Duo model features, since the documentation treats them differently. Read the first two rows as the Self-Managed MCP position, then check the Duo rows for model vendors and retention before approving any feature that calls a model. The main takeaway is that the MCP server statement does not cover Duo, and GitLab.com and Dedicated need written confirmation.
| Component | Where it runs | What the documentation says about data | Who controls it |
|---|---|---|---|
| MCP server on Self-Managed | Customer's own GitLab Self-Managed instance | GitLab does not transmit, store, retain or process any data when the MCP server is used | Customer administrators and the instance owner |
| MCP client traffic | Between the AI client and the MCP server in the customer environment | Communication is direct between client and server; each client's own privacy and retention policies apply | Customer chooses which MCP clients connect; client vendor sets its own policy |
| Repository data and metadata | Stays in the customer's GitLab instance | Not sent to GitLab according to the page | Customer, through instance and repository permissions |
| GitLab Duo features that call models | Separate from the MCP server | GitLab states it does not train generative AI models; the MCP server statement does not cover these features | GitLab Duo enablement settings and feature configuration by the customer |
| Fireworks AI for Duo requests | Third-party model provider used by GitLab Duo | GitLab has a zero data retention policy with Fireworks AI for Duo requests | GitLab contract terms; confirm the current agreement with GitLab |
| Anthropic and OpenAI models in Duo | Third-party model providers used by certain Duo features | Subject to limited vendor-side data retention | Vendor retention terms; ask GitLab which models a given feature uses |
| Duo Chat and Agent Platform history | GitLab Duo Chat and Agent Platform | Chat and workflow history is retained | Customer sets retention and access; confirm the retention period with GitLab |
| Expanded logging for Agent Platform | GitLab Duo Agent Platform, when enabled | Expanded logging retains trace data | Customer decides whether to enable it; confirm what trace data contains |
| MCP handling on GitLab.com and GitLab Dedicated | GitLab-hosted or dedicated tenant | Not stated in the supplied documentation summary; confirm with GitLab | Confirm with GitLab before approving these deployments |
Two separate data paths: the MCP client path and the Duo model path
The diagram starts with the AI client, which connects directly to the GitLab MCP server inside your instance. On GitLab Self-Managed, GitLab's data usage page says repository data and metadata are not sent to GitLab on that path, and the MCP client's own provider applies to its own traffic. The second branch covers GitLab Duo features, which call model vendors separately: Fireworks AI runs under a zero data retention policy, while certain Anthropic and OpenAI models are subject to limited vendor-side retention. Check each branch against your own client and Duo settings before approval.
Traffic from the MCP client and from GitLab Duo follows two separate paths.
What is retained, by component
A GitLab MCP session involves several parties, and each keeps or drops data under its own rules. The cards below separate the MCP server, the AI client, GitLab Duo features and the model vendors so a reviewer can ask each party the right question.
MCP server on Self-Managed
On a GitLab Self-Managed instance, the GitLab Duo data usage page says GitLab does not transmit, store, retain or process any data when the MCP server is used. Traffic runs directly between the MCP client and the server inside your environment, and repository data and metadata are not sent to GitLab. Confirm this statement in writing for your version and deployment, and ask whether any instance logs you enable on the server itself are retained by your own team.
Duo data usage pageThe MCP client's own retention
The data usage page states that each MCP client's own privacy and data retention policies apply, and that the customer controls which MCP clients connect. Claude Desktop, Claude Code, Cursor or any other client can keep prompts, file excerpts and tool results under its own terms, so the server's zero-retention statement does not cover them. Ask each client vendor for its retention period, training policy and enterprise data terms before you approve it.
Duo Chat history
GitLab Duo Chat retains chat history. This is a GitLab Duo feature, separate from the MCP server, so the MCP statement does not apply to it. Ask GitLab what the retention period is, whether users can delete their own history, who can read it and whether it is covered by your audit logs. Check that your Duo settings match your data handling policy.
Duo data usage pageAgent Platform workflow history
GitLab Duo Agent Platform retains workflow history for the tasks agents run. Each workflow can record prompts, steps and outputs that reference repository content, so this is a second store of project data beyond the repository itself. Ask GitLab where workflow history is stored, how long it is kept, who in your organization can view it and how it is removed on request.
Expanded logging retains trace data
Expanded logging for Agent Platform retains trace data, which can capture the detailed steps, inputs and outputs of agent runs. This is an opt-in setting that increases what is kept, so the decision sits with the administrator who enables it. Before turning it on, confirm the trace retention period, the access controls on trace data and whether traces may contain secrets or personal data that the team must redact.
Model vendor retention
GitLab states a zero data retention policy with Fireworks AI for GitLab Duo requests. Certain Anthropic and OpenAI models are subject to limited vendor-side data retention. Which model serves a given request depends on the feature and your configuration, so ask GitLab which models are enabled for your instance and request the retention terms for each vendor in writing.
Duo data usage pageWhat the company controls: MCP clients, Duo features and logging
The data boundary on the MCP path is the list of AI clients you allow to connect. The GitLab Duo data usage page states that the customer controls which MCP clients connect, and that for GitLab Self-Managed instances GitLab does not transmit, store, retain or process data when the GitLab MCP server is used. All communication runs directly between the MCP client and the MCP server in your environment, and repository data and metadata are not sent to GitLab. That makes the approved client list the control that matters most. Confirm who can add a client, how each client is identified, and whether your administrators can block a client that is not on the list before staff connect tools such as Claude Desktop, Claude Code or Cursor to production projects.
Duo features are a separate decision from the MCP server. The same page explains that GitLab Duo features, including Duo Chat and Agent Platform, are distinct from the MCP server, and it is the Duo side that retains data. GitLab Duo Chat and Agent Platform retain chat and workflow history, and expanded logging for Agent Platform retains trace data. Decide whether each Duo feature is enabled for each group, record that decision, and review the retained chat and workflow history against your internal retention rules. Ask GitLab which retention period applies to your deployment and whether it can be shortened for your tier. Keep the Duo decision and the MCP client decision in separate records so an audit can trace each one.
Client-side retention sits outside GitLab's controls. The GitLab documentation says each MCP client's own privacy and data retention policies apply, so a transcript that an AI tool stores on a developer laptop or in its vendor cloud is governed by that tool's policy, not by your GitLab settings. For each approved client, read its retention and training terms, check whether session history is stored locally or remotely, and decide whether developers may keep transcripts that reference source code or credentials. Record the answers next to the client on your approved list. An illustrative case: a client approved for code review may still keep chat history that contains pasted code, and that history falls outside GitLab's retention settings entirely.
How the answer changes by deployment and by whether Duo is on
This is the setup where the documented position is clearest. GitLab's Duo data usage page states that, for GitLab Self-Managed instances, GitLab does not transmit, store, retain or process any data when the GitLab MCP server is used. The page also says communication runs directly between the MCP client and the GitLab MCP server inside your environment, and that repository data and metadata are not sent to GitLab. The MCP server is documented as generally available on GitLab Self-Managed and listed in the Free, Premium and Ultimate tiers.
- Vendor-side processing: The documented position is no transmission, storage, retention or processing by GitLab for the MCP server on Self-Managed.
- Client-side policy: Each MCP client's own privacy and retention terms still apply to what the client sends to its model provider.
- Client control: The customer decides which MCP clients connect to the server.
- Edition check: Confirm the tier your instance runs on, since the MCP server is listed across Free, Premium and Ultimate.
- Version check: Confirm the GitLab version in your environment against the release notes, since the server moved from beta to generally available in GitLab 19.5.
Before approval, confirm that no Duo feature is enabled for the same users, because the next tab covers a separate data path. Ask the vendor to confirm the no-processing statement in writing for your exact version and tier.
Turning on GitLab Duo features changes the picture even on Self-Managed, because Duo features are separate from the MCP server and have their own model processing. GitLab's Duo data usage page says GitLab does not train generative AI models on this data. It also describes a zero data retention arrangement with Fireworks AI for Duo requests, while certain Anthropic and OpenAI models are subject to limited vendor-side retention. Duo Chat and Agent Platform keep chat and workflow history, and expanded logging for Agent Platform keeps trace data.
- Separate path: The no-processing statement for the MCP server does not cover Duo model requests.
- Model providers: Identify which Duo features and models are enabled, since retention differs by provider.
- Chat and workflow history: Confirm where Duo Chat and Agent Platform history is kept and who can read it.
- Trace data: Confirm whether expanded logging for Agent Platform is enabled and how long trace data is retained.
- Training: Get written confirmation of the no-training position for each Duo feature you enable.
Record each Duo feature as a separate line item in the data flow review. Ask GitLab which models serve each feature, and confirm current retention terms in the Duo data usage documentation before sign-off.
The supplied documentation facts on data handling cover GitLab Self-Managed, so the no-transmission statement cannot be carried over to GitLab.com without confirmation. GitLab.com is a listed deployment for the MCP server, and the endpoint on that host is the instance URL followed by /api/v4/mcp. Because your traffic reaches a hosted service rather than your own infrastructure, the path a request takes and any vendor-side handling must be verified for that deployment.
- Written confirmation: Ask GitLab to state in writing how MCP server requests and responses are handled on GitLab.com.
- Logging and retention: Ask what GitLab.com records for MCP calls, how long it keeps those records and who can access them.
- Duo on GitLab.com: Treat Duo features on GitLab.com as a separate review item with their own retention terms.
- Network path: Confirm the host and any egress rules your network needs to reach the endpoint.
- Client policy: Apply the same review of each MCP client's own retention terms as for Self-Managed.
Do not approve GitLab.com use on the strength of the Self-Managed statement alone. Request the written answer for the specific tier and version you plan to use.
GitLab Dedicated is listed among the deployments where the MCP server is generally available, but the supplied facts do not describe its data handling for MCP traffic. Dedicated is a single-tenant service that GitLab operates for the customer, so the location of processing and the operator's role differ from both Self-Managed and GitLab.com. Confirm the scope of every data statement with GitLab before relying on it in a review.
- Scope of the statement: Ask whether the no-transmission position documented for Self-Managed applies to Dedicated, and in what terms.
- Operator access: Ask who at GitLab can access tenant data, logs and MCP traffic, and under what controls.
- Duo features: Confirm which Duo features are available on Dedicated and how their model processing and retention are handled.
- Data location: Confirm where tenant data is stored and processed, and whether that matches your residency requirements.
- Edition and contract: Confirm which tier your Dedicated contract includes for the MCP server.
Bring these questions into the procurement review as written items. The answers should be attached to the approval record alongside the Duo and MCP client decisions.
Where the privacy statement does not close the review
GitLab's data usage statement covers the MCP server path and a set of Duo features, but it does not cover everything that leaves the instance or is stored afterward. Each card below names one gap in that statement and the control a reviewer usually puts in place to close it.
MCP client retention sits outside GitLab
The data usage page says each MCP client's own privacy and data retention policies apply. The client is the party that receives repository content, issue text and merge request data once a tool returns it, so GitLab's statement does not cover what happens there. Before approving a client, review its retention terms, training defaults and sub-processors, and record the decision per client. Coverage: contract review of each client's terms, plus client allowlisting so only reviewed clients can connect.
Duo data usageDuo features still call model providers
The MCP server path and GitLab Duo features are separate. Duo features that call models send request data to model providers, and the page describes zero data retention with Fireworks AI for Duo requests, while certain Anthropic and OpenAI models are subject to limited vendor-side retention. Decide which Duo features are enabled and which model providers they reach, and confirm the provider terms for each. Coverage: Duo feature settings in the instance, plus a written record of which model providers receive requests.
Chat and workflow history need a retention decision
GitLab Duo Chat and Agent Platform retain chat and workflow history, and expanded logging for Agent Platform retains trace data. These records can contain prompts, code excerpts and tool results that an engineer would not expect to persist. Set a retention period for each record type, confirm who can read them, and check whether they fall under your records policy. Coverage: a log retention policy that names chat history, workflow history and trace data separately.
Deployment type changes the evidence
The supplied statement on not transmitting or retaining data when the MCP server is used applies to GitLab Self-Managed instances. The supplied documentation does not confirm the same statement for GitLab.com or GitLab Dedicated, even though the MCP server is generally available on all three. If the instance is hosted by GitLab, ask the vendor in writing which data flows, retention and processing apply to the MCP path. Coverage: a written vendor answer for the specific deployment type, filed with the approval record.
A documented statement is not an audit result
A vendor data usage page describes intended behavior. It is not an independent assessment that the behavior happens in your environment. Reviewers should not treat the page as evidence that a control operates. Ask the vendor whether independent reports exist that cover the relevant services, and read their scope before relying on them. Coverage: independent evidence collection, such as an assessor's report or your own test results, held alongside the vendor statement.
Verify the network path matches the approval
The page says communication runs directly between the MCP client and the GitLab MCP server in your environment. That claim holds only if the client connects to the instance you intend, over the path you approved. Check the endpoint each client uses, whether a proxy, relay or stdio bridge sits in between, and whether outbound egress from developer machines is restricted. Coverage: a network verification step that compares the observed traffic path with the approved design, repeated after configuration changes.
Order of work before approving MCP access for staff
This sequence lets a security, IT and privacy review settle where GitLab MCP traffic goes, which clients and Duo features are in scope, and how long history is kept before any staff member connects an AI client. The output is a signed-off record that a reviewer can check against the vendor documentation later.
Confirm the deployment type and matching statement
The platform owner records whether the instance is GitLab.com, GitLab Self-Managed or GitLab Dedicated, then pulls the data usage statement that applies to that deployment. GitLab's Duo data usage page describes Self-Managed instances differently from hosted deployments, so the reviewer should not carry one deployment's answer over to another. The step closes when the review file names the deployment, the statement version reviewed and the date it was read.
Inventory and review each MCP client
IT lists every AI client that will connect, such as Claude Desktop, Claude Code, Cursor or any other client the team plans to allow, and the security reviewer reads each client's own privacy and data retention terms. GitLab states that those client policies apply to what the client does with data it receives, so GitLab's statement does not settle them. The step closes with an approved client list, each entry linked to the terms reviewed and the owner who accepted them.
Decide which Duo features stay enabled
The AI lead lists the GitLab Duo features that will remain on, and separates them from the MCP server, because GitLab treats Duo features as a distinct data path. For each enabled feature, the reviewer records the model providers involved and the retention behavior described in GitLab's data usage page, including zero retention arrangements and limited vendor-side retention for certain models. The step closes with a Duo feature register that states what is on, what is off and why.
Set chat, workflow and trace retention rules
The security team and the GitLab administrator agree how long Duo Chat history, Agent Platform workflow history and any expanded logging trace data are kept, and who can read them. GitLab's documentation says these features retain history, so a retention decision is needed even when the MCP server itself keeps nothing on the Self-Managed path. The step closes with a written retention schedule approved by the security owner, with the configuration owner named for each setting.
Verify outbound traffic in a test instance
The security engineer connects one approved client to a test instance and captures network traffic from the client host and the GitLab side, checking which destinations receive requests. The goal is to confirm that repository data and metadata stay between the client and the instance, and that only the expected Duo or client endpoints appear. The step closes with a dated capture summary, and any destination that is not explained by the reviewed documentation blocks approval until it is resolved.
Record the approval and set re-review triggers
The CISO or delegate signs the decision record listing the deployment, clients, Duo features, retention rules and test results, with any conditions attached. The review is repeated whenever GitLab changes the MCP server or Duo data usage documentation, or when a new Duo feature is turned on, since each change can alter the data path. The step closes when the record is filed and the owner of the re-review trigger is named.
What a security reviewer asks to see for data privacy
This table lists the evidence a security reviewer should request before approving the GitLab MCP server, and what each item proves about data leaving the instance. Read it as a checklist: the first rows come from public documentation, while the rows marked as written confirmations must come from GitLab or the client vendor in writing before approval.
| Evidence item | Where it comes from | What it proves |
|---|---|---|
| GitLab Duo data usage page and MCP server page | Published GitLab documentation, saved with a date and version | The vendor's stated position on what the MCP server transmits, stores or retains for Self-Managed instances |
| Deployment type in use (GitLab.com, Self-Managed or Dedicated) | Your own instance configuration and admin console | Which data-handling statements apply, since the public page addresses Self-Managed instances specifically |
| Approved MCP client list with each client's retention policy | Your allowlist, plus each client vendor's written retention terms (written confirmation required) | Where the data goes once a client receives it, because the GitLab page says each client's own policies apply |
| Duo feature settings and model vendor terms in effect | Admin settings for GitLab Duo, plus GitLab's written confirmation of model vendor terms (written confirmation required) | Which Duo features are on, and that Fireworks AI, Anthropic or OpenAI terms apply to those requests, separate from the MCP server |
| Chat and workflow history retention settings | GitLab's written retention settings for Duo Chat and Agent Platform (written confirmation required) | How long chat and workflow history persists, which the docs say is retained |
| Expanded logging and trace retention for Agent Platform | Admin configuration and GitLab's written confirmation of trace retention periods (written confirmation required) | Whether trace data is captured and for how long, since expanded logging retains it |
| Network records showing the traffic path | Firewall, proxy or egress logs from your environment, captured during a test session | That traffic runs directly between the MCP client and your instance, with no unexpected external destinations |
Questions procurement, legal and security reviewers ask before approval
Does the GitLab MCP server send repository data to GitLab on Self-Managed instances?
The GitLab Duo data usage page says that for GitLab Self-Managed instances, GitLab does not transmit, store, retain or process any data when the GitLab MCP server is used. The same page says communication runs directly between the MCP client and the GitLab MCP server inside your environment, and that repository data and metadata are not sent to GitLab. Quote this as documented, then confirm it against the version of the page that applies to your contract and deployment. Keep the screenshot or saved copy in the review file, because the reviewer will ask which version of the documentation you relied on.
Does turning off GitLab Duo also stop model data flows from MCP clients?
No. GitLab Duo features are a separate path from the MCP server, so disabling the MCP server does not change how Duo processes requests, and turning Duo off does not change what an MCP client sends to its own model provider. Treat them as two reviews. For Duo, the documented points to check are the zero data retention arrangement with Fireworks AI for Duo requests, the limited vendor-side retention that applies to certain Anthropic and OpenAI models, and the retention of Duo Chat and Agent Platform workflow history. Expanded logging for Agent Platform retains trace data. Confirm in your own admin settings which Duo features are enabled before you sign off.
What does the GitLab MCP server cost, and what decides the price?
The GitLab MCP server is listed in the Free, Premium and Ultimate tiers, and it moved from Premium to Free in GitLab 19.2. The server itself is therefore not a separate line item in the tier documentation, so the cost driver is the GitLab tier and the contract you hold for your instance or GitLab.com account. Costs that may still apply sit elsewhere: GitLab Duo licensing if you use Duo features, the internal time to review and configure clients, and any outside help. Ask GitLab to confirm in writing which tier and add-ons your organization holds and whether any usage terms apply to MCP access.
How long does a GitLab MCP server privacy review take?
No duration is documented for this review, and it depends on the number of AI clients you want to approve, the GitLab deployment type, and how many contract terms your legal team needs to read. A single client with a standard Self-Managed setup goes faster than several clients that each carry their own privacy and retention terms. Each MCP client's own privacy and data retention policies apply, so each client needs its own review. Ask your procurement and legal teams to list the clients and contract documents first, then set the timeline from that list.
Can our own team complete the privacy review without outside help?
Yes, for the documentation and settings review. Your team can read the GitLab MCP server page and the GitLab Duo data usage page, record which Duo features are on, confirm which AI clients are allowed to connect, and check each client's privacy and retention terms. Outside help becomes useful when you need an evidence pack for auditors or customers, or when you want the setup tested. DeployOpen can prepare systems, controls and evidence for a compliance assessment and can test an AI agent rollout for prompt injection, permissions, data exposure, credential handling and admin settings, with a findings report and retest. DeployOpen does not issue audit reports or certifications, so independent auditors still give the formal assessment.
Who decides which AI clients may connect to the GitLab MCP server?
Your organization does. The GitLab Duo data usage page says the customer controls which MCP clients connect, so the approval list is an internal decision, not a GitLab default. Build that list from the clients your engineers actually use, such as Claude Desktop, Claude Code, Cursor or other tools named in the GitLab docs, and record the reason each one is approved. Revisit the list when a client adds features or changes its data retention terms, because the client's own policy applies to what it sends and keeps.
What should we ask GitLab in writing before we approve the server?
Ask GitLab to confirm the following in writing: the deployment type and tier that apply to your organization, the exact version of the data usage documentation that governs your contract, and whether any GitLab.com or Dedicated data flows differ from the Self-Managed statement. Also ask which GitLab Duo features are enabled for your group or instance, which model providers process those requests, and what retention applies to Duo Chat and Agent Platform history and trace data. Request the data processing terms that cover these points, since they belong in the contract file rather than in a summary.
How DeployOpen supports a GitLab MCP data privacy review
DeployOpen reviews what leaves your GitLab instance when AI clients connect through the MCP server, starting from your own deployment and your own approved client list. We scope the review in writing, test the setup, and hand over findings with the evidence your security and compliance reviewers ask for.
How we scope
- Map which GitLab deployment you run: GitLab.com, Self-Managed or Dedicated, since the data flow answers differ by deployment
- Inventory the MCP clients staff use or plan to use, and who controls which of them connect
- Agree in writing the systems, clients and questions the review covers before work starts
- Confirm which GitLab Duo features are in use, because Duo processing is reviewed separately from the MCP server
How we build
- Configure a test GitLab instance and MCP client setup that matches your deployment and approved clients
- Capture network traffic to confirm which destinations each client contacts during typical tasks
- Check that retention and logging settings for chat, workflow and trace data match your policy
- Document each client's own privacy and retention terms alongside the GitLab documentation you rely on
How we hand over
- Deliver a findings report that separates GitLab-controlled data flows from client-side and third-party flows
- Provide a data flow diagram and a table of what each client sends, stores and retains
- List the settings, client restrictions and policy decisions that need owner sign-off
- Retest after fixes and record the results so reviewers can trace each finding to its evidence
How we support
- Prepare evidence for GitLab MCP server data handling questions from security questionnaires and internal reviews
- Repeat the data flow check when GitLab, a client or your deployment changes materially
- Offer ongoing support, upgrades and continuous testing as a retainer after the initial review
- Explain findings to security, compliance and engineering leads so decisions rest on documented facts

