Provides tools for interacting with Jenkins CI/CD systems, including retrieving job information, searching jobs, accessing build data, viewing job configurations, and triggering builds with parameters.
MCP Jenkins
The Model Context Protocol (MCP) is an open-source implementation that bridges Jenkins with AI language models following Anthropic's MCP specification. This project enables secure, contextual AI interactions with Jenkins tools while maintaining data privacy and security.
Cursor Demo
Setup Guide
Installation
Choose one of these installation methods:
Configuration and Usage
Cursor
- Open Cursor Settings
- Navigate to MCP
- Click + Add new global MCP server
This will create or edit the ~/.cursor/mcp.json file with your MCP server configuration.
VSCode Copilot Chat
- Create
.vscode
folder withmcp.json
file in you workspace for local setup or editsettings.json
trough settings menù. - Insert the following configuration:
- Run the Jenkins MCP server with the following command:
line arguments
AutoGen
Install autogen:
Run python scripts:
Available Tools
Tool | Description |
---|---|
get_all_jobs | Get all jobs |
get_job_config | Get job config |
search_jobs | Search job by specific field |
get_running_builds | Get running builds |
stop_build | Stop running build |
get_build_info | Get build info |
get_build_sourcecode | Get the pipeline source code of a specific build in Jenkins |
get_job_info | Get job info |
build_job | Build a job with param |
get_build_logs | Get build logs |
get_all_nodes | Get nodes |
get_node_config | Get the config of node |
get_all_queue_items | Get all queue items |
get_queue_item | Get queue item info |
cancel_queue_item | Cancel queue item |
get_multibranch_jobs | Get all multibranch pipeline jobs from Jenkins, optionally filtered by patterns |
get_multibranch_branches | Get all branches for a specific multibranch pipeline job |
scan_multibranch_pipeline | Trigger a scan of a multibranch pipeline to discover new branches |
Development & Debugging
Pre-Commit Hook
UT
License
Licensed under MIT - see LICENSE file. This is not an official Jenkins product.
MCP-Jenkins in MCP Registries
- https://mcpreview.com/mcp-servers/lanbaoshen/mcp-jenkins
- https://smithery.ai/server/@lanbaoshen/mcp-jenkins
- https://glama.ai/mcp/servers/@lanbaoshen/mcp-jenkins
- https://mseep.ai/app/lanbaoshen-mcp-jenkins
Star History
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.
The Model Context Protocol (MCP) Jenkins integration is an open-source implementation that bridges Jenkins with AI language models following Anthropic's MCP specification. This project enables secure, contextual AI interactions with Jenkins tools while maintaining data privacy and security.
Related MCP Servers
- -securityFlicense-qualityFacilitates interaction and context sharing between AI models using the standardized Model Context Protocol (MCP) with features like interoperability, scalability, security, and flexibility across diverse AI systems.Last updated -1
Upstash MCP Serverofficial
AsecurityAlicenseAqualityModel Context Protocol (MCP) is a new, standardized protocol for managing context between large language models (LLMs) and external systems. In this repository, we provide an installer as well as an MCP Server for Upstash Developer API's.Last updated -168248MIT License- -securityAlicense-qualityAn open-source implementation of the Model Context Protocol (MCP) that bridges AI agents with enterprise systems, enabling secure access to real-world data and capabilities.Last updated -2Apache 2.0
- AsecurityFlicenseAqualityAn all-in-one Model Context Protocol (MCP) server that connects your coding AI to numerous databases, data warehouses, data pipelines, and cloud services, streamlining development workflow through seamless integrations.Last updated -3