About Jenkins
Jenkins is an MCP server published by lanbaoshen in the AI category: the Model Context Protocol (MCP) is an open-source implementation that bridges Jenkins with AI language models following Anthropic's MCP specification. This project enables secure, contextual AI interactions with Jenkins tools while maintaining data privacy and security. Conduid read 36 tools from its source: build_item, cancel_queue_item, get_all_build_artifacts, get_all_items, get_all_nodes, get_all_plugins and 30 more. No package is published for it, so it installs from a source checkout.
The repository has 166 stars and 76 forks, is licensed MIT, and its last commit was on 16 Nov 2026. The latest release is v3.6.0 (13 Oct 2026). It follows v3.5.0 (28 Aug 2026), and the 5 most recent releases go back to v3.2.0 (21 Apr 2026). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include jenkins and jenkins-mcp.
Install
git clone https://github.com/lanbaoshen/mcp-jenkinsTools (36)
build_itemBuild a item.| Parameter | Type | Description |
|---|---|---|
| build_type * | string | If your item is configured with parameters, you must use 'buildWithParameters' as build_type. |
| data | object | The parameters to trigger the build with. Required if build_type is 'buildWithParameters'. |
| fullname * | string | The fullname of the item |
cancel_queue_itemCancel a specific queue item by ID.| Parameter | Type | Description |
|---|---|---|
| id * | integer | The id of the queue item |
get_all_build_artifactsList the artifacts of a specific build.| Parameter | Type | Description |
|---|---|---|
| fullname * | string | The fullname of the job |
| number | integer | The number of the build, if None, get the last build |
get_all_itemsGet all items in Jenkins.get_all_nodesGet all nodes in Jenkins.get_all_pluginsGet all installed plugins.| Parameter | Type | Description |
|---|---|---|
| depth | integer | The depth of the information to retrieve. Default is 2 (includes dependencies). |
get_all_queue_itemsGet all queue items in Jenkins.get_all_viewsGet the configuration of a specific view.get_buildGet a specific build by job name and build number.| Parameter | Type | Description |
|---|---|---|
| fullname * | string | The fullname of the job |
| number | integer | The number of the build, if None, get the last build |
get_build_artifactDownload an artifact from a specific build.| Parameter | Type | Description |
|---|---|---|
| fullname * | string | The fullname of the job |
| number | integer | The number of the build, if None, get the last build |
| relative_path * | string | The relative path of the artifact (e.g. playwright-report/index.html) |
get_build_artifact_urlGet the direct URL of an artifact from a specific build.| Parameter | Type | Description |
|---|---|---|
| fullname * | string | The fullname of the job |
| number | integer | The number of the build, if None, get the last build |
| relative_path * | string | The relative path of the artifact (e.g. playwright-report/index.html) |
get_build_console_outputGet the console output of a specific build.| Parameter | Type | Description |
|---|---|---|
| fullname * | string | The fullname of the job |
| limit | integer | Maximum number of lines to return after filtering and offset |
| number | integer | The number of the build, if None, get the last build |
| offset | integer | Number of lines to skip from the beginning after filtering, default 0 |
| pattern | string | Optional regex pattern to filter lines (only matching lines are returned) |
get_build_parametersGet the parameters of a specific build.| Parameter | Type | Description |
|---|---|---|
| fullname * | string | The fullname of the job |
| number | integer | The number of the build, if None, get the last build |
get_build_scriptsGet scripts associated with a specific build.| Parameter | Type | Description |
|---|---|---|
| fullname * | string | The fullname of the job |
| number | integer | The number of the build, if None, get the last build |
get_build_test_failuresGet the failing tests of a specific build.| Parameter | Type | Description |
|---|---|---|
| fullname * | string | The fullname of the job |
| limit | integer | Maximum number of failures to return, None for all of them |
| max_stack_trace_length | integer | Stack traces longer than this are cut to this many characters |
| number | integer | The number of the build, if None, get the last build |
get_build_test_reportGet the test report of a specific build.| Parameter | Type | Description |
|---|---|---|
| fullname * | string | The fullname of the job |
| number | integer | The number of the build, if None, get the last build |
get_itemGet a specific item by name.| Parameter | Type | Description |
|---|---|---|
| fullname * | string | The fullname of the item |
get_item_configGet the configuration of a specific item.| Parameter | Type | Description |
|---|---|---|
| fullname * | string | The fullname of the item |
get_item_parametersGet the parameters of a specific item.| Parameter | Type | Description |
|---|---|---|
| fullname * | string | The fullname of the item |
get_nodeGet a specific node by name.| Parameter | Type | Description |
|---|---|---|
| name * | string | The name of the node |
get_node_configGet the configuration of a specific node.| Parameter | Type | Description |
|---|---|---|
| name * | string | The name of the node |
get_pending_inputsGet the pending input steps of a build paused for input.| Parameter | Type | Description |
|---|---|---|
| fullname * | string | The fullname of the job |
| number | integer | The number of the build, if None, check the last build |
get_pluginGet a specific plugin by short name.| Parameter | Type | Description |
|---|---|---|
| depth | integer | The depth of the information to retrieve. Default is 2 (includes dependencies). |
| short_name * | string | The short name of the plugin |
get_plugin_dependency_graphGet dependency graph for a plugin in Graphviz format.| Parameter | Type | Description |
|---|---|---|
| short_name * | string | The short name of the plugin to analyze |
get_plugins_with_backupGet plugins that can be downgraded.| Parameter | Type | Description |
|---|---|---|
| depth | integer | The depth of the information to retrieve. Default is 0. |
get_plugins_with_problemsGet plugins with problems (missing dependencies, version mismatch, etc.).get_plugins_with_updatesGet plugins that have available updates.| Parameter | Type | Description |
|---|---|---|
| depth | integer | The depth of the information to retrieve. Default is 0. |
get_queue_itemGet a specific queue item by ID.| Parameter | Type | Description |
|---|---|---|
| id * | integer | The id of the queue item |
get_running_buildsGet all currently running builds in Jenkins.get_viewGet a specific view by name.| Parameter | Type | Description |
|---|---|---|
| depth | integer | Depth of detail to retrieve for each job. Default is 0. |
| view_path * | string | View path using "/" to separate levels. Examples: "All", "frontend", "frontend/nightly". Spaces and special characters in view names are handled automatically. |
query_itemsQuery items based on pattern.| Parameter | Type | Description |
|---|---|---|
| class_pattern | string | The pattern of the _class |
| color_pattern | string | The pattern of the color |
| folder_depth | integer | The maximum depth of folders to traverse. If None, traverses all levels. |
| fullname_pattern | string | The pattern of the fullname |
run_groovy_scriptExecute an arbitrary Groovy script on Jenkins.| Parameter | Type | Description |
|---|---|---|
| script * | string | The Groovy script code to execute. |
set_item_configSet specific item config in Jenkins| Parameter | Type | Description |
|---|---|---|
| config_xml * | string | The config XML of the item |
| fullname * | string | The fullname of the item |
set_node_configSet specific node config in Jenkins| Parameter | Type | Description |
|---|---|---|
| config_xml * | string | The config XML of the node |
| name * | string | The name of the node |
stop_buildStop a specific build by job name and build number.| Parameter | Type | Description |
|---|---|---|
| fullname * | string | The fullname of the job |
| number * | integer | The number of the build to stop |
submit_inputProceed with or abort a pipeline input step of a build.| Parameter | Type | Description |
|---|---|---|
| action | string | 'proceed' to continue the pipeline, 'abort' to reject the input and abort the build |
| fullname * | string | The fullname of the job |
| input_id | string | The id of the pending input, if None, resolved automatically when exactly one is pending |
| number * | integer | The number of the paused build, use get_pending_inputs to confirm its pending input (and get_running_builds to locate a paused build that is not the job's last one) |
| parameters | object | A mapping of parameter name to value, e.g. {'APPROVE': True, 'TARGET': 'prod'} |
Security checks
Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.1K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by uv.lock.
- ✓No dynamic code executionScanned 19 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdio, Streamable HTTP and HTTP with SSEsrc/mcp_jenkins/__init__.py:68, src/mcp_jenkins/__init__.py:68, src/mcp_jenkins/__init__.py:68
- Starts other programs
- No calls that start other programs
- Outbound network calls
- 1 callsrc/mcp_jenkins/jenkins/rest_client.py:52
- Writes or deletes files
- No file writes or deletes
- Lockfile
- uv.lock
Pattern matches on the source text of 19 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 1.1K words, fetched a month ago. The original in the repository is authoritative.
Read full README