ProgrammerAgua/jenkins-mcp-server
Built by Metorial, the integration platform for agentic AI.
ProgrammerAgua/jenkins-mcp-server
Server Summary
Create jobs
Delete jobs
Enable/disable jobs
Trigger builds
Stop builds
Retrieve job information
Get build logs
Update job configurations
English | 中文
This is a MCP Server service based on Spring AI for Jenkins Rest API calls, providing common operation interfaces for Jenkins jobs.
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:
mvn package
After a successful build, a file named mcp-jenkins-server-0.0.1-SNAPSHOT.jar
will be generated in the /target
directory. Use the full path to this file in your mcp.json
configuration:
{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"
}
}
}
}