jenkins-http-mcp-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| JENKINS_URL | Yes | The URL of the Jenkins server (e.g., https://jenkins.example.com/) | |
| JENKINS_USER | Yes | The Jenkins username for authentication | |
| JENKINS_API_TOKEN | Yes | The Jenkins API token for authentication | |
| JENKINS_VERIFY_SSL | No | Whether to verify SSL certificates (1 for yes, 0 for no) | 1 |
| JENKINS_TIMEOUT_SECONDS | No | Timeout in seconds for HTTP requests to Jenkins | 30 |
| JENKINS_MCP_ENABLE_DELETE | No | Set to 1 to enable delete job tool, requires JENKINS_MCP_ENABLE_WRITES=1 and JENKINS_MCP_ENABLE_JOB_CONFIG_WRITE=1 | 0 |
| JENKINS_MCP_ENABLE_WRITES | No | Set to 1 to enable write tools (trigger build, etc.) | 0 |
| JENKINS_MCP_MAX_LOG_BYTES | No | Maximum log output size in bytes for build log tool | 200000 |
| JENKINS_MCP_MAX_RESPONSE_BYTES | No | Maximum response size in bytes for MCP tools | 2000000 |
| JENKINS_MCP_ENABLE_JOB_CONFIG_WRITE | No | Set to 1 to enable job config write tools (create, copy, update), requires JENKINS_MCP_ENABLE_WRITES=1 | 0 |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| jenkins_whoamiA | Return the authenticated Jenkins identity from /whoAmI/api/json. |
| jenkins_versionA | Return Jenkins version from the X-Jenkins response header. |
| jenkins_healthA | Return a small health snapshot from top-level Jenkins JSON and version headers. |
| jenkins_get_jsonA | GET a relative Jenkins JSON API path. Rejects external URLs and traversal. |
| jenkins_list_jobsC | List jobs visible to the Jenkins user. |
| jenkins_get_jobB | Get one job by Jenkins job path. Nested paths use slash-separated names or a list. |
| jenkins_get_job_configB | Read job config.xml. Jenkins may redact secrets without Configure permission. |
| jenkins_list_buildsC | List recent builds for a job. |
| jenkins_get_buildA | Get a build by number or Jenkins permalink such as lastBuild. |
| jenkins_get_build_logB | Get consoleText for a build, truncated by JENKINS_MCP_MAX_LOG_BYTES. |
| jenkins_get_build_artifactsC | List artifacts exported on a build JSON API response. |
| jenkins_get_test_reportC | Get /testReport/api/json when a test-report plugin such as JUnit provides it. |
| jenkins_list_queueC | List visible Jenkins queue items. |
| jenkins_get_queue_itemC | Get one Jenkins queue item by ID. |
| jenkins_list_viewsC | List Jenkins views visible to the user. |
| jenkins_get_viewC | Get one Jenkins view by name. |
| jenkins_list_nodesC | List Jenkins computers/nodes visible to the user. |
| jenkins_get_nodeA | Get one Jenkins computer/node by name. Use (built-in) for the built-in node. |
| jenkins_list_pluginsC | List installed Jenkins plugins visible through pluginManager/api/json. |
| jenkins_trigger_buildB | Trigger a non-parameterized job build. Requires JENKINS_MCP_ENABLE_WRITES=1. |
| jenkins_trigger_build_with_parametersB | Trigger a parameterized job build. Requires JENKINS_MCP_ENABLE_WRITES=1. |
| jenkins_stop_buildA | Stop a running build. Requires JENKINS_MCP_ENABLE_WRITES=1. |
| jenkins_cancel_queue_itemB | Cancel a Jenkins queue item. Requires JENKINS_MCP_ENABLE_WRITES=1. |
| jenkins_disable_jobB | Disable a job. Requires JENKINS_MCP_ENABLE_WRITES=1. |
| jenkins_enable_jobA | Enable a job. Requires JENKINS_MCP_ENABLE_WRITES=1. |
| jenkins_create_jobA | Create a top-level job from config.xml. Requires write and job-config flags. |
| jenkins_copy_jobC | Copy a top-level job. Requires write and job-config flags. |
| jenkins_update_job_configC | Replace job config.xml. Requires write and job-config flags. |
| jenkins_delete_jobB | Delete a job. Requires write, job-config, and delete flags. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| safety |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mdtahmidhossain/jenkins-http-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server