MCPVault

getQueueItem

MCP tool from MCP Server Plugin by jenkinsci

Get information about a queued item using its ID.

How to use it

getQueueItem is exposed by the MCP Server Plugin MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the getQueueItem tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

Install MCP Server Plugin

$claude mcp add jenkins http://jenkins-host/mcp-server/mcp --transport http --header "Authorization: Basic <user:token base64>"
FULL MCP SERVER PLUGIN LISTING

Other tools in MCP Server Plugin (17)

findJobsWithScmUrl

Find jobs using a specific SCM (git) repository URL

getBuild

Retrieve a specific build or the last build of a Jenkins job.

getBuildChangeSets

Retrieve change log sets of a specific build.

getBuildLog

Retrieve log lines with pagination for a specific build or the last build. Supports forward reads, end-relative reads (negative skip/limit), and cursor pagination: every response carries a nextCursor you can pass back as cursor to keep reading without re-scanning from the top. The cursor is tied to

getBuildScm

Retrieve SCM configurations of a specific build.

getJob

Get a Jenkins job by its full path.

getJobs

Get a paginated list of Jenkins jobs, sorted by name.

getJobScm

Retrieve SCM configurations of a Jenkins job.

getReplayScripts

Return the main script and loaded scripts of a replayable Pipeline build. Use this to inspect or modify script before calling replayBuild. Fails for non-Pipeline jobs. Optional buildNumber; defaults to the last build.

getStatus

Checks the health and readiness status of a Jenkins instance. Use this tool to assess Jenkins instance health rather than simple up/down status.

getTestResults

Retrieve test results of a specific build or the last build.

rebuildBuild

Re-run a build with the same parameters. For Pipeline jobs with Replay support, uses the original script; for other parameterized jobs, schedules a new build with the same parameters. Optional buildNumber; defaults to the last build. Returns the queue item for the new build.

replayBuild

Run a Pipeline build again with a modified script. Provide mainScript (required) and optionally loadedScripts. Optional buildNumber; defaults to the last build. Fails if the build is not replayable or replay is not allowed (e.g. permissions or sandbox).

searchBuildLog

Search for log lines matching a pattern (string or regex) in build logs. Reads a non-blocking snapshot (returns promptly for in-progress builds) and stops scanning early once maxMatches is reached.

triggerBuild

Trigger a build of a job.

updateBuild

Update build display name and/or description.

whoAmI

Get information about the current user.