Jenkins MCP Server
DevOpsstdiossev0.2.0
MCP server for Jenkins CI/CD. Enables AI agents to trigger builds, inspect job and build status, stream console logs, and diagnose failing pipelines, bringing continuous integration workflows into AI-powered development environments.
连接
将此配置添加到 .claude/mcp.json
传输方式:
{
"mcpServers": {
"jenkins": {
"command": "npx",
"args": [],
"env": {
"JENKINS_URL": "<YOUR_JENKINS_URL>",
"JENKINS_USER": "<YOUR_JENKINS_USER>",
"JENKINS_API_TOKEN": "<YOUR_JENKINS_API_TOKEN>"
}
}
}
}工具 (2)
trigger_build
Trigger a build for a Jenkins job with optional parameters.
{
"type": "object",
"required": [
"job_name"
],
"properties": {
"job_name": {
"type": "string",
"description": "Name or path of the Jenkins job"
},
"parameters": {
"type": "object",
"description": "Build parameters as key/value pairs"
}
}
}get_build_log
Retrieve the console log for a specific build of a job.
{
"type": "object",
"required": [
"job_name"
],
"properties": {
"job_name": {
"type": "string",
"description": "Name or path of the Jenkins job"
},
"build_number": {
"type": "integer",
"description": "Build number (defaults to latest)"
}
}
}资源
此服务器未提供任何资源。
提示词
此服务器未提供任何提示词。
服务器信息
- 许可证
- MIT
- 版本
- 0.2.0
- 星标
- 198
- 最后更新
- 2026年7月9日