Jenkins MCP Server
MCP server by umishra1504 Verified · npm:jenkins-mcp-server
Jenkins MCP Server lets an AI assistant trigger builds, manage jobs and monitor CI/CD pipelines on Jenkins. It runs over the Model Context Protocol and needs a Jenkins URL, username and API token. It suits Jenkins users who want to control their pipelines from an AI assistant.
Install Jenkins MCP Server
Built from the published package, never by AI.
claude mcp add jenkins-mcp-server -- npx -y jenkins-mcp-serverRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"jenkins-mcp-server": {
"args": [
"-y",
"jenkins-mcp-server"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"jenkins-mcp-server": {
"args": [
"-y",
"jenkins-mcp-server"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"jenkins-mcp-server": {
"args": [
"-y",
"jenkins-mcp-server"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add jenkins-mcp-server -- npx -y jenkins-mcp-server{
"mcpServers": {
"jenkins-mcp-server": {
"args": [
"-y",
"jenkins-mcp-server"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add jenkins-mcp-server npx -y jenkins-mcp-serverGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the jenkins-mcp-server block.
About
Jenkins MCP Server connects an AI assistant to a Jenkins instance through the Model Context Protocol. It can be installed with npm or run with npx. It reads the Jenkins URL, username and API token from environment variables. The server exposes tools for triggering, stopping and scheduling builds, listing and reading jobs and artifacts, managing the build queue, and checking instance status.
Each tool returns a JSON result with a success field and additional details. The source includes setup examples for GitHub Copilot in VS Code and Claude Desktop. It is intended for Jenkins users who want to manage jobs and monitor CI/CD pipelines from an AI assistant. The project is released under the MIT License.
Written from the project's README and checked against it.
Tools it gives your assistant
triggerBuildStarts a job build, with support for file and regular parameters.stopBuildStops or force kills a running build.scheduleBuildSchedules a build to run at a future time.updateBuildUpdates the description of a build.getJobReturns metadata for a job.getBuildReturns details for a specific or the last build.getJobsReturns a paginated list of jobs.whoAmIReturns the currently authenticated user.getStatusReturns the status and health of the Jenkins instance.listBuildArtifactsLists the artifacts for a build.
What you need
- Node.js with npm or npx
- A Jenkins instance URL
- A Jenkins username
- A Jenkins API token
Try asking
- Trigger a build for my-app with BRANCH=main
- Show me the latest build information for my-app
- List all Jenkins jobs in my instance
Good to know
- The displayName field in updateBuild is ignored because it is not supported via the REST API.
- getJobs returns a maximum of 10 jobs per request.
- By default only relative file paths are allowed for file parameters.
- Absolute file paths require setting ALLOW_ABSOLUTE_FILE_PARAMS=1.
Security check
B- Runs a script automatically when the package is installedIn
package.json:"postinstall":
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Jenkins MCP Server
All alternatives →Azure MCP Server bundles all Azure MCP tools into one local MCP server. It connects AI agents to Azure services and can be used alone or with the GitHub Copilot for Azure extension in VS Code.
Manages monitors, status pages, incidents and maintenances in an openstatus workspace from Claude, ChatGPT, or Cursor. It suits teams that run uptime monitoring and status pages and want their AI assistant to update them.
SmartBear MCP gives AI assistants access to SmartBear's testing and monitoring tools, including BugSnag, Reflect, Swagger, PactFlow and QTM4J. It is aimed at teams that already use these products. Products are reached through remote servers or a local npm package.
Lets AI assistants manage Fettle uptime monitoring, including monitors, incidents, heartbeats, maintenance windows and status page incidents. Built for developers and operations teams who use Fettle and want to work from Claude, Cursor or Codex.
Superlog is an open-source agentic telemetry system that ingests traces, logs and metrics and groups noisy signals into incidents. It is aimed at teams debugging production systems with OpenTelemetry data.
Microsoft Learn MCP gives AI assistants direct access to official Microsoft documentation and code samples through a remote MCP endpoint. It is for developers who use MCP-compatible clients and want answers based on current Microsoft docs.
Compare with Azure MCP Server, openstatus or SmartBear MCP
Jenkins MCP Server: common questions
Does the Jenkins MCP Server need an API token?
Yes. The source says to set JENKINS_USERNAME and JENKINS_API_TOKEN along with JENKINS_URL, and describes how to generate the token in Jenkins.
Can the server read build artifacts?
Yes. The listBuildArtifacts tool lists artifacts for a build, and readBuildArtifact returns their content as text or base64.
Can it change the display name of a build?
No. The source says updateBuild ignores displayName because display name changes are not supported via REST, but build descriptions can be updated.
How do I install Jenkins MCP Server?
In Claude Code run claude mcp add jenkins-mcp-server -- npx -y jenkins-mcp-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Jenkins MCP Server the official server?
Jenkins MCP Server is published by npm:jenkins-mcp-server from its verified domain in the official MCP Registry.
Is Jenkins MCP Server free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Jenkins MCP Server safe to use?
It scores 53 of 100. Grades: maintenance F, licence A, quality C. Security check: grade B (runs a script automatically when the package is installed). Review the code before you install. How grades work.
What are alternatives to Jenkins MCP Server?
Similar MCP servers: Azure MCP Server, openstatus, SmartBear MCP, Fettle.
Does Jenkins MCP Server work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
