Jenkins integration
Jenkins CI/CD automation server REST API for managing jobs, builds, pipelines, nodes, and queues. Trigger builds, monitor build status, manage credentials, and control Jenkins infrastructure.
Say what should happen.
The workflow builds itself.
Common Jenkins use cases
- Clean up deprecated CI/CD jobs
- Cancel a build queued by mistake
- List all dashboard views in Jenkins
- Check Jenkins server status and mode
- Get build history for a specific job
- Trigger a CI build after a code push
- Export a job configuration for backup
- Check if a specific build agent is online
- List all CI/CD jobs in a Jenkins instance
- Programmatically create new CI/CD pipelines
What you can do with Jenkins
Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.
Each badge shows the default agent permission of an endpoint (allowed: an agent calls it without asking; ask first: you are asked before an agent calls it, when the agent or chat asks permission for sensitive actions; never: no agent may call it), which every user can change endpoint by endpoint in their credential settings.
Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.
Job, 9 operations
copy_jobCopy jobPOSTAgents: ask firstCreate a new Jenkins job by copying the configuration of an existing jobcreate_jobCreate jobPOSTAgents: ask firstCreate a new Jenkins job by posting its XML configurationdelete_jobDelete jobPOSTAgents: ask firstPermanently delete a Jenkins job and all its build historydisable_jobDisable jobPOSTAgents: ask firstDisable a Jenkins job to prevent it from being triggered or builtenable_jobEnable jobPOSTAgents: ask firstEnable a previously disabled Jenkins job so it can be built againget_job_configGet job configGETAgents: ask firstRetrieve the raw XML configuration of a Jenkins jobget_job_infoGet job infoGETAgents: ask firstRetrieve detailed information about a specific Jenkins job including build historylist_jobsList jobsGETAgents: ask firstList all jobs on the Jenkins server with their names, URLs, and build statusupdate_job_configUpdate job configPOSTAgents: ask firstUpdate a Jenkins job by posting a modified XML configuration
Build, 7 operations
build_jobBuild jobPOSTAgents: ask firstTrigger a new build for a parameterless Jenkins jobbuild_with_parametersBuild with parametersPOSTAgents: ask firstTrigger a new parameterized build with custom parameter valuesdelete_buildDelete buildPOSTAgents: ask firstPermanently delete a specific build record from the job's build historyget_build_console_outputGet build console outputGETAgents: ask firstRetrieve the plain text console log output of a specific buildget_build_infoGet build infoGETAgents: ask firstRetrieve detailed information about a specific build including result, duration, and artifactsget_last_buildGet last buildGETAgents: ask firstRetrieve information about the most recent build of a Jenkins jobstop_buildStop buildPOSTAgents: ask firstAbort a currently running Jenkins build
Server, 4 operations
get_crumbGet crumbGETAgents: ask firstRetrieve the CSRF crumb token needed to authenticate POST requestsget_server_infoGet server infoGETAgents: ask firstRetrieve Jenkins server information including version, mode, and available jobsrestart_jenkinsRestart jenkinsPOSTAgents: ask firstImmediately restart the Jenkins server, killing all running buildssafe_restartSafe restartPOSTAgents: ask firstRestart Jenkins safely by waiting for all running builds to complete first
Node, 2 operations
get_node_infoGet node infoGETAgents: ask firstRetrieve detailed information about a specific Jenkins node including executor and monitor datalist_nodesList nodesGETAgents: ask firstList all Jenkins nodes (master and agents) with their status and executor information
Queue, 2 operations
cancel_queued_itemCancel queued itemPOSTAgents: ask firstCancel a build that is waiting in the Jenkins build queueget_build_queueGet build queueGETAgents: ask firstRetrieve the list of items currently waiting in the Jenkins build queue
View, 2 operations
get_viewGet viewGETAgents: ask firstRetrieve a specific Jenkins view including its jobs and configurationlist_viewsList viewsGETAgents: ask firstList all Jenkins views with their names and URLs
Use Jenkins from Claude Code, Cursor or Codex
Connect Jenkins in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Jenkins operations become tools the client can call, next to every other integration you connected.
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"
[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"{
"mcpServers": {
"livecontext": {
"type": "http",
"url": "https://livecontext.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}How to connect Jenkins
- Create your workspace
Sign up free. Nothing to install.
- Connect Jenkins once
Add your Jenkins connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.
- Describe the job in chat
The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.
Jenkins integration FAQ
What can you do with the Jenkins integration?
LiveContext exposes 26 operations on Jenkins, covering job, build, server and node. Common uses include Clean up deprecated CI/CD jobs, Cancel a build queued by mistake and List all dashboard views in Jenkins.
