Jenkins MCP Server

English | [中文](README.zh-CN.md) # Jenkins API MCP Server This is a MCP Server service based on Spring AI for Jenkins Rest API calls, providing common

Local serverstdio

What is the Jenkins MCP Server?

English | 中文 Jenkins API MCP Server This is a MCP Server service based on Spring AI for Jenkins Rest API calls, providing common operation

The short version

  • Job Management: Create, delete, enable/disable, rename jobs
  • Job Building: Trigger builds, build with parameters, stop builds
  • Job Information: Get job info, build info, build logs
  • Job Configuration: Get and update job configurations

What it needs from you

  • JDK 17+ - Maven 3.6+ - Jenkins server (with "Remote Access API" enabled)

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Jenkins MCP Server

{
  "mcpServers": {
    "jenkins-mcp": {
      "command": "java",
      "args": [
        "-jar",
        "{your_path}\\mcp-jenkins-server-0.0.1-SNAPSHOT.jar"
      ],
      "env": {
        "JENKINS_API_SERVER_URI": "jenkins-uri",
        "JENKINS_API_USERNAME": "username",
        "JENKINS_API_TOKEN": "YOUR_JENKINS_API_TOKEN"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

  • JDK 17+ - Maven 3.6+ - Jenkins server (with "Remote Access API" enabled)
VariableDescriptionRequired
JENKINS_API_SERVER_URIDeclared in the maintainer’s client configuration.Check documentation
JENKINS_API_USERNAMEDeclared in the maintainer’s client configuration.Check documentation
JENKINS_API_TOKENDeclared in the maintainer’s client configuration.Check documentation

Example prompts to try

  • “Use Jenkins MCP to Requirements.”

Frequently asked questions

It is built with Spring Boot 3.3.6, the Spring AI MCP Server framework, and a Jenkins REST API client.