MCP Jenkins Server
MCP Jenkins Server
Ein Model Context Protocol (MCP)-Server, der Jenkins-Integrationstools bereitstellt.
Merkmale
Abrufen von Jenkins-Serverinformationen
Auflisten und Überprüfen von Jenkins-Jobs
Aktuelle Builds und deren Zusammenfassungen abrufen
Abrufen von Build-Informationen und Konsolenausgabe
Verwalten von Jenkins-Ansichten
Auslösen von Job-Builds mit Parametern
Related MCP server: Jenkins MCP Server
Anforderungen
Python 3.10+
Jenkins-Server mit API-Zugriff
Jenkins API-Token zur Authentifizierung
Installation
Dieses Repository klonen
Installieren Sie Abhängigkeiten:
pip install -r requirements.txt
Konfiguration
Erstellen Sie eine .env Datei mit Ihren Jenkins-Anmeldeinformationen:
JENKINS_URL=https://your-jenkins-server
JENKINS_USER=your-username
JENKINS_TOKEN=your-api-tokenCLI-Konfiguration
Um diesen MCP-Server zu Ihrer CLI hinzuzufügen, verwenden Sie die folgende Konfiguration: Ändern Sie den Inhalt der Datei „Support/Claude/claude_desktop_config.json“ in:
{
"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": []
}
}
}Verfügbare Tools
Dieser MCP-Server bietet die folgenden Tools:
get_jenkins_info
Abrufen von Jenkins-Serverinformationen
list_jobs
Alle Jenkins-Jobs auflisten
get_job_info
Informieren Sie sich über einen bestimmten Job
Parameter:
job_name: Name des zu prüfenden Jobs
get_last_builds
Erhalten Sie eine Zusammenfassung der neuesten Builds für einen Job
Parameter:
job_name: Name des Jobscount(optional): Anzahl der abzurufenden aktuellen Builds (Standard: 3)
get_build_info
Erhalten Sie detaillierte Informationen zu einem bestimmten Build
Parameter:
job_name: Name des Jobsbuild_number: Zu prüfende Buildnummer
get_build_console_output
Abrufen der Konsolenausgabe für einen bestimmten Build
Parameter:
job_name: Name des Jobsbuild_number: Zu prüfende Buildnummer
get_views
Alle Jenkins-Ansichten auflisten
trigger_job_build
Lösen Sie einen Jenkins-Job-Build mit optionalen Parametern aus
Parameter:
job_name: Name des Jobsparameters(optional): Wörterbuch der Parameter, die an den Job übergeben werden sollen
Demo-Video:
This server cannot be deployed
Maintenance
Related MCP Connectors
The Buildkite MCP server exposes Buildkite product data (pipelines, builds, jobs, and test data) to AI tools, editors, and agents through the Model Context Protocol. It provides capabilities including pipeline creation and management, build monitoring with specialized tools like 'wait_for_build', efficient log querying using Apache Parquet conversion and caching, and OAuth-based authentication for both read-write and read-only access to Buildkite's REST API.
MCP Server for JFrog, providing tools for development and artifact management.
The Cortex MCP server provides read-only access to real-time engineering context from the Cortex developer portal, allowing AI coding assistants to answer natural language questions about your organization's catalog (microservices, libraries, domains, teams, infrastructure), scorecards (engineering standards and best practices), initiatives (goals and deadlines), and Engineering Intelligence metrics. It includes tools for querying documentation, tracking personal entities, and accessing AI-assisted insights across the entire Cortex ecosystem.
Agentic CI operations for build inspection, failure diagnosis, and runner troubleshooting.
Related MCP Servers
- AlicenseBqualityCmaintenanceA 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.315MIT
- AlicenseNot gradedqualityNot gradedmaintenanceA 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.MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server for interacting with a Jenkins CI/CD server. Allows you to trigger jobs, check build statuses, and manage your Jenkins instance through MCP.21 npm14Apache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables interaction with Jenkins instances to manage jobs, builds, and nodes through the Model Context Protocol. It provides capabilities to trigger builds, read console outputs, and search log sections using regular expressions.512 npmMIT