hekmon8_Jenkins-server-mcp

hekmon8_Jenkins-server-mcp

0

Jenkins Server MCP is a Model Context Protocol server designed for seamless interaction with Jenkins CI/CD servers. It facilitates AI-driven operations like checking build statuses, triggering builds, and fetching build logs.

Jenkins Server MCP

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

  • Checking Jenkins build statuses.
  • Triggering Jenkins builds.
  • Retrieving Jenkins build logs.

Installation

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

Configuration

  • Requires environment variables: JENKINS_URL, JENKINS_USER, and JENKINS_TOKEN.
  • Configuration examples are provided for Claude Desktop.

Tools and Usage

  • Get Build Status: Retrieve the status of a specific Jenkins build.
  • Trigger Build: Initiate a new Jenkins build with custom parameters.
  • Get Build Log: Access the console output of a Jenkins build.

Development

  • Auto-rebuild feature with npm run watch.

Debugging

  • Use MCP Inspector by running npm run inspector.