MCP Jenkins Server

by WinJayX

Integrations

  • 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

  1. Clone this repository
  2. Install dependencies:
    pip install -r requirements.txt

Configuration

Create a .env file with your Jenkins credentials:

JENKINS_URL=https://your-jenkins-server JENKINS_USER=your-username JENKINS_TOKEN=your-api-token

CLI Configuration

To add this MCP server to your CLI, use the following configuration: Change 'Support/Claude/claude_desktop_config.json' file content to :

{ "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": [] } } }

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 job
    • count (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 job
    • build_number: Build number to inspect

get_build_console_output

Get console output for a specific build

  • Parameters:
    • job_name: Name of the job
    • build_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 job
    • parameters (optional): Dictionary of parameters to pass to the job

demo video :

Demo

-
security - not tested
F
license - not found
-
quality - not tested

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.

  1. Features
    1. Requirements
      1. Installation
        1. Configuration
          1. CLI Configuration
            1. Available Tools
              1. get_jenkins_info
              2. list_jobs
              3. get_job_info
              4. get_last_builds
              5. get_build_info
              6. get_build_console_output
              7. get_views
              8. trigger_job_build
              9. demo video :

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              Facilitates interaction with AWS Bedrock-enabled tools by implementing Anthropic's Model Context Protocol for seamless tool integration and communication.
              Last updated -
              1
              35
              Python
              MIT License
            • A
              security
              A
              license
              A
              quality
              Enables managing Jenkins operations like listing jobs, triggering builds, and checking build statuses through a configurable MCP server.
              Last updated -
              3
              7
              Python
              Apache 2.0
            • A
              security
              A
              license
              A
              quality
              A 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 -
              3
              JavaScript
              MIT License
              • Apple
            • -
              security
              A
              license
              -
              quality
              A Model Context Protocol server that provides access to ACI.dev functions (tools) through either direct app-specific tools or a unified interface with dynamic tool discovery and execution based on user intent.
              Last updated -
              61
              Python
              MIT License
              • Apple

            View all related MCP servers

            ID: 6915ou4079