mcp-jenkins-server

lieee1995/mcp-jenkins-server

3.1

If you are the rightful owner of mcp-jenkins-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A Model Context Protocol (MCP) server that provides Jenkins integration tools.

The MCP Jenkins Server is a specialized server designed to integrate with Jenkins, a popular automation server used for continuous integration and delivery. This server allows users to interact with Jenkins through a set of tools that facilitate the management and monitoring of Jenkins jobs, builds, and views. It requires Python 3.10 or higher and access to a Jenkins server with API capabilities. Users must authenticate using a Jenkins API token. The server can be configured via a CLI and supports various operations such as retrieving server information, listing jobs, and triggering builds. It is particularly useful for developers and DevOps engineers who need to automate and streamline their Jenkins workflows.

Features

  • Get Jenkins server information
  • List and inspect Jenkins jobs
  • Get build information and console output
  • Manage Jenkins views
  • Trigger specific job builds

Usages

usage with CLI

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

Tools

  1. get_jenkins_info

    Get Jenkins server information

  2. list_jobs

    List all Jenkins tasks

  3. get_job_info

    Get information about a specific task

  4. get_build_info

    Get information about a specific build

  5. get_build_console_output

    Get the console output for a specific build

  6. get_views

    List all Jenkins views

  7. trriger_llm_demo_job_build

    Trigger the construction of the "LLM_Demo" task