AI Skill Hub 推荐使用:开源MCP工具 是一款优质的MCP工具。AI 综合评分 7.5 分,在同类工具中表现稳健。如果你正在寻找可靠的MCP工具解决方案,这是一个值得深入了解的选择。
基于Jenkins的MCP服务器,提供25+工具,管理作业、构建和CI/CD工作流,提高开发效率和自动化能力
开源MCP工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
基于Jenkins的MCP服务器,提供25+工具,管理作业、构建和CI/CD工作流,提高开发效率和自动化能力
开源MCP工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/kud/mcp-jenkins
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"--mcp--": {
"command": "npx",
"args": ["-y", "mcp-jenkins"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 开源MCP工具 执行以下任务... Claude: [自动调用 开源MCP工具 MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"__mcp__": {
"command": "npx",
"args": ["-y", "mcp-jenkins"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
██╗███████╗███╗ ██╗██╗ ██╗██╗███╗ ██╗███████╗ ███╗ ███╗ ██████╗██████╗
██║██╔════╝████╗ ██║██║ ██╔╝██║████╗ ██║██╔════╝ ████╗ ████║██╔════╝██╔══██╗
██║█████╗ ██╔██╗ ██║█████╔╝ ██║██╔██╗ ██║███████╗ ██╔████╔██║██║ ██████╔╝
██ ██║██╔══╝ ██║╚██╗██║██╔═██╗ ██║██║╚██╗██║╚════██║ ██║╚██╔╝██║██║ ██╔═══╝
╚█████╔╝███████╗██║ ╚████║██║ ██╗██║██║ ╚████║███████║ ██║ ╚═╝ ██║╚██████╗██║
╚════╝ ╚══════╝╚═╝ ╚═══╝╚═╝ ╚═╝╚═╝╚═╝ ╚═══╝╚══════╝ ╚═╝ ╚═╝ ╚═════╝╚═╝
A Jenkins MCP server with 37 tools for managing jobs, builds, nodes, views, and CI/CD workflows
Features • Quick Start • Installation • Tools • Development
</div>
---
MCP_JENKINS_* env vars (priority-based)MCP_JENKINS_ALLOW_TOOLS / MCP_JENKINS_BLOCK_TOOLS---
Option 1: Via npm (recommended once published):
```bash
npx --yes @kud/mcp-jenkins@latest
**Option 2: Local installation:**
bash git clone https://github.com/kud/mcp-jenkins.git cd mcp-jenkins npm install npm run build ```
Using environment variables (recommended):
claude mcp add --transport stdio --scope user jenkins \
--env MCP_JENKINS_URL=https://your-jenkins.com \
--env MCP_JENKINS_USER=your_username \
--env MCP_JENKINS_API_TOKEN=your_token \
-- npx --yes @kud/mcp-jenkins@latest
Using CLI arguments (override env vars):
claude mcp add --transport stdio --scope user jenkins \
-- npx --yes @kud/mcp-jenkins@latest \
--url https://your-jenkins.com \
--user your_username \
--api-token your_token
If installed locally:
claude mcp add --transport stdio --scope user jenkins \
-- node ~/path/to/mcp-jenkins/dist/index.js \
--url https://your-jenkins.com \
--user your_username \
--api-token your_token
✅ Done! Now you can use Jenkins commands in your AI assistant.
---
Choose your development environment:
---
| Tool | Description |
|---|---|
jenkins_get_build_status | Get specific build status |
jenkins_get_recent_builds | Get recent builds (last N) |
jenkins_trigger_build | Trigger a new build |
jenkins_stop_build | Stop/abort running build |
jenkins_delete_build | Delete a build |
jenkins_replay_build | Replay a pipeline build |
jenkins_get_console_log | Get build console output |
jenkins_get_build_changes | Get Git commits for build |
jenkins_get_pipeline_stages | Get pipeline stage status |
```bash
npm run clean && npm run build ```
Once configured, interact with Jenkins naturally:
You: "List all my Jenkins jobs"
AI: *Shows list of all jobs*
You: "What's the status of the 'api-backend' build?"
AI: *Shows latest build status, duration, result*
You: "Get the test results for build #42 of 'mobile-pipeline'"
AI: *Shows pass/fail counts, test suites*
You: "Show me the pipeline stages for that failed build"
AI: *Shows which stage failed and durations*
You: "Trigger a build for 'deploy-staging' with VERSION=2.1.0"
AI: *Triggers build with parameters*
You: "Stop build #966 of 'mobile-pipeline'"
AI: *Stops the running build*
You: "Show me the queue"
AI: *Lists all pending builds*
You: "What version of Jenkins are we running?"
AI: *Shows Jenkins version*
---
All CLI args:
node dist/index.js --url https://jenkins.com --user admin --api-token abc123
Mixed (CLI overrides env):
```bash MCP_JENKINS_USER=dev_user node dist/index.js --url https://jenkins.com --api-token xyz789
The server supports 2 ways to provide configuration (highest to lowest priority):
--url, --user, --api-token, --bearer-tokenMCP_JENKINS_* environment variables - MCP_JENKINS_URL, MCP_JENKINS_USER, etc.copilot --additional-mcp-config @jenkins-mcp.json
For local installation, use `"command": "node"` with path in args:
json "args": ["/absolute/path/to/mcp-jenkins/dist/index.js", "--url", "...", "--user", "...", "--api-token", "..."]
#### Option 4: Multiple Jenkins instances
json { "mcpServers": { "jenkins": { "command": "npx", "args": ["--yes", "@kud/mcp-jenkins@latest"], "env": { "MCP_JENKINS_URL": "https://pipeline.yourcompany.com,https://scheduler.yourcompany.com", "MCP_JENKINS_USER": "your_username,your_username", "MCP_JENKINS_API_TOKEN": "token1,token2" } } } }
#### Option 5: Allow All Tools (Non-Interactive)
For scripts and automation:
bash copilot --allow-all-tools -p "Check status of mobile-pipeline build" ```
</details>
---
```
---
Follow these steps to create an API token for the MCP server:
Store the token securely - you'll need it for configuration:
MCP_JENKINS_BEARER_TOKENMCP_JENKINS_API_TOKEN (along with MCP_JENKINS_USER)Example token format: 11abcd1234567890abcdef1234567890ab
💡 Tip: You can see all your active tokens in the "Current token(s)" list. Each shows when it was created and last used, helping you manage and rotate tokens regularly.
```
Verify: claude mcp list should show jenkins
</details>
---
```bash
**Custom naming with `MCP_JENKINS_INSTANCES`:**
Use `MCP_JENKINS_INSTANCES` when you want explicit names (e.g., the hostname isn't descriptive enough, or both instances share the same host):
bash export MCP_JENKINS_INSTANCES="ci,prod" export MCP_JENKINS_URL="https://jenkins.yourcompany.com/ci,https://jenkins.yourcompany.com/prod" export MCP_JENKINS_USER="your_username,your_username" export MCP_JENKINS_API_TOKEN="token1,token2"
Bearer Token (Recommended):
--env MCP_JENKINS_BEARER_TOKEN=your_token
Basic Auth:
--env MCP_JENKINS_USER=your_username
--env MCP_JENKINS_API_TOKEN=your_token
Jenkins MCP 服务概述
环境依赖与系统要求:Node.js 20+、Jenkins API token
安装步骤:使用 npm 或 Docker 安装,推荐使用 npx
快速开始:使用 CLI 交互式操作 Jenkins
配置说明:支持 CLI 参数和环境变量,配置优先级
获取 Jenkins API Token:访问 Jenkins 安全设置,创建 API token
工作流 / 模块说明:支持多个 Jenkins 实例,自动命名或自定义命名
常见问题:配置、安装、使用等问题
该工具基于Jenkins开发,提供了25+工具,管理作业、构建和CI/CD工作流,提高开发效率和自动化能力,但需要进一步优化和完善
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
总体来看,开源MCP工具 是一款质量良好的MCP工具,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。
| 原始名称 | mcp-jenkins |
| 原始描述 | 开源MCP工具:A Jenkins MCP server with 25+ tools for managing jobs, builds, and CI/CD workflo。⭐7 · TypeScript |
| Topics | aijenkinsmcp |
| GitHub | https://github.com/kud/mcp-jenkins |
| License | MIT |
| 语言 | TypeScript |
收录时间:2026-05-21 · 更新时间:2026-05-22 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端