Jenkins-server-mcp

Jenkins-server-mcp

7

The Jenkins Server MCP is an MCP server designed to facilitate interactions with Jenkins CI/CD servers. It allows AI assistants to perform tasks such as checking build statuses, triggering builds, and retrieving build logs efficiently through a standardized interface.

Jenkins Server MCP

A Model Context Protocol (MCP) server for managing and interacting with Jenkins CI/CD servers. Key features include:

  • Check build statuses
  • Trigger builds
  • Retrieve build logs

Installation

  1. Clone the repository and navigate into the directory.
  2. Install dependencies with npm.
  3. Build the project.

Configuration

Set the necessary environment variables for Jenkins URL, username, and token.

Tools and Usage

  • Get Build Status: Check the status of a Jenkins build.
  • Trigger Build: Trigger new builds with specific parameters.
  • Get Build Log: Retrieve the console output for builds.

Development

Supports auto-rebuild for development with the npm run watch command. Use MCP Inspector for debugging.