walidcd/Jenkins-Mcp-Server
If you are the rightful owner of Jenkins-Mcp-Server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
A Model Context Protocol (MCP) server that provides Jenkins integration tools.
The MCP Jenkins Server is a specialized server designed to integrate seamlessly with Jenkins, a popular open-source automation server. This server allows users to interact with Jenkins through a set of tools that facilitate the management and monitoring of Jenkins jobs and builds. It provides functionalities such as retrieving server information, listing and inspecting jobs, accessing build details and console outputs, managing views, and triggering job builds with parameters. The server requires Python 3.10 or higher and a Jenkins server with API access, including an API token for authentication. Users can configure the server by setting up a .env file with their Jenkins credentials and can integrate it into their CLI for streamlined operations.
Features
- Get Jenkins server information
- List and inspect Jenkins jobs
- Get recent builds and their summaries
- Get build information and console output
- Trigger job builds with parameters
Usages
CLI Configuration
{ "mcpServers": { "mcp-jenkins-server": { "command": "/Users/username/.local/bin/uv -> //uv full path", "args": [ "--directory", "/Users/username/Desktop/mcp-jenkins-server -> //project path ", "run", "server.py" ], "env": { "JENKINS_URL": "http://localhost:8080", "JENKINS_USERNAME": "xx", "JENKINS_PASSWORD": "xx" }, "disabled": false, "autoApprove": [] } } }