Jenkins Server MCP

by hekmon8

2 stars
Not rated
GitHub

About

Integrates with Jenkins CI/CD pipelines to enable automated job management, build monitoring, and artifact handling for streamlined software delivery workflows.

Details

Author
hekmon8
GitHub stars
2
Categories
Developer Tools, Infrastructure, Productivity, Design, Workplace, AI, Search

Setup

Install Jenkins Server MCP in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/hekmon8/jenkins-server-mcp

Follow the installation instructions in the repository README, then restart your MCP client.

A Model Context Protocol (MCP) server that provides tools for interacting with Jenkins CI/CD servers. This server enables AI assistants to check build statuses, trigger builds, and retrieve build logs through a standardized interface.

git clone https://github.com/hekmon8/jenkins-server-mcp.git cd jenkins-server-mcp

The server requires the following environment variables:

- JENKINS_URL: The URL of your Jenkins server
- JENKINS_USER: Jenkins username for authentication
- JENKINS_TOKEN: Jenkins API token for authentication

Configure these in your MCP settings file:

MacOS:~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:%APPDATA%/Claude/claude_desktop_config.json

{ "mcpServers": { "jenkins-server": { "command": "node", "args": ["/path/to/jenkins-server-mcp/build/index.js"], "env": { "JENKINS_URL": "https://your-jenkins-server.com", "JENKINS_USER": "your-username", "JENKINS_TOKEN": "your-api-token" } } } }
// Example usage const result = await mcpClient.useTool("jenkins-server", "get_build_status", { jobPath: "view/xxx_debug", buildNumber: "lastBuild" // Optional, defaults to lastBuild });
{ "jobPath": "string", // Path to Jenkins job "buildNumber": "string" // Optional, build number or "lastBuild" }

Trigger a new Jenkins build with parameters:

// Example usage const result = await mcpClient.useTool("jenkins-server", "trigger_build", { jobPath: "view/xxx_debug", parameters: { BRANCH: "main", BUILD_TYPE: "debug" } });
{ "jobPath": "string", // Path to Jenkins job "parameters": { // Build parameters as key-value pairs } }

Retrieve the console output of a Jenkins build:

// Example usage const result = await mcpClient.useTool("jenkins-server", "get_build_log", { jobPath: "view/xxx_debug", buildNumber: "lastBuild" });
{ "jobPath": "string", // Path to Jenkins job "buildNumber": "string" // Build number or "lastBuild" }

Since MCP servers communicate over stdio, you can use the MCP Inspector for debugging:

This will provide a URL to access debugging tools in your browser.

This project is licensed under the MIT License - see theLICENSEfile for details.

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

Access and interact with Harness platform data, including pipelines, repositories, logs, and artifact registries.

An SSE-based MCP server that allows LLM-powered applications to interact with OCI registries. It provides tools for retrieving information about container images, listing tags, and more.

The Octopus MCP Server provides your AI assistant with powerful tools that allow it to inspect, query, and diagnose problems within your Octopus instance, transforming it into your ultimate DevOps wingmate.

The Railway MCP Server enables natural language interaction with your Railway projects and infrastructure. Ask your IDE or AI assistant to create projects, deploy templates, manage environments, pull variables, redeploy services, and more.

The Shipyard CLI provides an MCP server for agents to manage Shipyard environments directly: by pulling logs, comparing branches, running tests, and stopping/starting environments..

MCP server for managing Unleash feature flags and automate best practices.

A server for automated provisioning, supporting both local and remote communication protocols.

Integrates with AWS CodePipeline to manage continuous integration and delivery pipelines.

Manage apps, builds, and artifacts on Bitrise, a Continuous Integration and Delivery (CI/CD) platform.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.