Cover image
Try Now
2025-03-31

3 years

Works with Finder

1

Github Watches

0

Github Forks

0

Github Stars

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 build information and console output
  • Manage Jenkins views
  • Trigger specific job builds

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:

{
  "mcpServers": {
    "mcp-jenkins-server": {
      "command": "uv",
      "args": [
        "--directory", 
        "C:\\Users\\Dean.Li\\Documents\\Cline\\MCP\\mcp-jenkins-server",
        "run",
        "server.py"
      ],
      "env": {
        "JENKINS_URL": "https://your-jenkins-server/",
        "JENKINS_USERNAME": "your-username",
        "JENKINS_PASSWORD": "your-password"
      },
      "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_build_info

Get 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

trriger_llm_demo_job_build

Trigger the "LLM_Demo" job build

  • Parameters:
    • user: User name to pass as build parameter

Example Usage

from mcp.client import Client

client = Client("http://localhost:8000")  # MCP server URL
response = client.call_tool("list_jobs")
print(response)

License

MIT

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • Yasir Eryilmaz
  • AI scriptwriting assistant for short, engaging video content.

  • https://appia.in
  • Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease

  • apappascs
  • Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.

  • ShrimpingIt
  • Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX

  • jae-jae
  • MCP Server pour récupérer le contenu de la page Web à l'aide du navigateur sans tête du dramwright.

  • HiveNexus
  • Un bot de chat IA pour les petites et moyennes équipes, soutenant des modèles tels que Deepseek, Open AI, Claude et Gemini. 专为中小团队设计的 Ai 聊天应用 , 支持 Deepseek 、 Open Ai 、 Claude 、 Gemini 等模型。

  • ravitemer
  • Un puissant plugin Neovim pour gérer les serveurs MCP (Protocole de contexte modèle)

  • patruff
  • Pont entre les serveurs Olllama et MCP, permettant aux LLM locaux d'utiliser des outils de protocole de contexte de modèle

  • Sysc4lls
  • Lecteur de documentation IDA (Sort-of) MCP Server

    Reviews

    3 (1)
    Avatar
    user_SCGxJ0oY
    2025-04-16

    As a devoted user of MCP applications, I've found the mcp-jenkins-server to be an exceptional tool in streamlining our CI/CD processes. Created by lieee1995, this server integrates seamlessly, offering robust functionality and reliable performance. The project on GitHub is well-documented, making it easy to navigate and utilize effectively. Kudos to the author for developing such a valuable resource!