MCP Jenkins
@lanbaoshen
关于 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.
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mcp-jenkins": {
"command": "uvx",
"args": [
"mcp-jenkins",
"--transport",
"streamable-http"
]
}
}
}工具
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.
概览
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.
其他 分类下的更多 MCP 服务器
Inbox Zero AI
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Blender
ahujasidOpen-source MCP to use Blender with any LLM
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
Awesome Mlops
visengerA curated list of references for MLOps
MCP Go 🚀
mark3labsA Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
评论