Jenkins

v1.0.0Developer Toolsstable

The Model Context Protocol (MCP) Jenkins integration is an open-source implementation that bridges Jenkins with AI language models following Anthropic's MCP specification. This project enables secure, contextual AI interactions with Jenkins tools whi

jenkinsmcp-server
Share:
123
Stars
0
Downloads
0
Weekly
0/5

What is Jenkins?

Jenkins is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to model context protocol (mcp) jenkins integration is an open-source implementation that bridges jenkins with ai language models following anthropic's mcp specification. this project enables secure, con...

The Model Context Protocol (MCP) Jenkins integration is an open-source implementation that bridges Jenkins with AI language models following Anthropic's MCP specification. This project enables secure, contextual AI interactions with Jenkins tools whi

This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • The Model Context Protocol (MCP) Jenkins integration is an o

Use Cases

Manage Jenkins build pipelines and CI/CD workflows through Claude.
Trigger and monitor continuous integration jobs securely from Claude.
lanbaoshen

Maintainer

LicenseMIT License
Languagepython
Versionv1.0.0
UpdatedMay 21, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx mcp-jenkins

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Jenkins

MCP Jenkins bridges Jenkins CI/CD with AI language models by implementing Anthropic's Model Context Protocol, exposing 30+ tools that cover jobs, builds, nodes, queue management, plugins, views, artifacts, and Groovy script execution. It supports stdio, SSE, and streamable-HTTP transports and can be installed from PyPI with a single pip command, making it easy to embed in Claude Desktop or deploy as a shared service. DevOps engineers and platform teams can trigger builds, inspect console output, cancel queue items, and query test reports in plain English without leaving their AI client.

Prerequisites

  • Python 3.9 or later with pip or uv installed
  • A running Jenkins server with a URL, username, and password or API token
  • The Jenkins user account must have sufficient permissions to trigger builds and read job data
  • An MCP-compatible client such as Claude Desktop, Claude Code, or VS Code with Copilot Chat
1

Install mcp-jenkins

Install the package from PyPI using uv (recommended) or pip. uv provides faster dependency resolution and is suitable for running the server directly via uvx.

# Using uv (recommended)
pip install uv
uvx mcp-jenkins

# Using pip
pip install mcp-jenkins
2

Start the server in stdio mode for Claude Desktop

For Claude Desktop, the server is launched as a subprocess in stdio mode. Pass Jenkins credentials as command-line arguments.

uvx mcp-jenkins \
  --jenkins-url https://jenkins.example.com \
  --jenkins-username your_username \
  --jenkins-password your_api_token
3

Optionally run in HTTP or SSE mode for shared access

For VS Code Copilot Chat or multi-client deployments, start the server with the streamable-http or sse transport and expose it on a port.

uvx mcp-jenkins \
  --jenkins-url https://jenkins.example.com \
  --jenkins-username your_username \
  --jenkins-password your_api_token \
  --transport streamable-http \
  --port 9887
4

Configure Claude Desktop

Add the server to claude_desktop_config.json so Claude Desktop spawns it as a subprocess when needed.

5

Verify the server is responding

If running in HTTP mode, hit the health check endpoint to confirm the server is live before pointing clients at it.

curl http://localhost:9887/healthz

Jenkins Examples

Client configuration

Claude Desktop configuration for mcp-jenkins running in stdio mode via uvx. Replace credentials with your Jenkins server details.

{
  "mcpServers": {
    "mcp-jenkins": {
      "command": "uvx",
      "args": [
        "mcp-jenkins",
        "--jenkins-url", "https://jenkins.example.com",
        "--jenkins-username", "your_username",
        "--jenkins-password", "your_api_token"
      ]
    }
  }
}

Prompts to try

These prompts exercise the 30+ tools exposed by MCP Jenkins, from triggering builds to inspecting test reports.

- "List all Jenkins jobs and show me which ones are currently failing."
- "Trigger a build of the 'deploy-staging' job with parameter BRANCH=main."
- "Show me the console output of the last build of the 'backend-tests' job."
- "Are there any builds currently queued? Cancel any that have been waiting more than 10 minutes."
- "What plugins are installed on Jenkins and which ones have available updates?"
- "Get the test report for the last build of the 'unit-tests' pipeline."

Troubleshooting Jenkins

All Jenkins API calls return 401 Unauthorized

Generate a Jenkins API token in your user profile (Jenkins > Your Name > Configure > API Token) rather than using your account password. Paste the token as the --jenkins-password value.

SSL certificate errors when connecting to a Jenkins instance with a self-signed cert

Add the --no-jenkins-verify-ssl flag to the startup command to disable SSL certificate verification. Only use this on trusted internal networks.

The server times out on large Jenkins instances with many jobs

Increase the timeout with --jenkins-timeout 30 (or higher). The default is 5 seconds, which may be insufficient when Jenkins is listing hundreds of jobs or running on slow hardware.

Frequently Asked Questions about Jenkins

What is Jenkins?

Jenkins is a Model Context Protocol (MCP) server that model context protocol (mcp) jenkins integration is an open-source implementation that bridges jenkins with ai language models following anthropic's mcp specification. this project enables secure, contextual ai interactions with jenkins tools whi It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Jenkins?

Follow the installation instructions on the Jenkins GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Jenkins?

Jenkins works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Jenkins free to use?

Yes, Jenkins is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "mcp-jenkins": { "command": "npx", "args": ["-y", "mcp-jenkins"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Jenkins?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides