jenkinsci/mcp-server-plugin
14a9d4aeb0deplugin6.2250.va_d01d559a_209 in pom.xmlPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety and Capability Exposure are shown as partly traced instead of a score: no finding there is not a clean result.
- In 35 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
- Supply Chain: the dependency files state no exact versions the scanner could check, so it has no number
- 2 places in the code register tools whose names are computed at run time; how many tools that makes cannot be read from the code
- 29 tools, prompts and resources registered only in the repository's tests are not counted on this page
Top risks in plain words
- MEDIUM2 security advisories have been published for this server itself (worst: medium).
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Use a fixed version
Versions before
io.jenkins.plugins:mcp-server0.86.v7d3355e6a have a published vulnerability that is fixed in 0.86.v7d3355e6a. - Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 23 tools, 1 prompt, 1 resource. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
None of the tools reaches any of these in the code the scanner could trace.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
Text it brings in from outside
No tool was seen returning text from outside the server to the model.
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (25: 23 tools, 1 prompt, 1 resource)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
(name computed at run time)prompt
No description.
(name computed at run time)resource
No description.
cancelBuildtool
No description.
createPipelinetool Create a new Jenkins pipeline job with the provided script
Create a new Jenkins pipeline job with the provided script
findJobsWithScmUrltool Get a paginated list of Jenkins jobs that use the specified git SCM URL
Get a paginated list of Jenkins jobs that use the specified git SCM URL
getBuildtool Get a specific build or the last build of a Jenkins job
Get a specific build or the last build of a Jenkins job
getBuildChangeSetstool Retrieves change log sets of a Jenkins build
Retrieves change log sets of a Jenkins build
getBuildLogtool
No description.
getBuildScmtool Retrieves scm configurations of a Jenkins build
Retrieves scm configurations of a Jenkins build
getFlakyFailurestool
No description.
getJobtool Get a Jenkins job by its full path
Get a Jenkins job by its full path
getJobScmtool Retrieves scm configurations of a Jenkins job
Retrieves scm configurations of a Jenkins job
getJobstool Get a paginated list of Jenkins jobs, sorted by name. Returns up to 'limit' jobs starting from the 'skip' index. If no jobs are available in the requested range
Get a paginated list of Jenkins jobs, sorted by name. Returns up to 'limit' jobs starting from the 'skip' index. If no jobs are available in the requested range, returns an empty list.
getLogRecorderstool List the names of configured Jenkins Log Recorders, for use with getSystemLog's 'recorder' parameter. Requires the Overall/SystemRead permission.
List the names of configured Jenkins Log Recorders, for use with getSystemLog's 'recorder' parameter. Requires the Overall/SystemRead permission.
getQueueItemtool Get the queue item details by its ID. The caller can check the queue item's status, build details, and other relevant information.
Get the queue item details by its ID. The caller can check the queue item's status, build details, and other relevant information.
getReplayScriptstool Get the pipeline script(s) of a build for replay. Returns the main script and loaded scripts. Only available for Pipeline (replayable) builds.
Get the pipeline script(s) of a build for replay. Returns the main script and loaded scripts. Only available for Pipeline (replayable) builds.
getStatustool
No description.
getSystemLogtool Read recent Jenkins log entries, newest first. Reads the global system log, or a named Log Recorder when 'recorder' is set. Requires the Overall/SystemRead perm
Read recent Jenkins log entries, newest first. Reads the global system log, or a named Log Recorder when 'recorder' is set. Requires the Overall/SystemRead permission.
getTestResultstool
No description.
rebuildBuildtool Rebuild a Jenkins build: re-run it with the same parameters and the same trigger causes (for example a GitLab or GitHub webhook), like the Rebuild button. To re
Rebuild a Jenkins build: re-run it with the same parameters and the same trigger causes (for example a GitLab or GitHub webhook), like the Rebuild button. To re-run the original Pipeline script, use getReplayScripts and replayBuild. Returns the queue item for the new build.
replayBuildtool Replay a Pipeline build with optionally modified script(s). Runs the job again with the given main script and optional loaded scripts. Only available for Pipeli
Replay a Pipeline build with optionally modified script(s). Runs the job again with the given main script and optional loaded scripts. Only available for Pipeline jobs.
searchBuildLogtool
No description.
triggerBuildtool Trigger a build for a Jenkins job
Trigger a build for a Jenkins job
updateBuildtool Update build display name and/or description
Update build display name and/or description
whoAmItool Get information about the currently authenticated user/principal, including their full name or 'anonymous' if not authenticated
Get information about the currently authenticated user/principal, including their full name or 'anonymous' if not authenticated
Text the model reads (27)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
getBuildLog tool
searchBuildLog tool
cancelBuild tool
getBuild tool
Get a specific build or the last build of a Jenkins job
getJob tool
Get a Jenkins job by its full path
triggerBuild tool
Trigger a build for a Jenkins job
getJobs tool
Get a paginated list of Jenkins jobs, sorted by name. Returns up to 'limit' jobs starting from the 'skip' index. If no jobs are available in the requested range, returns an empty list.
updateBuild tool
Update build display name and/or description
whoAmI tool
Get information about the currently authenticated user/principal, including their full name or 'anonymous' if not authenticated
getStatus tool
getQueueItem tool
Get the queue item details by its ID. The caller can check the queue item's status, build details, and other relevant information.
rebuildBuild tool
Rebuild a Jenkins build: re-run it with the same parameters and the same trigger causes (for example a GitLab or GitHub webhook), like the Rebuild button. To re-run the original Pipeline script, use getReplayScripts and replayBuild. Returns the queue item for the new build.
getReplayScripts tool
Get the pipeline script(s) of a build for replay. Returns the main script and loaded scripts. Only available for Pipeline (replayable) builds.
replayBuild tool
Replay a Pipeline build with optionally modified script(s). Runs the job again with the given main script and optional loaded scripts. Only available for Pipeline jobs.
getJobScm tool
Retrieves scm configurations of a Jenkins job
getBuildScm tool
Retrieves scm configurations of a Jenkins build
getBuildChangeSets tool
Retrieves change log sets of a Jenkins build
findJobsWithScmUrl tool
Get a paginated list of Jenkins jobs that use the specified git SCM URL
createPipeline tool
Create a new Jenkins pipeline job with the provided script
getSystemLog tool
Read recent Jenkins log entries, newest first. Reads the global system log, or a named Log Recorder when 'recorder' is set. Requires the Overall/SystemRead permission.
getLogRecorders tool
List the names of configured Jenkins Log Recorders, for use with getSystemLog's 'recorder' parameter. Requires the Overall/SystemRead permission.
getTestResults tool
getFlakyFailures tool
getBuildLog tool
Overridden getBuildLog from a separate extension
searchBuildLog tool
Duplicate searchBuildLog without override
(name computed at run time) prompt
(name computed at run time) resource
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 25 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 25 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 25 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Requests any addressNo tool sends a request to an address the caller supplies — 25 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 25 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processesNot seen in the traced code of 25 capabilities; 25 more call code the scanner could not follow, where it may happen
- Tools that touch filesNot seen in the traced code of 25 capabilities; 25 more call code the scanner could not follow, where it may happen
- Tools that call the networkNot seen in the traced code of 25 capabilities; 25 more call code the scanner could not follow, where it may happen
Where the code is: 25 handlers in 7 files at commit 14a9d4aeb0de
src/main/java/io/jenkins/plugins/mcp/server/Endpoint.java(name computed at run time), (name computed at run time)src/main/java/io/jenkins/plugins/mcp/server/extensions/BuildLogsExtension.javagetBuildLog, searchBuildLogsrc/main/java/io/jenkins/plugins/mcp/server/extensions/DefaultMcpServer.javacancelBuild, getBuild, getJob, triggerBuild, getJobs, updateBuild, whoAmI, getStatus, getQueueItem, rebuildBuild, getReplayScripts, replayBuildsrc/main/java/io/jenkins/plugins/mcp/server/extensions/JobScmExtension.javagetJobScm, getBuildScm, getBuildChangeSets, findJobsWithScmUrlsrc/main/java/io/jenkins/plugins/mcp/server/extensions/PipelineExtension.javacreatePipelinesrc/main/java/io/jenkins/plugins/mcp/server/extensions/SystemLogExtension.javagetSystemLog, getLogRecorderssrc/main/java/io/jenkins/plugins/mcp/server/extensions/TestResultExtension.javagetTestResults, getFlakyFailures
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests1 manifest: pom.xml
- Lockfiles checked against OSVNothing could be resolved to exact versions
- MCP SDK versionio.modelcontextprotocol.sdk:mcp , io.modelcontextprotocol.sdk:mcp-bom 2.1.0, io.modelcontextprotocol.sdk:mcp-json-jackson3
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentialsNot seen in the traced code of 25 capabilities; 25 more call code the scanner could not follow, where it may happen
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read (34 only in code no tool reaches)
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (0 in production)
No known vulnerabilities in the production dependencies that could be checked.
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
- MEDIUM GHSA-mpff-xhg4-vr45CVE-2026-57300Jenkins MCP Server Plugin missing a permission check
- MEDIUM GHSA-mrpq-9jr3-rqq9CVE-2025-64132Jenkins MCP Server Plugin does not perform permission checks in multiple MCP tools
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | not stated in the code the scanner read; most local servers talk over stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | io.modelcontextprotocol.sdk:mcp , io.modelcontextprotocol.sdk:mcp-bom 2.1.0, io.modelcontextprotocol.sdk:mcp-json-jackson3 |
The project's own security
| Security policy | none no SECURITY.md in the repository: report issues privately through GitHub if it is enabled |
|---|---|
| Past advisories | 2 · 2 with a fixed version released |
| Last push | 2026-11-14 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 2 catalogs (awesome_habitoai, github_search) |
|---|---|
| License | MIT |
| Created | 2025-05-27 |
| Topics | ai mcp |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.