Can the Jenkins MCP server be approved for AI clients, and under what conditions?
The MCP Server plugin is free, open source under the MIT License, and built in to Jenkins with no paid edition, so the decision is about configuration, not licensing. It does not add SSO, a role model or an approval workflow of its own. Every request is governed by the Jenkins user behind the API token the client uses, together with Jenkins authorization. An approval therefore means approving a specific Jenkins identity and the permissions that identity holds, and that identity should be reviewed the same way any automation account is reviewed before a client is allowed to use it.
Set conditions before approval. First, create a dedicated Jenkins user for AI clients with the narrowest folder and job permissions that work, and confirm that user cannot create pipelines or start builds unless that is a deliberate decision, since createPipeline and triggerBuild are the tools that change state. Second, confirm that io.jenkins.plugins.mcp.server.Endpoint.allowUnauthenticatedMcp is false on any controller that browsers or anonymous users can reach, because the plugin docs say enabling it weakens CSRF protection. Third, keep Origin validation on, and set requireOriginHeader=true if your clients always send an Origin header, since requests without one are otherwise still allowed. Fourth, disable the SSE, Streamable HTTP or Stateless transport you do not need through its system property, leaving only the one your client supports.
Ask the platform team to show the effective settings on the controller, not only the intended ones, and to record which MCP tools the plugin exposes after any other plugin adds extensions through the McpServerExtension interface. Confirm with the vendor or project maintainers how client sessions and endpoints are monitored, since /mcp-health needs no authentication and /mcp-server/metrics needs standard Jenkins permissions. Also confirm which AI clients the plugin has been tested with, because the author reports testing only GitHub Copilot Chat in VS Code, so other clients need their own check before approval.
Which Jenkins MCP security controls are built in, optional or outside Jenkins
This table sorts each Jenkins MCP security control into one of three groups: active with the plugin by default, switchable through a system property, or dependent on Jenkins core authorization or an outside component. Read the middle column first to see what you must change, then confirm each setting against the plugin docs and your own controller before approving AI client access. The main takeaway is that the plugin does not provide SSO or RBAC for AI clients, so identity and permission limits come from the Jenkins user behind each token.
| Control | Built in with the plugin | Configurable or dependent on Jenkins |
|---|---|---|
| Endpoint authentication via Jenkins credentials | Yes, MCP calls need Jenkins credentials per plugin docs | Depends on the Jenkins user and API token the client uses |
| Unauthenticated MCP mode (allowUnauthenticatedMcp) | Off by default, should stay false on reachable controllers | Set through the Endpoint.allowUnauthenticatedMcp system property; confirm current default in docs |
| Origin header validation against root URL | On by default when an Origin header is present | Disabling is discouraged by the plugin docs; confirm in docs |
| requireOriginHeader | Off, so requests with no Origin header are still allowed | Set to true to reject requests without an Origin header |
| Transport switches (SSE, Streamable HTTP, Stateless) | All three enabled by default | Each can be disabled with a system property; keep only the one you need |
| /mcp-health endpoint | Open without authentication, returns status and connection counts | Not configurable through the plugin docs; confirm exposure with your network team |
| /mcp-server/metrics endpoint | Not open anonymously | Requires standard Jenkins permissions set in the security realm |
| SSO and RBAC for AI clients | Not provided by the plugin | Depends on the Jenkins security realm and authorization strategy |
| Audit logging of MCP calls | Confirm in the plugin docs what is recorded | Rely on Jenkins system and access logs; confirm retention with your admins |
How the plugin decides what an AI client may do
The MCP Server plugin does not grant its own permissions: every call an AI client makes runs as the Jenkins user whose API token the client presents, so Jenkins authorization decides what succeeds. The plugin runs on the controller and exposes three endpoints under /mcp-server: /mcp-server/sse, /mcp-server/mcp (Streamable HTTP) and /mcp-server/stateless, all enabled by default. Its built-in job tools include createPipeline, which creates a sandboxed pipeline job, and triggerBuild, which starts builds with chosen parameter values. The searchBuildLog tool is also built in. The plugin's extension interface, McpServerExtension, lets other installed code add tools, so the tool list on a given controller can be longer than the defaults. Reviewers should list the installed plugins and check which ones register extensions before approving a controller.
Two controls sit in front of that authorization. The Origin check validates an Origin header against the Jenkins root URL when one is present, but requests without an Origin header still pass unless requireOriginHeader=true is set. The io.jenkins.plugins.mcp.server.Endpoint.allowUnauthenticatedMcp switch must stay false on any controller that browsers or anonymous users can reach, because the plugin docs say enabling it weakens CSRF protection. Confirm both values on each controller, and confirm the service account behind each token holds only the job and build rights the AI workflow needs. Also confirm which transports are switched off with their system properties, so only the one required stays open.
Two endpoints differ from the rest. The /mcp-health endpoint needs no authentication and returns server status and active connection counts, so treat its exposure as a deliberate choice and decide whether a reverse proxy should restrict it. The /mcp-server/metrics endpoint requires standard Jenkins permissions. Plan for these limits: the plugin enforces Jenkins permissions and the Origin rules, but it does not narrow a token that already has broad rights. Ask the Jenkins administrator to confirm the permissions on the account that owns each token, and check the endpoint behavior on your own controller version.
Which tools and settings carry the most risk
The Jenkins MCP Server plugin exposes tools that can create jobs and start builds, and several settings that loosen request checks. Each card below names one of these items, the effect it has on the controller, and the control that limits it. Review them together, because the identity behind the API token decides how far any of them reach.
createPipeline can create jobs
The createPipeline tool creates a new sandboxed Jenkins pipeline job. It needs the Pipeline: Job and Pipeline: Groovy plugins, so an MCP client can add jobs to the controller, not only read them. Check whether those two plugins are installed on controllers exposed to AI clients, and confirm which Jenkins users hold permission to create jobs. Since the client acts as the user behind its API token, limit that user's job-creation rights to the folders it needs.
Plugin docstriggerBuild with parameter values
The triggerBuild tool starts a build and supports parameterized builds, so a client chooses the parameter values it sends. A value that reaches a deployment or credential-using job can change what that job does. Review which jobs accept parameters, and avoid exposing jobs that deploy to production or use sensitive credentials to MCP clients unless their parameters are constrained. Confirm that the API token's user only has build rights on the jobs the team needs.
allowUnauthenticatedMcp set to true
Setting io.jenkins.plugins.mcp.server.Endpoint.allowUnauthenticatedMcp=true weakens CSRF protection, according to the plugin docs. The setting should stay false on any controller that browsers or anonymous users can reach. Treat a true value on a shared or internet-reachable controller as a finding to fix. Confirm the value on each controller, including ones that were set up for testing and never reverted.
Origin matching turned off
By default the plugin checks an Origin header against the Jenkins root URL when one is present. The plugin docs call disabling Origin matching not recommended, because it removes a check that helps block cross-site requests from a browser. Keep the default on every controller. If a proxy or gateway rewrites headers, fix the root URL configuration rather than turning the check off.
Requests without an Origin header
By default, requests with no Origin header are still allowed. The requireOriginHeader=true setting closes that path, so only requests that carry a matching Origin header get through. Enable it where the MCP clients in use send that header, and test each client first, since an uncommon client or script may fail once the setting is on. Record the decision for each controller.
Tools added by extensions
The plugin provides an extension interface, McpServerExtension, that lets other code add MCP tools. The set of tools a controller exposes can therefore grow beyond the defaults after a plugin is installed or updated. Review the plugin list on each controller, find the extensions that register tools, and re-check the tool list after every plugin change. Ask the plugin owner or vendor what each added tool can read or change.
Which token user and endpoint exposure to choose
The first decision is which Jenkins user owns the API token that the AI client uses, because the plugin requires the same credentials as the Jenkins instance it runs on and a client can do whatever that user can do. A dedicated low-privilege account limited to the specific folders and jobs the team needs keeps the blast radius small: if a prompt injection or a leaked token reaches the client, the damage stops at that account's permissions. A personal administrator account gives the client every capability the administrator holds, including creating pipelines through createPipeline and starting parameterized builds through triggerBuild on production-facing jobs. Audit attribution also changes with the choice. A shared or personal token makes builds triggered by an assistant look like the person's own actions, while a dedicated account makes them easy to separate in the build history. Confirm with your Jenkins administrators which folders and permissions that account would hold before issuing the token.
The second decision is which transports to expose. The plugin enables SSE at /mcp-server/sse, Streamable HTTP at /mcp-server/mcp and Stateless at /mcp-server/stateless by default, and each can be switched off with a system property. The plugin docs recommend Streamable HTTP over SSE because it handles connection problems more gracefully, so a sensible baseline is to disable the transports that no approved client uses and expose only the one that remains. Fewer endpoints means fewer paths to review and fewer places where Origin checks and authentication must be verified. Keep allowUnauthenticatedMcp set to false on any controller that browsers or anonymous users can reach, since the docs say enabling it weakens CSRF protection.
The third decision is network reach and extension review. A controller that is reachable from browsers, from the internet or from untrusted networks carries far more risk than one limited to an internal network segment used by approved IDEs, so ask whether the MCP endpoints need to be published at all and who can route to them. Finally, the McpServerExtension interface lets other plugins add MCP tools, so the set of tools on a controller can grow after an approval review. Assign a named owner to review every installed plugin that registers tools, and re-check the tool list after each plugin change. Test the setup with the exact token, transports and network path you plan to approve, and record which Jenkins user made each call.
Where the plugin leaves gaps a reviewer must cover
The MCP Server plugin is designed to be installed and used with no additional configuration, so several controls a reviewer expects are not part of it. The cards below cover each gap and the controls a reviewer should put in place around the Jenkins controller, the token, the network path and the client.
No per-tool allowlist
The plugin docs do not describe a built-in way to allow some MCP tools and block others for a given client. Every tool the Jenkins user can reach is available to the connected client. Before approval, ask the vendor and the plugin maintainers to confirm whether a per-tool allowlist exists in your installed version, and if not, plan the restriction through the Jenkins authorization matrix and a dedicated token user with only the permissions the workflow needs.
Plugin docsNo approval step before builds
Tools such as createPipeline and triggerBuild run when the client calls them, including parameterized builds with values the client chooses. The plugin docs do not describe a confirmation step before either action. Treat the token user's job permissions as the approval boundary: give the token Build rights only on jobs that are safe to start automatically, and keep production deployment jobs behind a separate credential or a manual gate.
No SSO or enrollment in the plugin
The plugin authenticates requests with the same credentials the Jenkins instance uses, so sign-in, MFA and user enrollment depend on the Jenkins security realm and any identity provider wired into it. The plugin itself does not enroll or approve individual AI clients. Confirm which security realm the controller uses, whether API tokens are issued per person or per service, and who can revoke a token when a laptop or client is lost.
Extensions broaden the tool surface
The plugin exposes an extension interface, McpServerExtension, that lets other plugins add MCP tools. The tool set a controller exposes can therefore grow after the default install, often without a change that a reviewer sees in the configuration. Keep a reviewed inventory of installed plugins, record which ones register MCP tools, and re-check the inventory after every plugin update or new installation.
Unverified client coverage
The plugin docs give 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. The Copilot CLI and desktop app were not tested. Before naming a client as approved, run a test against your own controller, record the tools it calls, and limit the approved client list to the ones you have checked.
MCP calls in Jenkins logs
Each MCP call runs as an authenticated Jenkins request, so the audit trail shows the token user rather than the person or client behind the call. Confirm what your controller records for tool calls, which log files hold them, how long they are kept, and whether build logs returned to the client are captured. Check that the logs are readable by the security team and that the token user's name identifies the team that owns it.
How the answer changes by Jenkins deployment
A single controller that only engineers reach over the internal network, with no browser traffic from outside and no anonymous users, has the smallest exposure. The main risk is what the API token user can do, because every AI client connected through the plugin inherits that user's Jenkins permissions. Keep the default endpoint behavior and confirm nothing else changes the authentication path.
- Keep unauthenticated mode off: leave
io.jenkins.plugins.mcp.server.Endpoint.allowUnauthenticatedMcpset to false, even though the network is private. - Use a dedicated Jenkins user: issue the API token to a named service-style account with only the job read and build permissions the client needs, not an administrator.
- Disable unused transports: if only one transport is needed, switch off the others with their system properties, and prefer Streamable HTTP at
/mcp-server/mcpwhere it fits. - Review the tool list: confirm whether
createPipelineandtriggerBuildare reachable for that user and remove permissions that enable them if the use case is read-only.
Before approval, confirm the token owner's permission set in the Jenkins security matrix and test that the client cannot create pipelines or start builds it should not.
If browsers or anonymous users can reach the controller, the plugin's cross-site request controls become the main defense. The plugin docs say unauthenticated MCP access weakens CSRF protection and should stay disabled on any controller that browsers or anonymous users can reach. Origin validation is the second layer and should be enforced rather than left at its permissive default.
- Keep unauthenticated access disabled: confirm
allowUnauthenticatedMcpis false and verify it in the running configuration, not only in the documentation. - Enforce Origin checks: keep Origin validation on against the Jenkins root URL and set
requireOriginHeader=trueso requests without an Origin header are refused. - Confirm the root URL: check that the configured Jenkins root URL matches the public hostname exactly, because a wrong value breaks legitimate clients or weakens matching.
- Restrict the health endpoint:
/mcp-healthneeds no authentication and returns status and connection counts, so ask whether reverse proxies should limit who can reach it.
Before approval, send a cross-origin request from a test page and confirm it is rejected, then confirm a properly authenticated client still connects.
Organizations running several controllers for different teams face a sprawl problem: each controller has its own tokens, tools, and permission sets, and the plugin's extension interface means exposed tools can differ between controllers. The governing rule is that a client's reach follows the Jenkins user whose API token it uses, so the token-to-team mapping is the control that matters most.
- One token user per team: create one Jenkins account per team or product line so each token's reach matches a single scope of jobs and folders.
- Inventory tools per controller: record which tools each controller exposes, including any added through McpServerExtension, because defaults can differ across installs.
- Standardize transports and settings: apply the same transport choices, Origin settings and endpoint flags to every controller through your configuration management.
- Rotate and revoke tokens: document who owns each token and how it is revoked when a team member leaves or a client is retired.
Before approval, ask each team to demonstrate that its token cannot read another team's folders or trigger their builds.
Regulated and air-gapped controllers need a documented network and logging design before the plugin is allowed, since the plugin's own logging and monitoring endpoints must be placed deliberately. The plugin docs describe a metrics endpoint that needs standard Jenkins permissions and a health endpoint that does not, so each must be assessed separately. Nothing in the supplied facts establishes what external traffic the plugin generates, so that must be confirmed in your own environment.
- Confirm the network path: verify which clients can reach each endpoint and whether a proxy, gateway, or allowlist sits in front of the controller.
- Check metrics access: confirm
/mcp-server/metricsis limited to the Jenkins roles your monitoring team holds. - Set the logging design: decide where Jenkins audit records of token use and build triggers are retained, and confirm the retention period with your own policy owner.
- Verify no outbound surprises: test the controller in an isolated segment and review its egress to confirm no unexpected destinations.
Before approval, ask the vendor-independent plugin maintainers and your own security team to confirm the logging and network design in writing for your environment.
Order of work before approving AI clients on Jenkins
This sequence confirms the controller's exposure, narrows the Jenkins identity behind the MCP tools, and locks the endpoints down before any AI client is approved. The output is a signed-off configuration record that a reviewer can check against the live controller.
Inventory installed plugins and extensions
The Jenkins administrator lists every installed plugin and confirms whether the MCP Server plugin is present, along with any other plugin that adds MCP tools through the McpServerExtension interface. The list should be exported from the controller and kept with the review file. This step is done when every plugin that exposes tools to MCP clients has a named owner and a recorded version, so that the tool set the reviewer approves is the tool set the controller actually serves.
Define a dedicated Jenkins user and authorization matrix
Because the plugin acts with the permissions of the Jenkins user whose API token the client uses, the administrator creates a dedicated service account rather than reusing a personal or administrator account. The security team then writes a matrix that maps each MCP tool, including createPipeline and triggerBuild, to the Jenkins permissions it needs, and grants only those. This step is done when the matrix is signed off and the account holds no permission outside it, which the reviewer can confirm in Jenkins security settings.
Confirm allowUnauthenticatedMcp stays false
The administrator checks that the system property io.jenkins.plugins.mcp.server.Endpoint.allowUnauthenticatedMcp is not set to true on the controller, including in startup scripts, container environment variables and any Java options files. The vendor documentation says that setting it weakens CSRF protection and should stay false on any controller that browsers or anonymous users can reach. This step is done when the effective startup configuration shows the property absent or false and the reviewer has seen that evidence.
Confirm Origin and requireOriginHeader settings
The administrator confirms that Origin header matching against the Jenkins root URL is still active, because the plugin validates Origin by default and the documentation advises against disabling it. The team then decides whether requireOriginHeader should be true, which blocks requests that carry no Origin header. Non-browser clients often send no Origin header, so the team must test each approved client before enabling it. This step is done when the chosen values are recorded and a test client from each approved tool connects successfully under those values.
Disable unused transports
The plugin enables the SSE, Streamable HTTP and Stateless transports by default, and each can be turned off with a system property. The administrator selects the one transport the approved clients need, noting that the vendor documentation recommends Streamable HTTP over SSE for handling connection problems. The other two are switched off and the endpoints are checked from outside the controller network. This step is done when requests to the disabled paths return no MCP service and the approved transport still responds.
Restrict /mcp-health and metrics exposure
The /mcp-health endpoint needs no authentication and returns server status and active connection counts, so the network team restricts it at the reverse proxy or load balancer to monitoring sources only. The /mcp-server/metrics endpoint requires standard Jenkins permissions, and the administrator confirms that only the monitoring service account holds those permissions. This step is done when an unauthenticated request to the health path from an outside address is refused or blocked at the edge, and the metrics path returns data only to the intended account.
Test client access with a restricted token
The reviewer issues an API token for the dedicated service account and connects each approved client, such as the GitHub Copilot Chat setup the vendor tested, using that token over HTTP Basic. The tester attempts every tool in the matrix, including a parameterized triggerBuild and a createPipeline call, and also attempts an action outside the matrix to confirm it is refused. Results are logged against the Jenkins audit trail. This step is done when permitted actions succeed, out-of-scope actions fail, and the audit entries identify the service account.
Set a review cadence for new extensions
The security owner sets a recurring review that repeats steps one through seven whenever a plugin is installed, updated or found to add MCP tools through McpServerExtension. The owner also checks the MCP Server plugin's release notes and its repository for changes to endpoints or defaults before each upgrade. This step is done when the review date, the named reviewer and the trigger conditions are written into the change process, so that a new tool cannot reach an AI client without a fresh review.
What a security reviewer asks to see and where it comes from
This table lists what a security reviewer should request before approving the Jenkins MCP Server plugin, the setting or evidence that answers each request, and where in the Jenkins instance or plugin docs to find it. Read each row as a review question: if the answer cannot be produced from the named source, the control is not yet verified. The main takeaway is that most of the risk follows the Jenkins user behind the API token, so that user and its permissions come first.
| Request | Evidence to ask for | Where it comes from |
|---|---|---|
| Token owner and permissions | Name of the Jenkins user whose API token the client uses, plus that user's role and job permissions | Jenkins user management and authorization matrix; the plugin docs say the client gets the same access as that user |
| Unauthenticated mode setting | Value of io.jenkins.plugins.mcp.server.Endpoint.allowUnauthenticatedMcp, expected to be false on any controller browsers or anonymous users can reach | System property set on the controller startup configuration; plugin docs describe the CSRF weakening |
| Origin matching | Confirmation that Origin header validation is active and the Jenkins root URL is correct | Plugin configuration and the default Origin check against the Jenkins root URL |
| Origin header requirement | Value of requireOriginHeader, and a decision on whether requests without an Origin header should be blocked | System property on the controller; the plugin docs say requests without Origin are allowed unless this is true |
| Enabled transports | List of SSE, Streamable HTTP and Stateless endpoints that are live, and the ones intentionally disabled | System properties that switch each transport off, checked against the paths /mcp-server/sse, /mcp-server/mcp and /mcp-server/stateless |
| Installed plugins and extensions | Installed version of the MCP Server plugin, the Pipeline plugins needed by createPipeline, and any third-party McpServerExtension add-ons | Jenkins plugin manager and installed plugin list; extension list from the controller's plugin inventory |
| Health and metrics exposure | Confirmation that /mcp-health is reachable only where intended and that /mcp-server/metrics requires Jenkins permissions | Network access rules for the controller and Jenkins authorization settings; plugin docs describe both endpoints |
| MCP call audit trail | Jenkins access or audit log entries showing which user made which MCP call and when | Jenkins controller logs and any audit plugin in use; confirm with the plugin team what the MCP layer records |
| Build parameter policy for triggerBuild | Written rule on which jobs may be triggered by a client, which parameters are allowed, and who approves production deployments | Job configuration and parameter definitions in Jenkins, combined with the token owner's job permissions |
Questions buyers ask before approving the Jenkins MCP server
Does the Jenkins MCP Server plugin cost anything to use?
The plugin itself is published on the Jenkins plugin site and its source is released under the MIT License, so the software has no license fee to review. The costs come from the work around it: the people who configure and test the controller, the time security and platform teams spend reviewing the tool list and permissions, and any support or testing an organization buys from an outside firm. Check the MIT License text and the plugin page for the version you plan to run. Ask any partner for a quote built from a written scope that lists the controllers, the clients, and the review and retest steps.
Does the Jenkins MCP server support SSO?
The plugin does not add SSO of its own. Authentication follows the Jenkins security realm and the Jenkins user whose API token the client uses, so sign-in is only as centralized as your controller's realm. Confirm which realm your controller uses (for example, a directory integration configured in Jenkins) and whether that realm covers the users who will connect AI clients. Also confirm how tokens are issued, rotated and revoked for each person or service account, because the plugin docs say a client can do whatever that Jenkins user can do.
Can the Jenkins MCP server be restricted to read-only use?
Read-only use is not a single switch in the plugin docs, so you need to confirm it for your version. The built-in tools include job creation (createPipeline) and build triggering with parameters (triggerBuild), and the plugin docs add that extension code can register more tools. Start by listing every tool exposed on your controller, then map each tool to the Jenkins permissions the API token's user holds. Restrict the account to read permissions where possible, and test that a write-capable tool is refused for that account before approving clients.
Can our own staff assess the Jenkins MCP server, or do we need outside help?
Your team can complete a first assessment with a checklist that covers transports, the unauthenticated mode flag, Origin checks, the user behind the API token, and the tool list. Reviewing extensions that add MCP tools, and testing how the tools behave under prompt injection or with hostile build parameters, takes skills in Jenkins plugin internals and application security. If those skills are scarce in your team, an outside security testing firm can run that part under a written scope. Ask for the findings report and a retest so the fixes are verified.
How long does an approval review of the Jenkins MCP server take?
No review duration is fixed by the plugin or its docs, so the length depends on your scope. The main drivers are the number of controllers, whether unauthenticated mode and Origin settings are already locked down, how many extensions add tools, how many AI clients you plan to allow, and whether testing is included. A narrow review of one controller with a known tool list will move faster than a review covering several controllers, custom extensions and write-capable jobs. Ask any reviewer for a timeline tied to a written scope and a list of the decisions you must make before testing starts.
Which Jenkins settings should a reviewer check first?
Start with the settings that change who can reach the endpoints and what they can do. Confirm that the allowUnauthenticatedMcp flag stays false on any controller that browsers or anonymous users can reach, because the plugin docs say it weakens CSRF protection. Confirm that Origin matching against the Jenkins root URL is on, and consider requireOriginHeader=true, since requests with no Origin header are otherwise still allowed. Then disable any transport you do not need using its system property, and check that the /mcp-health endpoint, which needs no authentication, exposes only what you accept.
Does the plugin record what AI clients do on the controller?
The plugin docs describe the /mcp-server/metrics endpoint, which requires standard Jenkins permissions, but they do not describe a full audit trail of tool calls by client. Treat Jenkins' own build and job records as the evidence you have, and confirm with the plugin's current documentation which events are recorded. If you need attribution of each AI action, ask the reviewer to verify it during testing and decide whether a separate logging or proxy layer is required.
Primary sources
Start with the official plugin page on the Jenkins plugin site, MCP Server | Jenkins plugin, before approving any AI client. It is the entry point for the plugin's description, its installation notes and the example client setups for tools such as Cursor, Claude and GitHub Copilot in VS Code. Read it with a specific question in mind: which transports are enabled on your controller, which tools the plugin exposes by default, and which settings change its behavior. Record the plugin version your controllers run, because the set of tools and the documented defaults can change between releases. Confirm with your Jenkins administrators which version is installed in production and whether it matches the version you reviewed.
Then read the source repository, jenkinsci/mcp-server-plugin on GitHub, for the parts the plugin page does not explain in depth. Security reviewers should look at how tools such as createPipeline and triggerBuild are implemented, how the Origin check and the requireOriginHeader setting are handled, and how the McpServerExtension interface lets other code register new tools. This matters because the tool list on a given controller can grow beyond the defaults when other plugins add extensions. Check the repository's issue tracker and release notes for reported security fixes, and ask your team to re-check them at each plugin upgrade. The plugin is released under the MIT License, and its license text is the document to attach to your procurement file if your review requires one.
How DeployOpen tests and hardens Jenkins MCP access
DeployOpen plans, implements, hardens and tests self-hosted open-source platforms inside the client's own infrastructure, and runs security testing for AI systems and agents. For Jenkins MCP security, that means reviewing the controller's endpoints, the Jenkins user behind each client token, and the admin settings that decide what an AI client can read and change, then handing over fixes and evidence the security team can review.
How we scope
- Agree in writing which Jenkins controllers, endpoints and transports (SSE, Streamable HTTP, Stateless) are in scope before work starts
- Map which Jenkins user each AI client token belongs to and which permissions that user holds
- Identify risky tools such as createPipeline and triggerBuild and whether parameterized builds are allowed
- Confirm the controller's Origin and unauthenticated mode settings, and who can reach it from browsers or the internet
How we build
- Set endpoint and transport switches so only the transports the client needs stay enabled
- Harden Jenkins permissions and the dedicated service account so AI client tokens carry least privilege
- Configure Origin matching and the requireOriginHeader setting, keeping unauthenticated MCP mode off on exposed controllers
- Test prompt injection, tool misuse, build trigger abuse and pipeline creation against the configured setup
How we hand over
- Deliver a findings report with severity, evidence and a fix for each issue found during testing
- Document the final configuration, including endpoint settings, token ownership and the admin controls applied
- Provide a retest after fixes so the security team can confirm each finding was closed
- Prepare evidence for internal approval and compliance reviews, without issuing any audit report or certification
How we support
- Offer ongoing support and upgrade work as a retainer when the plugin or the controller changes
- Run continuous testing of the MCP endpoints when teams add new tools or extensions
- Review plugin updates and new McpServerExtension tools against the agreed scope
- Keep the written scope current with the security team as client use of Jenkins MCP grows

