Enables interaction with Jenkins CI/CD servers, providing tools to retrieve server information, manage jobs and views, access build details and console outputs, and trigger job builds with parameters.
# MCP Jenkins Server
A Model Context Protocol (MCP) server that provides Jenkins integration tools.
Features
- Get Jenkins server information
- List and inspect Jenkins jobs
- Get recent builds and their summaries
- Get build information and console output
- Manage Jenkins views
- Trigger job builds with parameters
Requirements
- Python 3.10+
- Jenkins server with API access
- Jenkins API token for authentication
Installation
- Clone this repository
- Install dependencies:
Configuration
Create a .env
file with your Jenkins credentials:
CLI Configuration
To add this MCP server to your CLI, use the following configuration: Change 'Support/Claude/claude_desktop_config.json' file content to :
Available Tools
This MCP server provides the following tools:
get_jenkins_info
Get Jenkins server information
list_jobs
List all Jenkins jobs
get_job_info
Get information about a specific job
- Parameters:
job_name
: Name of the job to inspect
get_last_builds
Get a summary of the most recent builds for a job
- Parameters:
job_name
: Name of the jobcount
(optional): Number of recent builds to retrieve (default: 3)
get_build_info
Get detailed information about a specific build
- Parameters:
job_name
: Name of the jobbuild_number
: Build number to inspect
get_build_console_output
Get console output for a specific build
- Parameters:
job_name
: Name of the jobbuild_number
: Build number to inspect
get_views
List all Jenkins views
trigger_job_build
Trigger a Jenkins job build with optional parameters
- Parameters:
job_name
: Name of the jobparameters
(optional): Dictionary of parameters to pass to the job
demo video :
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
An integration tool that allows interaction with Jenkins CI/CD servers through a Model Context Protocol interface, enabling users to view server info, manage jobs, inspect builds, and trigger builds with parameters.
Related MCP Servers
- AsecurityAlicenseAqualityEnables managing Jenkins operations like listing jobs, triggering builds, and checking build statuses through a configurable MCP server.Last updated -38PythonApache 2.0
- AsecurityAlicenseAqualityA Model Context Protocol server that enables AI assistants to interact with Jenkins CI/CD servers, providing tools to check build statuses, trigger builds, and retrieve build logs.Last updated -310JavaScriptMIT License
- -securityAlicense-qualityA Model Context Protocol (MCP) server that enables AI tools like chatbots to interact with and control Jenkins, allowing users to trigger jobs, check build statuses, and perform other Jenkins operations through natural language.Last updated -PythonMIT License
- AsecurityFlicenseAqualityA server that enables interaction with Jenkins CI/CD pipelines from any compatible MCP client (like Claude Desktop), allowing users to manage jobs, builds, coverage reports, and other Jenkins functionality through natural language.Last updated -1114TypeScript