MCP Jenkins
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| JENKINS_URL | No | The URL of the Jenkins server. (Http app can set it via headers x-jenkins-url) | |
| JENKINS_TIMEOUT | No | Timeout for Jenkins API requests in seconds. Default is 5 seconds. | 5 |
| JENKINS_PASSWORD | No | The password or API token for Jenkins authentication. (Http app can set it via headers x-jenkins-password) Set it together with the username, or leave both unset to access Jenkins anonymously: what the server can then do is decided by the anonymous user's permissions in Jenkins. | |
| JENKINS_USERNAME | No | The username for Jenkins authentication. (Http app can set it via headers x-jenkins-username) Set it together with the password, or leave both unset to access Jenkins anonymously. | |
| JENKINS_VERIFY_SSL | No | Whether to verify SSL certificates when connecting to Jenkins. Default is to verify. | true |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": true
} |
| resources | {
"subscribe": false,
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_running_buildsB | Get all running builds from Jenkins |
| list_buildsA | List the most recent builds of a job in Jenkins, newest first |
| get_buildC | Get specific build info from Jenkins |
| get_build_scriptsB | Get the scripts used in a specific build in Jenkins |
| get_build_console_outputC | Get the console output of a specific build in Jenkins |
| get_build_test_reportA | Get the test report of a specific build in Jenkins The report lists every test case, passing ones included, so it can be very large; use get_build_test_failures to see what failed. |
| get_build_test_failuresA | Get the failing tests of a specific build in Jenkins, with their error details For a matrix build, the failures of all configurations are returned, each with the URL of its configuration build. |
| get_build_parametersC | Get the parameters of a specific build in Jenkins |
| get_pending_inputsA | Get the pending input steps of a specific build in Jenkins A pipeline showing "Paused for Input" is waiting on an input step. This lists the input id and the parameter definitions the pipeline is waiting for. Only the given build is inspected. With number=None that is the job's last build, so a paused build that is no longer the most recent one is not found that way — locate it with get_running_builds and pass its number explicitly. |
| get_all_build_artifactsC | List the artifacts of a specific build in Jenkins |
| get_build_artifactB | Download an artifact from a specific build in Jenkins Binary files are returned as base64-encoded content; text files are returned as plain text. |
| get_build_artifact_urlC | Get the direct URL of an artifact from a specific build in Jenkins |
| get_all_itemsA | Get all items from Jenkins, compact: prefer query_items with a filter on a large instance |
| get_itemC | Get specific item from Jenkins |
| get_item_configA | Get specific item config from Jenkins Secret-looking values (encrypted secrets, password/token elements, inline NAME=value assignments for password/token/secret/key variables) are replaced with [REDACTED]. Credential ids are kept. |
| query_itemsC | Query items from Jenkins, compact |
| get_jobs_statusA | Last build of every job matching a pattern, in one call (use this instead of list_builds per job) |
| get_item_summaryA | Summarise a job's configuration: repo and branch, steps, triggers, parameters, downstream jobs A fraction of get_item_config. Secret-looking values are redacted, credential ids and long scripts are not reproduced. Use get_item_config only when you need the exact XML. |
| get_item_parametersC | Get the parameter definitions of a Jenkins job |
| get_all_nodesB | Get all nodes from Jenkins |
| get_nodeB | Get a specific node from Jenkins Contains executor about the node. |
| get_all_pluginsB | Get all installed plugins from Jenkins |
| get_pluginB | Get a specific plugin from Jenkins Contains detailed information about the plugin, including dependencies when depth >= 2. |
| get_plugins_with_problemsA | Get all plugins with problems from Jenkins These are plugins that have issues such as missing dependencies, incompatible versions, core version mismatch, or other configuration problems. |
| get_plugins_with_backupA | Get plugins that can be downgraded Returns plugins that have a backupVersion and can be rolled back. |
| get_plugins_with_updatesC | Get plugins that have available updates |
| get_plugin_dependency_graphB | Get dependency graph for a specific plugin in Graphviz format Recursively analyzes dependencies down to leaf nodes. Returns nodes and edges that can be used to generate a dependency graph. |
| get_all_queue_itemsA | Get all items in Jenkins queue, each with the job it belongs to (name and url) |
| get_queue_itemC | Get a specific item in Jenkins queue by id |
| get_all_viewsB | Get all top-level views from Jenkins. |
| get_viewA | Get a Jenkins view by path, returning its jobs and/or nested sub-views. Views can be nested up to multiple levels deep. Use "/" to separate levels in the path. If the view contains sub-views instead of jobs, the response will include their names so you can drill down further. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 31 tools
Most tools target clearly distinct Jenkins resources: builds, nodes, plugins, queue items, views, items, and artifacts. A few read-only item tools (get_all_items, query_items, get_item, get_item_config, get_item_summary) and build-listing tools (list_builds, get_jobs_status) could be confused, but descriptions provide useful guidance.
All tool names are snake_case and consistently verb-first, using get_, list_, or query_ prefixes with noun phrases. The pattern is predictable across builds, items, nodes, plugins, queue, and views.
31 tools is heavy for this surface, with many granular build-inspection getters (scripts, console output, test report, test failures, parameters, inputs, artifacts) that could be consolidated. Although Jenkins is broad, the count exceeds the practical 25+ threshold.
The surface is entirely read-only, offering no operations to trigger builds, stop builds, cancel queue items, update job configs, or manage plugins. Read coverage is broad, but lifecycle/action coverage is severely missing for a Jenkins management server.