jenkins-mcp-server
Provides access to Jenkins job configurations, build history, and status information; enables triggering builds, updating job configurations, and managing Jenkins tasks.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@jenkins-mcp-servertrigger a build on the main pipeline"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Jenkins MCP Server
A Model Context Protocol (MCP) server that provides access to Jenkins data and functionality through a standardized interface for LLMs.
Overview
This project implements an MCP server that connects to Jenkins instances, allowing Large Language Models to:
Access Jenkins job data as resources
Execute Jenkins-related operations through tools
Utilize predefined prompts for common Jenkins interactions
Related MCP server: Jenkins MCP Server
Installation
Prerequisites
Python 3.8+
Access to a Jenkins instance
Setting up with uv
We recommend using uv for managing Python environments:
# Install uv if you haven't already
curl -sSf https://install.ultraviolet.dev | sh
# Create a new project
uv init jenkins-mcp-server
cd jenkins-mcp-server
# Add dependencies
uv add "mcp[cli]"
uv add python-jenkinsEnvironment Variables
Create a .env file with your Jenkins configuration:
# Create .env file
cat > .env << EOL
JENKINS_URL=https://your-jenkins-instance.com
JENKINS_USERNAME=your_username
JENKINS_API_TOKEN=your_api_token
EOL
# Load environment variables in your shell
source .envUsage
Running the server
Start the server in development mode with:
uv run mcp dev server.pyFeatures
Resources: Access Jenkins job configurations, build history, and status information
Tools: Trigger builds, update job configurations, and manage Jenkins tasks
Prompts: Pre-defined interaction patterns for common Jenkins operations
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
This server cannot be deployed
Maintenance
Related MCP Connectors
Connect AI agents to CloudBees Unify: feature flags, CI/CD, release orchestration, and security
- mcp-serverOAuthcom.make
Give your AI agents the tools to build, manage, and run automation workflows.
Provides capabilities that let LLM agents perform a range of infrastructure management tasks.
Agentic CI operations for build inspection, failure diagnosis, and runner troubleshooting.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Jenkins CI/CD systems through natural language, providing build management, job monitoring, log analysis, and debugging capabilities.MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Jenkins CI/CD systems for build management, job monitoring, console log analysis, and debugging through natural language commands.2MIT
- AlicenseNot gradedqualityDmaintenanceEnables interaction with Jenkins to manage jobs, trigger builds with parameters, and monitor build queues. It provides comprehensive access to build histories, console logs, and organizational folder structures via the Jenkins REST API.150 npm1MIT
- FlicenseNot gradedqualityDmaintenanceEnables interaction with Jenkins CI jobs, including triggering and stopping builds, retrieving job details, and fetching build logs.-