1. Conduid
  2. Blockchain
  3. Jenkins MCP Go
MCP server · Blockchain

Jenkins MCP Go

Jenkins MCP server in Go — expose Jenkins jobs, builds, and console logs to LLMs.

44Fair

Scored 23 hours ago · breakdown

About Jenkins MCP Go

Jenkins MCP Go is an MCP server published by 2001adarsh in the Blockchain category: jenkins MCP server in Go — expose Jenkins jobs, builds, and console logs to LLMs. Conduid read 31 tools from its source: cancel_queue_item, changes_since_last_green, compare_builds, find_recent_failures, find_test_by_name, get_build_environment and 25 more. No package is published for it, so it installs from a source checkout.

The repository has 4 stars and 0 forks, and its last commit was on 30 May 2026. Conduid has no tagged release on record for it. Its topics include jenkins, jenkins-api, jenkins-ci, jenkins-mcp, jenkins-mcp-go and jenkins-mcp-server.

Install

From source
git clone https://github.com/2001adarsh/jenkins-mcp-go

Tools (31)

cancel_queue_itemDrop a pending queue item by id. **Mutating**; suppressed when `JENKINS_MCP_READONLY` is set.
changes_since_last_greenUnion the commits across every completed build since the job's last green. Walks `previousCompletedBuild`, dedupes by `commitId`, supports `path_filter` and `max_commits`. Surfaces 'all green' and wide-window footers.
compare_buildsDiff two builds of the same job across result, duration, parameters, SCM commits, pipeline stages, and JUnit tests. The agent answers "what changed between A and B?" in one call.
find_recent_failuresSurvey failed builds across the jobs under `folder_path` within a lookback window. Per-job probe of the last 5 builds; filters by `since` (24h default; supports `Nd`) and `result_filter` (FAILURE/UNSTABLE/ABORTED/ANY_NON_SUCCESS).
find_test_by_nameLocate which job runs a test whose full name contains a substring. Walks `list_jobs(recursive)` under `folder_path`, fans out per-job probes against `lastCompletedBuild/testReport` with a 5s per-job timeout, renders a sorted table of hits.
get_build_environmentThree sections for a build: Cause (trigger reason verbatim), Parameters (masked secrets surfaced as `(masked)`), and Injected Env Vars via EnvInject. Optional RE2 `name_filter` narrows the env-var section. Degrades on EnvInject 404.
get_build_infoPretty-printed build summary: result, duration, parameters, change set.
get_console_logTail the build's `/consoleText`. Defaults to last 500 lines; pass `tail_lines: -1` for the full log.
get_console_log_pathForce-cache the full log for a completed build and return its on-disk path so the agent can `Read`/`Grep`/`Bash` it natively.
get_flaky_candidatesRank flaky tests across the latest N completed builds of one job by counting pass↔fail flips. Returns a sorted table of test name, flip count, pass/fail tallies, and last-seen build.
get_ginkgo_failure_summaryParse Ginkgo's `Summarizing N Failure` block and surface the first `[ERROR]` tagged with each spec name.
get_nodePer-node detail: status, per-executor idle state, labels, full monitor data.
get_pipeline_scriptReturn the Jenkinsfile a specific build actually ran. Tries the Replay plugin first (build-pinned), falls back to `config.xml` (job-level — provenance surfaced). Returns SCM coords as a hint for Pipeline-from-SCM jobs.
get_pipeline_stagesList Declarative/Scripted Pipeline stages via `/wfapi/describe` with status and duration.
get_plugin_versionsList installed Jenkins plugins with versions, pinned flag, and pending-update flag. Optional `name_filter` (RE2) and `include_inactive`. 403 degrades to a clear hint.
get_scm_contextPer-commit history for one build: commit id, author, timestamp, message subject, and each commit's touched paths with `A`/`M`/`D` edit codes. Pipeline change sets are flattened with per-set headers. Optional RE2 `path_filter`.
get_stage_logFetch a single pipeline stage's log via `/execution/node/<id>/wfapi/log`.
get_test_historyPer-build trend of a single test across the last N completed builds — the follow-up to `get_flaky_candidates` once a suspect is known. Timeline (build #, result, status, duration, error head) plus a summary of counts and flips.
get_test_reportStructured JUnit results from `/testReport/api/json`, with failed cases and head+tail of stack traces.
health_checkValidate the server's setup: Jenkins reachability and version, authenticated user, CSRF crumb issuer, Pipeline/JUnit plugin presence, online/offline node counts, clock skew, and the effective config the process is running with.
last_green_buildReport the most recent successful build of a job. Returns number, finish time (UTC), and URL — the start point for bisect-from-green.
list_branchesEnumerate the branches of a `WorkflowMultiBranchProject` with per-branch last-build number, result, duration, and timestamp. Optional `name_filter` (RE2) and `healthy_only`.
list_jobsEnumerate jobs and folders under a path (or root). Optional recursion and case-insensitive RE2 name filter; capped at 500 entries.
list_nodesList Jenkins agents/nodes with status, executor counts, labels, and monitor summaries.
list_pr_buildsList all builds for a PR on a `WorkflowMultiBranchProject`. Probes the common PR branch naming conventions in parallel (`PR-N`, `pull/N/head`, `change-N`, `pr/N`) and renders the build history for the first match.
list_queueList pending Jenkins queue items with the block reason for each.
search_console_logRE2 regex search over the console log with line-number-aware context windows.
stop_buildAbort a running build. **Mutating**.
tail_running_buildCapped, offset-tracked tail of an in-flight build's console via Jenkins' `progressiveText`. Echo `Next since_byte` back to paginate. Never writes to the on-disk cache.
trigger_buildQueue a build, optionally with parameters; can block until the build is assigned a number. **Mutating**.
whoami_canProbe a job for the configured token's effective Read / Build / Cancel / Configure permissions via read-only `GET` requests. Useful up-front to avoid a 403 on a trigger or cancel. Stays read-only even when `JENKINS_MCP_READONLY=false`.

Security checks

6 checks have not been run yet.

Questions

About Jenkins MCP Go

How do I install Jenkins MCP Go?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Jenkins MCP Go safe to use with an AI agent?

Its trust score is 44 out of 100 (fair). Conduid hasn't run static security checks on this repository yet, so review the source yourself before granting it credentials. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Jenkins MCP Go still maintained?

The last commit was 6 months ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.

What tools does Jenkins MCP Go provide?

Conduid read 31 tools from the source: cancel_queue_item, changes_since_last_green, compare_builds, find_recent_failures, find_test_by_name, get_build_environment, get_build_info, get_console_log and 23 more.