MCP Jenkins
@lanbaoshen
About MCP Jenkins
The Model Context Protocol (MCP) 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 while maintaining data privacy and security.
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-jenkins": {
"command": "uvx",
"args": [
"mcp-jenkins",
"--transport",
"streamable-http"
]
}
}
}Tools
31Get a specific item by name.
Get the configuration of a specific item.
Get the parameters of a specific item.
Get all items in Jenkins.
Query items based on pattern.
Build a item.
Get all nodes in Jenkins.
Get a specific node by name.
Get the configuration of a specific node.
Get all queue items in Jenkins.
Get a specific queue item by ID.
Cancel a specific queue item by ID.
Get a specific build by job name and build number.
Get scripts associated with a specific build.
Get the console output of a specific build.
Get the parameters of a specific build.
Get the test report of a specific build.
Get all currently running builds in Jenkins.
Stop a specific build by job name and build number.
List the artifacts of a specific build.
Download an artifact from a specific build.
Get the direct URL of an artifact from a specific build.
Get a specific view by name.
Get the configuration of a specific view.
Get all installed plugins.
Get a specific plugin by short name.
Get plugins with problems (missing dependencies, version mismatch, etc.).
Get plugins that can be downgraded.
Get plugins that have available updates.
Get dependency graph for a plugin in Graphviz format.
Execute an arbitrary Groovy script on Jenkins.
Overview
What is MCP Jenkins?
MCP Jenkins is an open-source implementation of the Model Context Protocol (MCP) that bridges Jenkins with AI language models following Anthropic’s MCP specification. It enables secure, contextual AI interactions with Jenkins tools while maintaining data privacy and security. It is intended for users who want to control or query a Jenkins server through an AI assistant.
How to use MCP Jenkins?
Install MCP Jenkins using uv (recommended), pip, or Docker. Configure it with command-line arguments such as --jenkins-url, --jenkins-username, --jenkins-password, --transport (stdio, sse, or streamable-http), --read-only, and --jenkins-verify-ssl. Example configurations for JetBrains GitHub Copilot and VS Code Copilot Chat are provided in the README.
Key features of MCP Jenkins
- Bridges Jenkins with AI language models via the MCP specification.
- Supports stdio, SSE, and streamable-http transports.
- Provides over 30 Jenkins tools (jobs, nodes, builds, plugins, views, etc.).
- Includes a health check endpoint at
/healthz. - Supports read-only mode and SSL verification configuration.
Use cases of MCP Jenkins
- List Jenkins jobs, builds, nodes, and plugins through an AI chat interface.
- Trigger builds, stop builds, and manage queue items using natural language.
- Retrieve build console output, artifacts, and test reports.
- Execute Groovy scripts on Jenkins for advanced automation.
FAQ from MCP Jenkins
What authentication methods are supported?
MCP Jenkins supports Jenkins username and password (or API token) authentication via the --jenkins-username and --jenkins-password arguments, or through HTTP headers x-jenkins-username and x-jenkins-password.
What transport types are available?
Three transport types are available: stdio (default), sse, and streamable-http. The transport is set with the --transport argument.
Can I run MCP Jenkins in read-only mode?
Yes. Use the --read-only flag to enable read-only mode, which prevents any write operations to Jenkins.
Is MCP Jenkins an official Jenkins product?
No. MCP Jenkins is licensed under MIT and is not an official Jenkins product.
More Other MCP servers
Activepieces
activepiecesAI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
MCP Go 🚀
mark3labsA Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
Inbox Zero AI MCP
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Servers
modelcontextprotocolModel Context Protocol Servers
Unity MCP ✨
justinpbarnettUnity MCP acts as a bridge between AI assistants and your Unity Editor. Give your LLM tools to manage assets, control scenes, edit scripts, and automate tasks within Unity.
Comments