Jenkins MCP Server
Enables interaction with Jenkins CI jobs, including triggering and stopping builds, retrieving job details, and fetching build logs.
README
Jenkins MCP Server
基于 FastMCP + SSE (HTTP) 协议的 Jenkins CI MCP 服务器。
快速开始
# 1. 安装依赖
pip install -r requirements.txt
# 2. 设置环境变量
export JENKINS_URL=http://your-jenkins:8080
export JENKINS_USER=your-username
export JENKINS_PASSWORD=your-api-token
# 3. 启动服务
python jenkins.py
服务运行在 http://0.0.0.0:8080,使用 SSE 传输协议。
工具列表
| 工具 | 说明 | 参数 |
|---|---|---|
trigger_build |
触发构建(支持参数) | jobname, params (JSON) |
stop_build |
停止运行中的构建 | jobname, build_number |
get_job |
获取 Job 详情 | jobname |
get_jobs |
获取所有 Job 列表 | (无) |
get_build |
获取构建元数据(参数、SCM 信息、状态) | jobname, build_number? |
get_build_logs |
获取构建日志(支持 tail) | jobname, build_number?, tail_lines? |
环境变量
| 变量 | 默认值 | 说明 |
|---|---|---|
JENKINS_URL |
http://localhost:8080 |
Jenkins 服务器地址 |
JENKINS_USER |
(空) | Jenkins 用户名 |
JENKINS_PASSWORD |
(空) | Jenkins API Token 或密码 |
JENKINS_CA_BUNDLE |
(空) | 自定义 CA 证书路径 (TLS) |
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.