Atlas / MCP servers / kud / Mcp Jenkins

Mcp JenkinsSAFE

mcp/kud/mcp-jenkins

🛠️ Drive Jenkins from Claude — trigger builds, watch pipelines, and manage CI/CD jobs & nodes

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
38 27r · 9w · 2d
Transport
stdio
License
MIT
Stars
17
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

Jenkins MCP server with bearer token authentication support

Website · Documentation

Features

  • 38 tools — covers ~95% of the Jenkins API: jobs, builds, nodes, views, queue, plugins, and system operations
  • Bearer token auth — supports both classic API token and modern bearer token authentication
  • Multiple instances — connect to several Jenkins servers simultaneously using comma-separated env vars
  • Pipeline awareness — retrieve stage-by-stage pipeline status, console logs, test results, and build artefacts
  • Node management — list agents, toggle nodes online/offline, and inspect system info without leaving your AI client
  • Zero-install usage — run directly via npx --yes @kud/mcp-jenkins@latest with no local setup required

Install

npm install -g @kud/mcp-jenkins

Or use without installing via npx (see Usage below).

Usage

Add the server to your MCP client config. The recommended approach uses environment variables:

{
"mcpServers": {
"jenkins": {
"command": "npx",
"args": ["--yes", "@kud/mcp-jenkins@latest"],
"env": {
"MCP_JENKINS_URL": "https://pipeline.yourcompany.com",
"MCP_JENKINS_USER": "your_username",
"MCP_JENKINS_API_TOKEN": "your_api_token"
}
}
}
}

For bearer token authentication, replace the env block with:

"env": {
"MCP_JENKINS_URL": "https://pipeline.yourcompany.com",
"MCP_JENKINS_BEARER_TOKEN": "your_bearer_token
Read from source at commit 8e807bb3a512OBSERVED · 2026-10-12
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.

claude-code
claude mcp add mcp-jenkins -- npx -y @kud/[email protected]
claude-desktop
{
  "mcpServers": {
    "mcp-jenkins": {
      "command": "npx",
      "args": [
        "-y",
        "@kud/[email protected]"
      ]
    }
  }
}
03

Exposed tools (38)

27 read · 9 write · 2 destructive. Blast radius: 2 tools can delete or overwrite — an agent that can be talked into calling a tool can be talked into calling this one.

ToolRiskDescription
jenkins_cancel_queuereadCancel a queued build by queue ID
jenkins_cancel_quiet_downreadCancel Jenkins quiet mode and resume accepting new builds
jenkins_copy_jobreadCopy/duplicate a Jenkins job under a new name
jenkins_create_jobwriteCreate a new Jenkins job from an XML configuration
jenkins_delete_builddestructiveDelete a specific build
jenkins_delete_jobdestructivePermanently delete a job (WARNING: cannot be undone)
jenkins_disable_jobwriteDisable a job to prevent it from running
jenkins_enable_jobwriteEnable a disabled job
jenkins_get_artifactreadDownload a specific artifact from a build (returns base64-encoded content)
jenkins_get_build_changesreadGet Git commits/changes for a build
jenkins_get_build_statusreadGet detailed status of a specific build number for a job
jenkins_get_console_logreadGet console log output from a build. Returns both a snippet and full log.
jenkins_get_job_configreadGet job configuration XML
jenkins_get_job_parametersreadGet the parameter definitions for a parameterised Jenkins job — names, types, defaults, and choices
jenkins_get_job_statusreadGet the status of the last build for a specific job
jenkins_get_nodereadGet detailed information about a specific Jenkins node/agent
jenkins_get_pipeline_stagesreadGet pipeline stages and their status for a build
jenkins_get_pluginsreadList all installed Jenkins plugins
jenkins_get_queuereadGet the current build queue showing pending builds
jenkins_get_recent_buildsreadGet recent builds for a job with their status and metadata
jenkins_get_system_inforeadGet Jenkins system information
jenkins_get_test_resultsreadGet test results for a build (pass/fail counts, test suites)
jenkins_get_versionreadGet Jenkins version
jenkins_get_viewreadGet details and job list for a specific Jenkins view
jenkins_list_artifactsreadList all artifacts produced by a specific build
jenkins_list_instancesreadList all configured Jenkins instances with their names and URLs
jenkins_list_jobsreadList Jenkins jobs and folders with full paths; pass recursive to traverse nested folders
jenkins_list_nodesreadList all Jenkins nodes/agents and their status
jenkins_list_viewsreadList all Jenkins views with their jobs
jenkins_quiet_downwritePut Jenkins into quiet mode — no new builds will start until cancelled (requires confirm: true)
jenkins_rename_jobwriteRename a Jenkins job
jenkins_replay_buildreadReplay/rerun a pipeline build, optionally with a modified pipeline script
jenkins_safe_restartwriteSafely restart Jenkins — waits for running builds to finish before restarting (requires confirm: true)
jenkins_search_jobsreadSearch for Jenkins jobs by name (case-insensitive substring match)
jenkins_stop_buildwriteStop/abort a running build
jenkins_toggle_node_offlinereadToggle a Jenkins node/agent between online and offline
jenkins_trigger_buildwriteTrigger a new build for a job, optionally with parameters
jenkins_update_job_configwriteUpdate an existing job
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfaceWARN
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (1 observation(s))
Network
declared (5 observation(s))
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (7)

MEDIUMFilesystem / path · mcp.destructive_tools · CWE-22, CWE-59
jenkins_delete_build, jenkins_delete_job
Why it matters. 2 tool(s) can delete or overwrite
Fix. prefer a read-only mode or scoped tokens; the page states the blast radius
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
test/common/env.test.ts:5
} from "../../src/common/env.js"
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
test/common/env.test.ts:6
import { DEFAULT_TIMEOUT_MS } from "../../src/common/http.js"
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
test/common/logger.test.ts:2
import { logger } from "../../src/common/logger.js"
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
test/lib/jenkins-client.test.ts:2
import { JenkinsClient } from "../../src/lib/jenkins-client.js"
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
test/lib/jenkins-client.test.ts:3
import * as common from "../../src/common/index.js"
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@modelcontextprotocol/sdk, @types/node, tsx, typescript
Why it matters. 4 dependency range(s) float
Fix. pin exact versions or ship a lockfile

Gates applied: no_behavioural_pass.

Audited 2026-10-12 · audit v0.4.1 · source sha 8e807bb3a512full audit observations/trust-audit/mcp-server/kud__mcp-jenkins.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-128e807bb3a512SAFEB89first audit
06

Questions

What is the @kud/mcp-jenkins MCP server?

🛠️ Drive Jenkins from Claude — trigger builds, watch pipelines, and manage CI/CD jobs & nodes

What tools does @kud/mcp-jenkins expose?

38 in total: 27 read-only, 9 that write, and 2 that can delete or overwrite (jenkins_delete_build, jenkins_delete_job). Every one is listed on this page with its risk.

Is @kud/mcp-jenkins safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B. Separately from the audit: 2 of its tools can destroy data, so scope the token you give it to what you actually need.

What credentials does @kud/mcp-jenkins need?

No credential environment variables were found in its source, so it appears to need none.

How does @kud/mcp-jenkins run?

It speaks stdio, so it runs as a local process your client starts. It is published on npm as @kud/mcp-jenkins at 2.3.0.

How current is this page?

The grade is for one exact copy of the source (8e807bb3a512), read on 2026-10-12. The repository is watched and re-audited when it changes.

Advertisement