概览
what is MCP Jenkins Server?
MCP Jenkins Server is a Model Context Protocol (MCP) server that provides integration tools for Jenkins, allowing users to interact with their Jenkins server programmatically.
how to use MCP Jenkins Server?
To use the MCP Jenkins Server, clone the repository, install the required dependencies, and configure your Jenkins credentials in a .env file. You can then run the server and use the provided CLI configuration to interact with Jenkins.
key features of MCP Jenkins Server?
- Retrieve Jenkins server information
- List and inspect Jenkins jobs
- Access recent builds and their summaries
- Get detailed build information and console output
- Manage Jenkins views
- Trigger job builds with parameters
use cases of MCP Jenkins Server?
- Automating Jenkins job management
- Monitoring build statuses and outputs
- Integrating Jenkins with other tools and workflows
FAQ from MCP Jenkins Server?
- What are the requirements to run MCP Jenkins Server?
You need Python 3.10+, a Jenkins server with API access, and a Jenkins API token for authentication.
- How do I install MCP Jenkins Server?
Clone the repository and run
pip install -r requirements.txtto install the dependencies.
- Can I trigger Jenkins jobs with parameters?
Yes! You can trigger job builds with optional parameters using the
trigger_job_buildtool.