Skip to main content
Glama
Jenkins MCP Server

Jenkins MCP Server

by Pawangunjkar

πŸ—οΈ Jenkins MCP Server

MCP server for Jenkins CI/CD operations β€” 53 tools for job management, builds, pipelines, nodes, credentials, plugins, and more.

A comprehensive Model Context Protocol (MCP) server that exposes the full Jenkins REST API as AI-ready tools. Connect your AI assistant (Cursor, Claude Desktop, or any MCP client) to manage Jenkins servers through natural language.

Author: Pawan Gunjkar (pawangunjkar@gmail.com)


πŸš€ Hosted Cloud (MCPize.com) & Pro Agent Skill Bundles (Agensi.io)

Use this server locally for free over stdio (uvx), or subscribe to the hosted cloud endpoints on MCPize.com paired with production SKILL.md playbooks on Agensi.io:

Tier

Offering

Cloud Runtime (MCPize.com)

Pro Playbook (Agensi.io)

What's Included

Free Demo

Starter Access

$0 (25 read-only calls/mo)

github-mcp-lite ($0)

Free read-only trial tier

Individual Pro (This Repo)

jenkins-mcp

$19/mo (pawangunjkar-jenkins-mcp)

jenkins-mcp-pro ($19)

All 53 Jenkins CI/CD tools + 5 build/stage triage playbooks

3-in-1 Bundle

Enterprise CI/CD & Binary Release (Saves 32%)

$39/mo (pawangunjkar-bundle-enterprise-release-mcp)

Bundle 2 ($39)

jenkins-mcp (53) + artifact-registry-mcp (12) + k8s-mcp (23) = 88 tools

3-in-1 Bundles

Cloud-Native DevOps | SRE Incident Triage

$39/mo each

Bundle 1 | Bundle 3 ($39)

github+k8s+obs (118 tools) | k8s+obs+linux-ssh (100 tools)

6-in-1 Master Suite

Enterprise SDLC Orchestrator (Saves 37%)

$69/mo (pawangunjkar-enterprise-sdlc-suite)

enterprise-sdlc-orchestrator ($69)

All 6 MCP servers unified (245 tools) + end-to-end SDLC/SRE workflows


Related MCP server: Jenkins MCP Server

πŸ“₯ Install

uvx jenkins-mcp

Cursor / Claude Desktop β€” add to .cursor/mcp.json:

{
  "mcpServers": {
    "jenkins": {
      "command": "uvx",
      "args": ["jenkins-mcp"],
      "env": {
        "JENKINS_URL": "http://localhost:8080",
        "JENKINS_USERNAME": "admin",
        "JENKINS_API_TOKEN": "your-api-token"
      }
    }
  }
}

Option 2: Smithery

npx -y @smithery/cli install jenkins-mcp --client cursor

Option 3: Clone from GitHub

git clone https://github.com/Pawangunjkar/jenkins-mcp.git
cd jenkins-mcp
uv sync
uv run server.py

See PUBLISHING.md for full publishing steps.


✨ Features

  • πŸ”Œ 53 tools across 10 categories β€” full Jenkins API coverage

  • πŸ” Secure authentication β€” API token-based auth with CSRF crumb handling

  • πŸ’Ύ Credential caching β€” auto-connect from env vars or cached credentials

  • πŸ“ Folder support β€” navigate and manage jobs in nested folder structures

  • πŸ”€ Pipeline support β€” view stages, replay builds, and inspect pipeline runs

  • 🧩 Plugin management β€” list, install, and inspect plugins

  • πŸ–₯️ Node management β€” monitor agents, executors, and system health

  • 🎯 Zero configuration β€” just set env vars and run


πŸš€ Quick Start

Prerequisites

  • Python 3.10+

  • uv package manager

  • Jenkins server with API access enabled

1. Clone & Install

cd jenkins-mcp
uv sync

2. Configure Jenkins Credentials

Option A: Environment Variables (Recommended)

# Copy and edit the example file
cp .env.example .env

# Set your Jenkins details
JENKINS_URL=http://localhost:8080
JENKINS_USERNAME=admin
JENKINS_API_TOKEN=your-api-token-here

Option B: Connect via chat

Just start the server and use the jenkins_connect tool:

jenkins_connect(url="http://localhost:8080", username="admin", api_token="your-token")

3. Generate a Jenkins API Token

  1. Log in to Jenkins

  2. Click your username β†’ Configure

  3. Under API Token β†’ Add new Token

  4. Give it a name β†’ Click Generate

  5. Copy the token value

4. Run the Server

# For Cursor / Claude Desktop (stdio transport)
uv run server.py

# For testing with MCP Inspector
uv run mcp dev server.py

πŸ› οΈ Tool Reference (53 Tools)

Category 1: Connection & Authentication (4 tools)

Tool

Description

jenkins_connect

Connect to a Jenkins server (URL + username + API token)

jenkins_disconnect

Disconnect the current session

jenkins_status

Show connection status and Jenkins system overview

jenkins_save_credentials

Save Jenkins credentials to disk cache for future use

Category 2: Job Management (10 tools)

Tool

Description

jenkins_list_jobs

List all jobs (with optional folder path)

jenkins_get_job

Get detailed job info (config, health, parameters, builds)

jenkins_create_job

Create a new job from XML config

jenkins_delete_job

Delete a job permanently

jenkins_copy_job

Copy/clone an existing job to a new name

jenkins_rename_job

Rename a job

jenkins_enable_job

Enable a disabled job

jenkins_disable_job

Disable a job (prevents new builds)

jenkins_get_job_config

Get job's config.xml

jenkins_update_job_config

Update job's config.xml

Category 3: Build Operations (8 tools)

Tool

Description

jenkins_build

Trigger a build (with optional JSON parameters)

jenkins_get_build_info

Get build details (result, duration, artifacts)

jenkins_get_build_log

Get build console output/log

jenkins_stop_build

Abort/stop a running build

jenkins_delete_build

Delete a specific build from history

jenkins_get_last_build

Get last build info for a job

jenkins_get_last_successful_build

Get last successful build info

jenkins_get_last_failed_build

Get last failed build info

Category 4: Build Queue (3 tools)

Tool

Description

jenkins_get_queue

List all items in the build queue

jenkins_get_queue_item

Get details of a specific queue item

jenkins_cancel_queue_item

Cancel/remove an item from the queue

Category 5: Node/Agent Management (6 tools)

Tool

Description

jenkins_list_nodes

List all nodes/agents with status

jenkins_get_node_info

Get detailed node information

jenkins_enable_node

Bring a node back online

jenkins_disable_node

Take a node offline (with reason)

jenkins_get_node_log

Get node's log output

jenkins_get_executor_status

Show executor status across all nodes

Category 6: View Management (5 tools)

Tool

Description

jenkins_list_views

List all views

jenkins_get_view

Get view details and its jobs

jenkins_create_view

Create a new view

jenkins_delete_view

Delete a view

jenkins_add_job_to_view

Add a job to a view

Category 7: Credentials Management (4 tools)

Tool

Description

jenkins_list_credentials

List stored Jenkins credentials

jenkins_get_credential

Get credential details (secrets masked)

jenkins_create_credential

Create a credential (username/password, secret text, SSH key)

jenkins_delete_credential

Delete a credential

Category 8: Plugin Management (4 tools)

Tool

Description

jenkins_list_plugins

List all installed plugins with version

jenkins_get_plugin_info

Get details and dependencies of a plugin

jenkins_install_plugin

Install a plugin (with optional version)

jenkins_list_available_plugins

Search available plugins from Update Center

Category 9: Pipeline & Folder Operations (4 tools)

Tool

Description

jenkins_list_folder_jobs

List jobs inside a folder

jenkins_create_folder

Create a new folder

jenkins_get_pipeline_stages

Get pipeline stage details and status

jenkins_replay_pipeline

Replay a pipeline build with modified script

Category 10: System & Administration (5 tools)

Tool

Description

jenkins_system_info

Get Jenkins version, system stats, and overview

jenkins_restart

Restart Jenkins (safe or immediate)

jenkins_quiet_down

Put Jenkins in quiet-down mode (no new builds)

jenkins_cancel_quiet_down

Cancel quiet-down mode

jenkins_run_groovy_script

Execute a Groovy script on Jenkins Script Console


βš™οΈ Configuration

Environment Variables

Variable

Required

Default

Description

JENKINS_URL

Yes

β€”

Jenkins server URL (e.g., http://localhost:8080)

JENKINS_USERNAME

Yes

admin

Jenkins username

JENKINS_API_TOKEN

Yes

β€”

Jenkins API token

JENKINS_SSL_VERIFY

No

true

Set to false for self-signed certificates

JENKINS_TIMEOUT

No

30

Request timeout in seconds

JENKINS_MCP_CACHE_DIR

No

~/.jenkins-mcp-cache

Credential cache directory

Cursor Integration

Add to your Cursor MCP settings (.cursor/mcp.json):

{
  "mcpServers": {
    "jenkins": {
      "command": "uvx",
      "args": ["jenkins-mcp"],
      "env": {
        "JENKINS_URL": "http://localhost:8080",
        "JENKINS_USERNAME": "admin",
        "JENKINS_API_TOKEN": "your-api-token"
      }
    }
  }
}

Claude Desktop Integration

Add to your Claude Desktop config (claude_desktop_config.json):

{
  "mcpServers": {
    "jenkins": {
      "command": "uvx",
      "args": ["jenkins-mcp"],
      "env": {
        "JENKINS_URL": "http://localhost:8080",
        "JENKINS_USERNAME": "admin",
        "JENKINS_API_TOKEN": "your-api-token"
      }
    }
  }
}

πŸ’‘ Example Usage

Managing Jobs

"List all Jenkins jobs"
β†’ jenkins_list_jobs()

"Show me details about the 'deploy-prod' job"
β†’ jenkins_get_job(job_name="deploy-prod")

"Create a copy of 'deploy-prod' called 'deploy-staging'"
β†’ jenkins_copy_job(source_job="deploy-prod", new_name="deploy-staging")

"Disable the test job while we fix the flaky tests"
β†’ jenkins_disable_job(job_name="test-suite")

Building & Monitoring

"Build the deploy pipeline with BRANCH=main"
β†’ jenkins_build(job_name="deploy-prod", parameters='{"BRANCH": "main"}')

"Show me the console output of the last build"
β†’ jenkins_get_build_log(job_name="deploy-prod")

"Stop build #42 β€” it's hanging"
β†’ jenkins_stop_build(job_name="deploy-prod", build_number=42)

"Show me the pipeline stages for the last build"
β†’ jenkins_get_pipeline_stages(job_name="deploy-prod")

System Administration

"What's the status of all Jenkins nodes?"
β†’ jenkins_list_nodes()

"Take node 'agent-1' offline for maintenance"
β†’ jenkins_disable_node(node_name="agent-1", reason="Scheduled maintenance")

"List all installed plugins"
β†’ jenkins_list_plugins()

"Restart Jenkins safely after builds complete"
β†’ jenkins_restart(safe=True)

"Run a Groovy script to list all users"
β†’ jenkins_run_groovy_script(script="Jenkins.instance.securityRealm.getAllUsers().each { println it.id }")

πŸ“ Project Structure

jenkins-mcp/
β”œβ”€β”€ server.py              # Main MCP server β€” 53 tool definitions
β”œβ”€β”€ jenkins_client.py      # Jenkins REST API client (HTTP, auth, CSRF)
β”œβ”€β”€ credential_store.py    # Credential caching (env vars, memory, file)
β”œβ”€β”€ pyproject.toml         # Project metadata & dependencies
β”œβ”€β”€ .env.example           # Example environment variables
β”œβ”€β”€ .gitignore             # Python gitignore
β”œβ”€β”€ LICENSE                # MIT license
└── README.md              # This file

πŸ”’ Security Notes

  • API tokens are stored in ~/.jenkins-mcp-cache/credentials.json with restrictive file permissions (600)

  • Never commit .env files or credentials to version control

  • Use API tokens (not passwords) for authentication β€” tokens can be revoked individually

  • The server supports SSL verification β€” only disable for self-signed certs in development


πŸ“„ License

MIT License β€” see LICENSE for details.

Available Tools

53 tools
jenkins_add_job_to_viewC

Add a job to an existing view.

Args: view_name: View name job_name: Job name to add to the view session_name: Jenkins session to use

Inputs: job_name (required), view_name (required), session_name. Returns: result

jenkins_buildB

Trigger a build for a Jenkins job.

For parameterized builds, pass parameters as JSON string.

Args: job_name: Full job name parameters: Build parameters as JSON string, e.g. '{"BRANCH": "main", "DEPLOY": "true"}' (empty for non-parameterized jobs) session_name: Jenkins session to use

Inputs: job_name (required), parameters, session_name. Returns: result

jenkins_cancel_queue_itemC

Cancel/remove an item from the build queue.

Args: queue_id: Queue item ID to cancel session_name: Jenkins session to use

Inputs: queue_id (required), session_name. Returns: result

jenkins_cancel_quiet_downA

Cancel quiet-down mode and resume normal operations.

Queued builds will begin processing again.

Args: session_name: Jenkins session to use

Inputs: session_name. Returns: result

jenkins_connectA

Connect to a Jenkins server and create a named session.

If a session with the same name exists, it will be disconnected first. Credentials are automatically cached for future reconnection.

Args: url: Jenkins server URL (e.g., 'http://localhost:8080') username: Jenkins username (default: admin) api_token: Jenkins API token (generate at User β†’ Configure β†’ API Token) ssl_verify: Verify SSL certificates (default: True, set False for self-signed certs) timeout: Request timeout in seconds (default: 30) session_name: Name for this session, e.g. 'prod', 'staging' (default: 'default')

Inputs: url (required), timeout, username, api_token, +2 more. Returns: result

jenkins_copy_jobB

Copy/clone an existing Jenkins job to a new name.

The new job will have identical configuration to the source.

Args: source_job: Name of the job to copy new_name: Name for the new job session_name: Jenkins session to use

Inputs: new_name (required), source_job (required), session_name. Returns: result

jenkins_create_credentialA

Create a new credential in Jenkins.

Args: credential_id: Unique ID for the credential credential_type: Type β€” 'userpass' (username/password), 'secret' (secret text), 'ssh' (SSH key) username: Username (for 'userpass' type) password: Password (for 'userpass' type) or private key (for 'ssh' type) secret: Secret text (for 'secret' type) description: Description of the credential domain: Credential domain ('_' = global) store: Credential store ('system' = system store) session_name: Jenkins session to use

Inputs: credential_id (required), credential_type (required), store, domain, +5 more. Returns: result

jenkins_create_folderC

Create a new folder in Jenkins.

Args: folder_name: Name for the new folder parent_folder: Parent folder path (empty = root level) description: Folder description session_name: Jenkins session to use

Inputs: folder_name (required), description, session_name, parent_folder. Returns: result

jenkins_create_jobB

Create a new Jenkins job from an XML configuration.

Args: job_name: Name for the new job config_xml: Job configuration in XML format (config.xml content) folder: Folder to create the job in (empty = root level) session_name: Jenkins session to use

Inputs: job_name (required), config_xml (required), folder, session_name. Returns: result

jenkins_create_viewA

Create a new Jenkins view.

Args: view_name: Name for the new view view_type: View type β€” 'list' (default) or 'my' (My View) session_name: Jenkins session to use

Inputs: view_name (required), view_type, session_name. Returns: result

jenkins_delete_buildB

Delete a specific build from the build history.

⚠️ This cannot be undone.

Args: job_name: Full job name build_number: Build number to delete session_name: Jenkins session to use

Inputs: job_name (required), build_number (required), session_name. Returns: result

jenkins_delete_credentialC

Delete a credential from Jenkins.

Args: credential_id: Credential ID to delete domain: Credential domain ('_' = global) store: Credential store ('system' = system store) session_name: Jenkins session to use

Inputs: credential_id (required), store, domain, session_name. Returns: result

jenkins_delete_jobA

Delete a Jenkins job permanently.

⚠️ This action cannot be undone. All build history will be lost.

Args: job_name: Full job name (use 'folder/job-name' for jobs in folders) session_name: Jenkins session to use

Inputs: job_name (required), session_name. Returns: result

jenkins_delete_viewA

Delete a Jenkins view.

⚠️ This only removes the view β€” jobs in the view are NOT deleted.

Args: view_name: View name to delete session_name: Jenkins session to use

Inputs: view_name (required), session_name. Returns: result

jenkins_disable_jobC

Disable a Jenkins job (prevents new builds from being triggered).

Args: job_name: Full job name session_name: Jenkins session to use

Inputs: job_name (required), session_name. Returns: result

jenkins_disable_nodeB

Take a Jenkins node/agent offline with a reason message.

Args: node_name: Node name to disable reason: Reason for taking offline (displayed in Jenkins UI) session_name: Jenkins session to use

Inputs: node_name (required), reason, session_name. Returns: result

jenkins_disconnectB

Disconnect a specific Jenkins session.

Args: session_name: Name of the session to disconnect (default: 'default')

Inputs: session_name. Returns: result

jenkins_enable_jobC

Enable a disabled Jenkins job so it can be built again.

Args: job_name: Full job name session_name: Jenkins session to use

Inputs: job_name (required), session_name. Returns: result

jenkins_enable_nodeC

Bring a Jenkins node/agent back online.

Args: node_name: Node name to enable session_name: Jenkins session to use

Inputs: node_name (required), session_name. Returns: result

jenkins_get_build_infoB

Get detailed information about a specific build.

Shows result, duration, timestamp, changes, and artifacts.

Args: job_name: Full job name build_number: Build number to inspect session_name: Jenkins session to use

Inputs: job_name (required), build_number (required), session_name. Returns: result

jenkins_get_build_logC

Get console output (build log) for a specific build.

Returns the full console text output of the build.

Args: job_name: Full job name build_number: Build number (0 = last build) start_line: Start offset in bytes for progressive output (default: 0 = from beginning) session_name: Jenkins session to use

Inputs: job_name (required), start_line, build_number, session_name. Returns: result

jenkins_get_credentialB

Get details of a specific Jenkins credential (secrets are masked).

Args: credential_id: Credential ID domain: Credential domain ('_' = global) store: Credential store ('system' = system store) session_name: Jenkins session to use

Inputs: credential_id (required), store, domain, session_name. Returns: result

jenkins_get_executor_statusC

Show executor status across all nodes.

Displays which executors are busy and what they're running.

Args: session_name: Jenkins session to use

Inputs: session_name. Returns: result

jenkins_get_jobB

Get detailed information about a specific Jenkins job.

Shows configuration, health, last builds, parameters, and more.

Args: job_name: Full job name (use 'folder/job-name' for jobs in folders) session_name: Jenkins session to use

Inputs: job_name (required), session_name. Returns: result

jenkins_get_job_configB

Get a job's XML configuration (config.xml).

Useful for understanding job setup, modifying, or duplicating configurations.

Args: job_name: Full job name session_name: Jenkins session to use

Inputs: job_name (required), session_name. Returns: result

jenkins_get_last_buildC

Get information about the last build of a job.

Args: job_name: Full job name session_name: Jenkins session to use

Inputs: job_name (required), session_name. Returns: result

jenkins_get_last_failed_buildC

Get information about the last failed build of a job.

Args: job_name: Full job name session_name: Jenkins session to use

Inputs: job_name (required), session_name. Returns: result

jenkins_get_last_successful_buildC

Get information about the last successful build of a job.

Args: job_name: Full job name session_name: Jenkins session to use

Inputs: job_name (required), session_name. Returns: result

jenkins_get_node_infoC

Get detailed information about a specific Jenkins node/agent.

Args: node_name: Node name (use '(built-in)' or '(master)' for the master node) session_name: Jenkins session to use

Inputs: node_name (required), session_name. Returns: result

jenkins_get_node_logC

Get the log output from a Jenkins node/agent.

Args: node_name: Node name session_name: Jenkins session to use

Inputs: node_name (required), session_name. Returns: result

jenkins_get_pipeline_stagesB

Get pipeline stage details and status for a pipeline build.

Shows each stage's name, status, and duration. Requires the Pipeline: REST API plugin.

Args: job_name: Pipeline job name build_number: Build number (0 = last build) session_name: Jenkins session to use

Inputs: job_name (required), build_number, session_name. Returns: result

jenkins_get_plugin_infoC

Get detailed information about a specific installed plugin.

Args: plugin_name: Plugin short name (e.g., 'git', 'pipeline-model-definition') session_name: Jenkins session to use

Inputs: plugin_name (required), session_name. Returns: result

jenkins_get_queueC

List all items currently in the Jenkins build queue.

Shows queued jobs waiting to be built, their position, and why they're waiting.

Args: session_name: Jenkins session to use

Inputs: session_name. Returns: result

jenkins_get_queue_itemA

Get details of a specific item in the build queue.

Args: queue_id: Queue item ID (from jenkins_get_queue) session_name: Jenkins session to use

Inputs: queue_id (required), session_name. Returns: result

jenkins_get_viewC

Get details about a view and list its jobs.

Args: view_name: View name session_name: Jenkins session to use

Inputs: view_name (required), session_name. Returns: result

jenkins_install_pluginB

Install a Jenkins plugin.

The plugin will be downloaded and installed. Jenkins may need a restart to activate it.

Args: plugin_name: Plugin short name (e.g., 'git', 'blueocean') version: Specific version to install (empty = latest) session_name: Jenkins session to use

Inputs: plugin_name (required), version, session_name. Returns: result

jenkins_list_available_pluginsC

Search available plugins for installation from the Jenkins Update Center.

Args: query: Search query to filter plugins (empty = list all available) session_name: Jenkins session to use

Inputs: query, session_name. Returns: result

jenkins_list_credentialsB

List all credentials stored in Jenkins.

Args: domain: Credential domain ('_' = global domain, default) store: Credential store ('system' = system store, default) session_name: Jenkins session to use

Inputs: store, domain, session_name. Returns: result

jenkins_list_folder_jobsB

List all jobs inside a Jenkins folder (recursive).

Args: folder_path: Folder path (e.g., 'my-folder' or 'parent/child-folder') session_name: Jenkins session to use

Inputs: folder_path (required), session_name. Returns: result

jenkins_list_jobsA

List all Jenkins jobs, optionally within a specific folder.

Shows job name, type, color/status, and URL for each job.

Args: folder: Folder path to list jobs from (empty = root level) session_name: Jenkins session to use (default: 'default')

Inputs: folder, session_name. Returns: result

jenkins_list_nodesB

List all Jenkins nodes/agents with their status.

Shows node name, status (online/offline), executors, and labels.

Args: session_name: Jenkins session to use

Inputs: session_name. Returns: result

jenkins_list_pluginsA

List all installed Jenkins plugins with version and status.

Args: session_name: Jenkins session to use

Inputs: session_name. Returns: result

jenkins_list_viewsC

List all Jenkins views.

Args: session_name: Jenkins session to use

Inputs: session_name. Returns: result

jenkins_quiet_downA

Put Jenkins into quiet-down mode (no new builds will be started).

Running builds will continue but no new builds will be queued. Useful before maintenance or restart.

Args: session_name: Jenkins session to use

Inputs: session_name. Returns: result

jenkins_rename_jobC

Rename a Jenkins job.

Args: job_name: Current job name new_name: New name for the job session_name: Jenkins session to use

Inputs: job_name (required), new_name (required), session_name. Returns: result

jenkins_replay_pipelineA

Replay a pipeline build, optionally with a modified Groovy script.

This re-runs a pipeline build, allowing you to edit the pipeline script without modifying the Jenkinsfile.

Args: job_name: Pipeline job name build_number: Build number to replay script: Modified pipeline script (empty = use original script) session_name: Jenkins session to use

Inputs: job_name (required), build_number (required), script, session_name. Returns: result

jenkins_restartA

Restart the Jenkins server.

Args: safe: If True (default), waits for running builds to finish before restarting. If False, restarts immediately (may abort running builds). session_name: Jenkins session to use

Inputs: safe, session_name. Returns: result

jenkins_run_groovy_scriptA

Execute a Groovy script on the Jenkins Script Console.

⚠️ This is a powerful admin tool. Scripts run with full Jenkins access.

Common scripts:

  • List all jobs: 'Jenkins.instance.items.each { println it.name }'

  • Get Jenkins version: 'println Jenkins.instance.version'

  • List users: 'Jenkins.instance.securityRealm.getAllUsers().each { println it.id }'

Args: script: Groovy script to execute session_name: Jenkins session to use

Inputs: script (required), session_name. Returns: result

jenkins_save_credentialsB

Save Jenkins credentials for a session name (persisted to disk for future use).

Saved credentials are used for auto-connect and future sessions.

Args: session_name: Name to save these credentials under url: Jenkins server URL username: Jenkins username api_token: Jenkins API token

Inputs: url (required), session_name (required), username, api_token. Returns: result

jenkins_statusB

Show connection status and Jenkins system overview.

Displays active sessions, Jenkins version, executor info, and job counts.

Args: session_name: Session to check (default: 'default')

Inputs: session_name. Returns: result

jenkins_stop_buildC

Abort/stop a running build.

Args: job_name: Full job name build_number: Build number to stop (0 = last build) session_name: Jenkins session to use

Inputs: job_name (required), build_number, session_name. Returns: result

jenkins_system_infoC

Get comprehensive Jenkins system information.

Shows version, JVM info, system properties, and environment overview.

Args: session_name: Jenkins session to use

Inputs: session_name. Returns: result

jenkins_update_job_configB

Update a job's XML configuration (config.xml).

⚠️ This replaces the entire job configuration.

Args: job_name: Full job name config_xml: New XML configuration content session_name: Jenkins session to use

Inputs: job_name (required), config_xml (required), session_name. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 53 tools

    Disambiguation4/5

    Most tools are clearly distinct, targeting specific resource-action pairs (jobs, builds, nodes, views, credentials, plugins, queue). A few could cause minor confusion, such as jenkins_get_queue vs jenkins_get_queue_item, or jenkins_get_job vs jenkins_get_job_config, but the descriptions differentiate them well. The session management tools are also well-separated.

    Naming Consistency4/5

    The uniform 'jenkins_' prefix and verb_noun pattern (get_job, create_job, delete_job, enable_job) are highly consistent throughout. Minor deviations exist like jenkins_system_info vs the expected jenkins_get_system, and jenkins_run_groovy_script doesn't follow verb_noun for a specific resource, but the pattern is otherwise strong.

    Tool Count2/5

    At 53 tools, this is substantial for a CI/CD server. While Jenkins is a large domain covering jobs, builds, nodes, views, credentials, plugins, queue, and system operations, the volume is heavy and could overwhelm an agent. Some tools like jenkins_get_last_build, jenkins_get_last_successful_build, and jenkins_get_last_failed_build could arguably be consolidated, but the breadth generally tracks the genuine complexity of Jenkins.

    Completeness5/5

    Coverage is exceptionally comprehensive. The tool set spans job lifecycle (create/get/update/delete/copy/rename/enable/disable), build operations (build/info/log/stop/delete/last variants), node management, views, credentials, plugins, the build queue, and system administration. The only minor gaps are niche operations like credential updates or job-level artifact downloads, but nothing that would create dead ends in core workflows.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      A Model Context Protocol server that enables AI assistants to interact with Jenkins CI/CD servers, providing tools to check build statuses, trigger builds, and retrieve build logs.
      3
      15
      MIT
    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      A Model Context Protocol (MCP) server that enables AI tools like chatbots to interact with and control Jenkins, allowing users to trigger jobs, check build statuses, and perform other Jenkins operations through natural language.
      MIT
    • A
      license
      B
      quality
      C
      maintenance
      A server that enables interaction with Jenkins CI/CD pipelines from any compatible MCP client (like Claude Desktop), allowing users to manage jobs, builds, coverage reports, and other Jenkins functionality through natural language.
      11
      500 npm
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      MCP server that connects AI agents to Jenkins, supporting stdio and HTTP transports with tools for jobs, builds, logs, and queue management.
      9
      MIT