Jenkins
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
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
Maintainer
Works with
Installation
Manual Installation
npx mcp-jenkinsConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
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
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-jenkinsStart 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_tokenOptionally 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 9887Configure Claude Desktop
Add the server to claude_desktop_config.json so Claude Desktop spawns it as a subprocess when needed.
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/healthzJenkins 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.
Jenkins Alternatives — Similar Developer Tools Servers
Looking for alternatives to Jenkins? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
★ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
★ 155.8kJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Gemini CLI
★ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
★ 87.3k⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
★ 86.0kModel Context Protocol Servers
CC Switch
★ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
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.
Set Up Jenkins in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
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.