Does the Jenkins MCP server keep job and log data under our control?
The official Jenkins MCP Server plugin, installed from the Jenkins plugin site, runs inside the Jenkins controller. When an AI client calls it, job data and build log lines travel from your controller to that client, and the plugin's own documentation describes no data retention and no telemetry of its own. Whether that data stays under your control therefore depends on two things outside the plugin: the MCP client the engineer uses and the model provider that client sends content to. Reviewers should not treat the plugin as a privacy boundary. It is the point where your data leaves Jenkins.
No paid tier changes this answer. The plugin's source is released under the MIT License, so an organization gets the same code whether it installs it alone or alongside other Jenkins components, and no edition adds retention controls or data handling terms. Privacy commitments therefore come from the client and provider contracts, not from a Jenkins license. Check the repository's LICENSE.md when the license terms matter for your review file, and confirm the plugin version your controller runs against the release you assessed.
Before approval, confirm five things. First, which client each team may use, and what that client retains for prompts, tool results and logs under its enterprise terms. Second, which model provider the client calls, its retention and training terms, and where it processes data. Third, how far the build log tools reach: the default line limit is 10000, and you should decide whether a lower value is acceptable for logs that hold secrets or customer identifiers. Fourth, session lifetime: idle Streamable HTTP sessions are swept at a default interval of 1800 seconds, and a value of 0 keeps them until the client deletes them or Jenkins restarts. Fifth, whether any extension installed on your controller adds tools that return data beyond the defaults. Write these answers into the review record, because the plugin itself will not supply them.
Data privacy capabilities by deployment option
This table compares each data privacy question across three parties: the Jenkins plugin itself, the MCP client the developer uses, and the model provider behind that client. Read the middle column as the answer the plugin docs give, and the last column as the items to confirm before approving use. The main takeaway is that the plugin documents limits on log size and session lifetime but says nothing about retention or telemetry, so those answers depend on the client and provider.
| Data item | Built in to the plugin | Depends on client or provider |
|---|---|---|
| Returned job and build log data | Returned to the connected client over the Jenkins URL | Confirm which client and model provider receive it |
| Build log line limit | Default of 10000 lines, changeable by system property | Confirm the limit your chosen setting uses |
| Streamable HTTP session reclaim | Idle sessions swept every 1800 seconds by default | Confirm client behavior on disconnect |
| Data retention in the plugin | No retention policy documented by the plugin | Confirm with the vendor what Jenkins stores |
| Telemetry in the plugin | No telemetry documented by the plugin | Confirm with the vendor and in plugin source |
| Data handling by the MCP client | Not covered by the plugin docs | Client logs, storage and sync settings vary by product |
| Data handling by the model provider | Not covered by the plugin docs | Retention and training terms set by the provider |
What job and build log data the AI client receives
The build log tools are the part of the Jenkins MCP Server plugin that matters most for data privacy, because they return raw build output to the connected AI client. Job metadata tools return information about jobs and builds, while the log tools return the lines a build printed. Once a client calls one of these tools, that text leaves the Jenkins controller and enters whatever the client does next, so reviewers should treat log content as data that may be sent onward to the model provider the client uses. Confirm the exact tool names and fields in your plugin version, since the set of tools can grow through the plugin's extension interface (McpServerExtension) and can differ between controllers.
Build logs are not clean records of what the pipeline did. They often contain secrets that a script printed by mistake, such as tokens in a curl command, credentials echoed by a failing shell step, or connection strings logged by a database client. They also expose job parameters, internal hostnames, IP addresses, artifact paths and the names of internal systems. Masking that Jenkins applies to credentials in the console does not guarantee that every value is hidden from the log tools, so ask the platform team which masking and secret handling rules cover your pipelines and test them with a harmless canary value before you approve access.
The hard limit on returned lines defaults to 10000 and can be changed with a system property. This caps how much of a single log one call returns, so a long log may need several calls to read, and a limit set too high increases the volume of sensitive text sent in one response. The limit controls volume per response only. It does not control what the client stores, caches, logs or forwards afterward, and the plugin docs describe no retention of their own, so that behavior depends on the client and model provider. Ask each client vendor how it handles tool results, and decide on a log-line limit that matches the sensitivity of your builds.
Where returned Jenkins data travels
The flow starts with the developer's AI client, which sends MCP requests to the Jenkins controller URL the client was configured with. The plugin runs inside that controller, so it returns job data and build log lines (capped by a line limit that defaults to 10000) back to the client. The client then forwards whatever context it holds to its model provider. The plugin docs cover the first two hand-offs; they describe no retention or telemetry and say nothing about what the client or provider does next, so confirm those with each vendor before approval.
Data path from the AI client to the Jenkins controller and onward to the model provider.
How long MCP sessions and returned data stay in memory
The first thing to confirm is how long the Jenkins controller keeps an MCP session alive, because that is server state and it is governed by a plugin setting. For Streamable HTTP, the plugin docs say idle sessions are reclaimed by a sweep with a default interval of 1800 seconds, so a session that a client abandons without closing will typically live roughly 30 to 60 minutes before it is removed. Setting that interval to 0 changes the behavior: sessions then persist until the client deletes them or Jenkins restarts. A reviewer should ask the Jenkins administrator which value is set in production and confirm it on the controller, since a 0 setting means stranded sessions can accumulate across a long uptime period.
Session lifetime describes what the controller holds in memory, not what an AI client stores. A session identifier keeps a connection context alive on the Jenkins side, but it does not define how long job names, build parameters or log lines remain once the client has received them. The plugin docs describe no retention period or telemetry of their own for that returned content, so the question of how long it persists belongs to the client application and the model provider behind it. Teams should ask each client vendor whether conversation history, tool results and caches are stored, for how long, and whether they can be disabled or cleared on demand.
Before approving a client, have the reviewer record three answers in writing: the sweep interval in effect on each controller, which transport the client uses (the plugin docs recommend Streamable HTTP over SSE), and the client's retention settings for tool output. Because build logs can be large and the plugin's log tools return up to 10000 lines by default, a client that caches every tool result creates a wider copy of sensitive output than the controller itself. Confirm these points with the client vendor and the Jenkins administrator rather than assuming the plugin handles them.
Which client and model provider terms decide retention
IDE assistants such as Cursor, GitHub Copilot in VS Code, Cline and Windsurf receive Jenkins responses, including job metadata and build log lines, and forward some or all of that context to a model provider. Retention and training use are set by each vendor's terms and by the plan or account the developer signs in with, not by the Jenkins plugin. The plugin docs say only GitHub Copilot Chat in VS Code was tested, so the other IDE clients are untested against this plugin. Reviewers should not assume that a setup which works in one IDE carries the same data terms into another.
- Vendor terms per product: Each IDE vendor publishes its own retention and training terms, and these can differ between individual, team and enterprise accounts.
- Tested client only: The plugin docs test GitHub Copilot Chat in VS Code, and no other IDE client is covered by the author's testing.
- Plan drives terms: A developer signed in with a personal account may fall under different terms than one signed in through the organization.
- Context passes through: Build logs returned by the plugin can enter the assistant's context window and from there reach the model provider.
- Extensions and plugins: Third-party extensions inside the IDE may send data under their own terms.
Before approving an IDE client, pull the current retention and training terms for the exact plan in use and confirm which accounts staff will sign in with.
A desktop assistant such as Claude connects to the Jenkins endpoint and sends the tool results it receives to its own service. Whether that content is kept, for how long and whether it is used for model training depends on the subscription or enterprise agreement and on the settings the organization has chosen. The Jenkins plugin docs do not describe these terms, and they should be read directly from the vendor's account documentation for the specific plan in use.
- Plan-specific terms: Consumer, team and enterprise subscriptions can carry different retention and training defaults, so confirm which tier staff use.
- Admin settings: Check whether the organization can set data controls centrally for the workspace rather than leaving them to each user.
- Connector configuration: Confirm whether the Jenkins MCP connection is added at the workspace level or per user, since that determines who controls the connection.
- Log and export options: Ask whether the vendor offers audit or export features that record connector use, and what they cover.
- Not tested by the plugin author: The plugin docs list Claude among example client setups, but they do not report testing it.
Request the written retention and training terms for the plan in use and confirm they apply to the Jenkins connector traffic, not only to chat content.
Self-built scripts, internal agents and clients whose vendor or model provider is not identified fall outside any published vendor terms. In that case the organization itself must establish where returned job and build log data is stored, logged, forwarded and deleted. The plugin does not add retention or telemetry of its own, so any record of the data depends entirely on the code that receives it. Reviewers should treat these clients as the highest-scrutiny category.
- No inherited terms: No vendor policy applies automatically, so the organization must document the data path itself.
- Client-side logging: Check whether the client writes tool results, build logs or prompts to disk, a console or a remote log service.
- Model provider contract: If the client calls a model API, confirm the contract's retention, training and region terms for that API key.
- Session handling: Confirm how the client handles Streamable HTTP sessions and whether it deletes them when work ends, given the idle reclaim interval in the plugin docs.
- Ownership: Name an owner for the client's code, dependencies and any data it keeps.
Illustrative example: an internal script that sends build logs to a hosted model API inherits that API provider's terms, which the security team would need to obtain and review before approval.
Privacy gaps the plugin leaves to the organization
The Jenkins MCP Server plugin moves job and log data to an AI client, but its documentation does not set retention, telemetry or downstream handling rules. Each card below names a gap a reviewer should close with controls outside the plugin, and the usual way to cover it.
No plugin-level retention policy
The plugin docs describe no data retention of their own, so any copy of job or log data kept after a session is set by the client and its provider. Idle Streamable HTTP sessions are reclaimed after a default sweep interval of 1800 seconds, but that governs session state, not the data already returned. Ask the team to restrict which jobs and folders are reachable through the endpoint, so fewer records ever reach the client. Confirm how long your chosen client keeps tool results before approving it.
No telemetry documentation
The plugin docs say nothing about what telemetry or usage data the MCP endpoints emit to any party. Reviewers should not assume the answer is none. Confirm with the plugin maintainers and in your own environment what Jenkins logs record for MCP requests, and whether any outbound calls are made. Route the Jenkins access and audit logs into your existing monitoring so requests are visible to your security team.
Log content may contain secrets
The build log tools return log lines to the client, up to a hard limit of 10000 lines by default, which can be changed with a system property. Build logs often echo tokens, environment values or connection strings that were never meant to leave the controller. Scrub secrets at the source by masking credentials in pipelines and using Jenkins credential binding, and set the line limit to a value your teams can justify.
Tool set can grow through extensions
The plugin exposes an extension interface, McpServerExtension, that lets other plugins add MCP tools. The set of tools a controller offers can therefore change after a plugin is installed or updated, without a change to the MCP configuration you reviewed. Inventory the installed plugins that register MCP extensions, and re-check the tool list after every plugin update on the controller.
Client and provider retention unknown
Once returned job and log data reaches an AI client, where it goes next depends on that client and the model provider it calls. Neither the plugin docs nor the Jenkins project set terms for those systems. Before approval, ask each client vendor for its data retention, training use and sub-processor terms in writing, and contract with the model provider for the handling your regulators expect. Treat the client as a data processor in your records.
Only one client tested
The plugin docs list example setups for Cline, GitHub Copilot in VS Code, Windsurf, Cursor, Claude and Goose, but the author states that only GitHub Copilot Chat in VS Code was tested, and not the Copilot CLI or desktop app. Every other client on your approved list is therefore unverified against this plugin. Test each client you intend to allow against a non-production controller, check which tools and log data it actually receives, and retest after upgrades before rollout.
Order of checks before approving data access
This sequence tells the approving team what data the Jenkins MCP Server plugin can expose to an AI client, which settings control how much leaves the controller and for how long, and what must be in writing before any client is approved. Each step closes with a check the reviewer can record.
Inventory sensitive jobs and build logs
The Jenkins owners and the security team list which jobs, folders and build logs contain secrets, customer data, regulated information or internal hostnames. Build logs often hold more than job definitions, so this inventory should cover console output as well as configuration. The step is complete when the team has a written list of job folders marked as sensitive or open to AI clients, and the reviewer has confirmed that list against the controller's actual job tree.
Confirm the controller URL and transport
The engineering lead confirms the exact Jenkins URL that each client will use, since MCP traffic goes to that controller address (for example a path under /mcp-server/). The lead also records which of the three transports, SSE, Streamable HTTP or Stateless, is enabled, because each is on by default and can be switched off with a system property. The plugin docs recommend Streamable HTTP over SSE. The check is done when the enabled transports and the public endpoint are written down and any transport not needed is confirmed as disabled.
Set log line limits and session timeouts deliberately
The Jenkins administrator reviews the build log line limit, which returns log lines to the client and defaults to 10000 lines, and decides whether that value is right for the sensitive jobs identified earlier. The administrator also reviews the idle session sweep for Streamable HTTP, whose default interval is 1800 seconds, and confirms that a value of 0, which keeps sessions until the client deletes them or Jenkins restarts, is intended and not left by accident. The check is complete when the chosen values and the reason for each are recorded in the change record.
Approve only named MCP clients
The security team approves each AI client by name, with its owner, its users and the Jenkins account it signs in with. Each client should use a dedicated account with the narrowest job access the inventory allows, and the team should confirm which tools that account can call. Clients not on the list are blocked at the network or proxy layer where possible. The step is complete when an approved-client register exists and each entry links to the account and job scope it may use.
Confirm client and model provider retention in writing
The plugin docs describe no retention or telemetry of their own, so job and log data returned to a client is governed by that client and the model provider behind it. Procurement or the privacy lead requests written retention, logging, training and data location terms from each approved client vendor and from the model provider the client uses. The check is done when each approved client has a dated document in the file that answers those questions, and any gaps are logged as open risks.
Retest after plugin or extension changes
The Jenkins team reviews the plugin version and any installed extensions that add MCP tools through the extension interface, because the set of tools a controller exposes can grow beyond the defaults. Any upgrade or new extension triggers a review of the tool list, the sensitive job scope and the log and session settings from the earlier steps. The step is complete when a retest record shows the tools exposed before and after the change and the reviewer has signed off or reverted the change.
What a security reviewer asks to see
This table lists the evidence a security reviewer should request before approving the Jenkins MCP Server plugin for AI clients, and where each item comes from. Read it as a checklist: each row names a question, the evidence that answers it, and the source to check, so gaps are visible before approval. The main takeaway is that the plugin docs cover endpoints and limits, but retention and model-side handling sit with the client and provider, so those terms must be obtained separately.
| Question | Evidence to request | Where it comes from |
|---|---|---|
| Which plugin version and source is running? | Installed mcp-server plugin version, plus the source repository and tag it was built from | Jenkins plugin manager on the controller; jenkinsci/mcp-server-plugin on GitHub |
| Under what licence is the plugin distributed? | Licence text matching the installed release, reviewed by legal for redistribution and internal use | LICENSE.md in the jenkinsci/mcp-server-plugin repository (MIT License) |
| What is the log line limit for build log tools? | Confirmed value of the system property controlling the line cap (default 10000) and the change record for any override | Plugin docs; controller startup settings and configuration as code files |
| How long are idle Streamable HTTP sessions kept? | Confirmed sweep interval setting (default 1800 seconds) and proof of any change to 0, which keeps sessions until deletion or restart | Plugin docs; controller system property configuration |
| Which clients may connect? | Written list of approved MCP clients and their endpoints, with a check that unlisted clients are blocked at the proxy or network layer | Internal approval record; plugin docs for client setup examples. The plugin itself does not document a client allowlist, so confirm this in your environment |
| Which transports are enabled? | Configuration showing which of the SSE, Streamable HTTP and Stateless endpoints are on or off | Plugin docs for the disabling system properties; controller configuration |
| What does the model provider do with returned job and log data? | Signed data processing terms from the model provider covering retention, training use, region and sub-processors for the plan in use | The provider's own terms and data processing agreement; the plugin docs leave this to the client and provider |
| What is logged and reviewed in build log content? | Sample of tool output reviewed for secrets, tokens and customer data, plus a rule for which jobs are excluded from AI access | Jenkins build logs and console output on a test job; plugin docs for the tool list |
Questions buyers ask before approving Jenkins MCP data access
Does the Jenkins MCP Server plugin store job data itself?
The plugin docs describe no data retention or telemetry of their own. The plugin runs inside the Jenkins controller, so client requests go to the Jenkins URL the client is configured with, and job and build data is read from Jenkins and returned to the calling client. Anything kept after that point depends on the MCP client and the model provider it uses. To confirm, review the source in the plugin repository and capture the traffic from a test controller with representative jobs, then record what each client writes to its own history, caches and logs.
Is there a paid edition of the Jenkins MCP Server plugin?
The plugin is published under the MIT License, and the plugin page and docs supplied for this review describe no paid tier. Your cost is therefore driven by other items: Jenkins administrator time to install and review the plugin, the subscription or plan of each AI client your staff use, model provider usage charges, and any outside security review you choose to buy. Confirm the licensing position in writing with your Jenkins distribution or support provider, because a commercial Jenkins support contract is a separate purchase. DeployOpen does not publish a price list. Its fees follow a quote built from a written, fixed scope.
What does an MCP client keep after a Jenkins session ends?
On the server side, idle Streamable HTTP sessions are reclaimed by a sweep. The plugin docs give a default sweep interval of 1800 seconds, so a stranded session lives for roughly 30 to 60 minutes. Setting the interval to 0 keeps sessions until the client deletes them or Jenkins restarts, which extends how long session state stays in memory. The docs do not describe what the client keeps. Ask each team which client they use, where that client stores conversation history, tool output and credentials, and what the model provider retains under its contract.
Can we cap how many build log lines an AI client receives?
Yes. The build log tools return log lines to the client with a hard limit that defaults to 10000 lines, and the limit can be changed with a system property described in the plugin docs. Setting it is a Jenkins configuration change that an administrator should record and review. Choosing the value depends on typical log sizes and on how much failure context the team needs. A lower limit reduces how much build output reaches the model, but it can cut off the lines that explain a failure. A cap also does not filter secrets, because builds that print credentials will still expose them within the returned lines, so pair it with masking in your build configuration.
Does a session keep data after the client disconnects?
The server session can remain after the client disconnects until it is reclaimed. Under the default sweep interval, an idle Streamable HTTP session is removed after roughly 30 to 60 minutes, while a sweep interval of 0 keeps it until the client deletes it or Jenkins restarts. Data already returned to the client is outside the server's control and stays wherever that client stores it. Test the behavior on a staging controller by disconnecting a client mid-task, confirming when the session stops responding, and checking whether the client still shows earlier tool output.
What effort goes into answering client and model provider questions?
The plugin docs leave client and provider data handling to the client and model provider, so most of the effort lies outside Jenkins. The main drivers are the number of AI clients in scope, since the docs list examples for Cline, GitHub Copilot in VS Code, Windsurf, Cursor, Claude and Goose, and only GitHub Copilot Chat in VS Code was tested by the author. Other drivers are the number of model providers, the sensitivity of the jobs and logs exposed, and how many questionnaires you must answer. Collect each vendor's written retention and training terms, then map them to your data classification. DeployOpen can prepare these answers and the supporting evidence as part of a fixed-scope engagement.
Can our own team run this data review without outside help?
Yes, if your team can cover three areas: Jenkins administration to install, configure and test the plugin on a non-production controller, the ability to read and check client and provider terms, and someone to repeat the inventory after each change. The extension interface, McpServerExtension, lets other code add tools, so the set of tools a controller exposes can change after a plugin or extension update. Outside help is available when the team lacks capacity or wants an independent view. DeployOpen's AI agent rollout security reviews test tool permissions, data exposure, credential handling and admin settings, then deliver a findings report with fixes and a retest, agreed in writing before work starts.
How DeployOpen tests Jenkins MCP data exposure before rollout
DeployOpen plans and tests self-hosted open-source platforms inside the client's own infrastructure, so Jenkins MCP data privacy is reviewed on the controller your teams will actually connect to. The work covers what the plugin returns to an AI client, how long sessions persist, and where that data can travel next, documented so your security and compliance reviewers can check it.
How we scope
- Agree in writing which Jenkins controllers, clients and MCP transports are in the review before any work starts.
- Confirm which job, build log and pipeline data each client may request, and which data is out of bounds.
- Record the model providers and MCP clients in use, since data leaving the controller depends on them.
- Engagements are fixed-scope, with deliverables and timelines agreed up front and a quote following from that scope.
How we build
- Test the MCP endpoints from a client's point of view to see what job data and build logs come back.
- Check how log line limits and session cleanup settings behave on the controller under review.
- Review which MCP tools are present, including any added by other plugins through the extension interface.
- Verify that data-handling assumptions match the plugin docs and the controller's own logging and retention settings.
How we hand over
- Deliver a written findings report on data exposure, with each finding tied to the affected endpoint or setting.
- Provide recommended settings and fixes for the controller, such as limits, session timeouts and transport choices.
- Document which questions remain for the MCP client vendor and model provider, so reviewers can close them.
- Retest the agreed items after fixes so the final report reflects the configuration you will run.
How we support
- Ongoing support and continuous testing are available as a retainer after the initial review.
- Retainers can cover re-testing after Jenkins or plugin upgrades that change tools or endpoints.
- Evidence can be refreshed for internal security reviews and compliance assessments when your setup changes.
- DeployOpen prepares systems and evidence for compliance assessments but does not issue audit reports or certifications.

