Jenkins Mcp

by ProgrammerAgua

3 stars
167 downloads
Not rated
GitHub

Description

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 operation interfaces for Jenkins jobs. ## Features - Job Management: Create, delete, enable/disable, rename jobs - Job Building…

About

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 operation interfaces for Jenkins jobs. ## Features - Job Management: Create, delete, enable/disable, rename jobs - Job Building: Trigger builds, build with parameters…

Details

Author
ProgrammerAgua
GitHub stars
3
Downloads
167
Categories
Developer Tools, Infrastructure, Other

- Create, delete, enable, disable, and rename jobs
- Trigger builds with or without parameters
- Stop running builds
- Retrieve job info, build info, and build logs
- Get and update job configuration XML
- Get last build number and timestamp

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Jenkins Mcp
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Clone the repository, run mvn package to build the JAR, then configure your mcp.json with the full path to the JAR and set three environment variables: JENKINS_API_SERVER_URI, JENKINS_API_USERNAME, and JENKINS_API_TOKEN. Launch the server with java -jar <path-to-jar>.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "jenkins mcp": {
            "jenkins-mcp": {
                "command": "java",
                "args": [
                    "-jar",
                    "<YOUR_PATH>\\mcp-jenkins-server-0.0.1-SNAPSHOT.jar"
                ],
                "env": {
                    "JENKINS_API_SERVER_URI": "<YOUR_JENKINS_URI>",
                    "JENKINS_API_USERNAME": "<YOUR_USERNAME>",
                    "JENKINS_API_TOKEN": "<YOUR_PASSWORD_OR_TOKEN>"
                }
            }
        }
    }
}

McpServers

{
    "jenkins-mcp": {
        "command": "java",
        "args": [
            "-jar",
            "<YOUR_PATH>\\mcp-jenkins-server-0.0.1-SNAPSHOT.jar"
        ],
        "env": {
            "JENKINS_API_SERVER_URI": "<YOUR_JENKINS_URI>",
            "JENKINS_API_USERNAME": "<YOUR_USERNAME>",
            "JENKINS_API_TOKEN": "<YOUR_PASSWORD_OR_TOKEN>"
        }
    }
}

This is a MCP Server service based on Spring AI for Jenkins Rest API calls, providing common operation interfaces for Jenkins jobs.

- 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

- Spring Boot 3.3.6
- Jenkins REST API Client
- Spring AI MCP Server

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

Clone the repository and navigate to the project directory:

git clone [repository-url] cd jenkins-mcp-server

Before running the project, you need to package it using Maven:

After a successful build, a file namedmcp-jenkins-server-0.0.1-SNAPSHOT.jarwill be generated in the/targetdirectory. Use the full path to this file in yourmcp.jsonconfiguration:

{your_path}\\mcp-jenkins-server-0.0.1-SNAPSHOT.jar
{ "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": "password/token" } } } }

- createJob : Create a new Jenkins job
- deleteJob : Delete an existing Jenkins job
- enableJob : Enable a disabled Jenkins job
- disableJob : Disable an enabled Jenkins job
- renameJob : Rename an existing Jenkins job

- buildJob : Trigger a build for a Jenkins job
- buildJobWithParams : Trigger a build with parameters
- killJob : Stop a running build

- getJobInfo : Get detailed information about a job
- getBuildInfo : Get information about a specific build
- getBuildLog : Get the console output of a build
- getLastBuildNumber : Get the last build number
- getLastBuildTimestamp : Get the timestamp of the last build

- getJobConfig : Get the configuration XML of a job
- updateJobConfig : Update the configuration of a job

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

Access and interact with Harness platform data, including pipelines, repositories, logs, and artifact registries.

An SSE-based MCP server that allows LLM-powered applications to interact with OCI registries. It provides tools for retrieving information about container images, listing tags, and more.

The Octopus MCP Server provides your AI assistant with powerful tools that allow it to inspect, query, and diagnose problems within your Octopus instance, transforming it into your ultimate DevOps wingmate.

The Railway MCP Server enables natural language interaction with your Railway projects and infrastructure. Ask your IDE or AI assistant to create projects, deploy templates, manage environments, pull variables, redeploy services, and more.

The Shipyard CLI provides an MCP server for agents to manage Shipyard environments directly: by pulling logs, comparing branches, running tests, and stopping/starting environments..

MCP server for managing Unleash feature flags and automate best practices.

A server for automated provisioning, supporting both local and remote communication protocols.

Integrates with AWS CodePipeline to manage continuous integration and delivery pipelines.

Manage apps, builds, and artifacts on Bitrise, a Continuous Integration and Delivery (CI/CD) platform.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.