Skip to navigation

Jenkins

Connect your AI agents to Jenkins.
Ready to connect

Connects with credentials the end user enters, such as an API key, so you don’t need to register an OAuth app.

Authentication: username and API token with your Jenkins instance URL. See Magic Link for the runtime auth flow.

Sample use cases

  • List failed builds across the infra folder in the last 24 hours.
  • Trigger the nightly-deploy job and notify #releases when it completes.
  • Find jobs that haven’t run in 60 days for cleanup review.

Available Tools

trigger_build

Trigger a new Jenkins build for a job. Optionally pass build parameters.

get_build

Get details of a specific Jenkins build including result, duration, and timestamps.

list_builds

List builds for a Jenkins job with pagination.

get_build_log

Get the console output of a Jenkins build as plain text. Use list_builds to find valid build numbers.

stop_build

Stop a running Jenkins build. Use list_builds to find builds where building=true.

list_jobs

List Jenkins jobs with pagination. Returns job names, URLs, and status colors. Use offset and limit for next page.

get_job

Get Jenkins job details by name including build history, health, and configuration.

get_job_config

Get the XML configuration of a Jenkins job. Returns the raw config.xml. Use list_jobs to find valid job names.

enable_job

Enable a disabled Jenkins job so it can be built. Use list_jobs to find valid job names.

disable_job

Disable a Jenkins job to prevent new builds.

delete_job

Permanently delete a Jenkins job and all its build history.

list_nodes

List all Jenkins nodes (agents and built-in). Returns node names, executor counts, and online/offline status.

get_node

Get details of a Jenkins node including executors, offline status, and configuration.

list_queue_items

List items in the Jenkins build queue. Shows jobs waiting to be built, why they are queued, and whether they are blocked or stuck.

cancel_queue_item

Cancel a queued Jenkins build. Use list_queue_items to find valid queue IDs.

list_plugins

List all installed Jenkins plugins. Returns plugin names, versions, and whether updates are available.

get_system_info

Get Jenkins system information including mode, executor count, security status, and whether Jenkins is preparing for shutdown.