Jenkins MCP
MCP server by stubbedev Verified · npm:@stubbedev
Jenkins MCP gives AI assistants access to Jenkins build status, console logs, test reports and job controls. It is a Go server for developers who want CI answers alongside Jira and Bitbucket questions.
Install Jenkins MCP
Built from the published package, never by AI.
claude mcp add jenkins-mcp -- npx -y @stubbedev/jenkins-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"jenkins-mcp": {
"args": [
"-y",
"@stubbedev/jenkins-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"jenkins-mcp": {
"args": [
"-y",
"@stubbedev/jenkins-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"jenkins-mcp": {
"args": [
"-y",
"@stubbedev/jenkins-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add jenkins-mcp -- npx -y @stubbedev/jenkins-mcp{
"mcpServers": {
"jenkins-mcp": {
"args": [
"-y",
"@stubbedev/jenkins-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add jenkins-mcp npx -y @stubbedev/jenkins-mcpGemini 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 block.
About
Jenkins MCP is a Model Context Protocol server for Jenkins, written in Go. It lets an AI assistant inspect builds, read console logs and test reports, list jobs and the build queue, and control jobs. Tools cover triggering and stopping builds, rebuilding an exact commit, and fetching or patching job configuration.
It connects with a Jenkins URL, username and API token, read from a config file or environment variables. The source says it is designed to pair with atlassian-mcp, so users can ask about builds alongside Jira and Bitbucket. It ships as one static binary through npm, Composer, Go, Nix or a release download, and is aimed at developers who check CI from their AI tool.
Written from the project's README and checked against it.
Tools it gives your assistant
jenkins_get_buildShows a build by number, by commit SHA, or the latest, with stages and artifacts.jenkins_get_logReturns a build's console log, optionally for one Pipeline stage.jenkins_get_testsLists failing test names, classes and stack traces from a test report.jenkins_list_buildsLists recent builds for a job with result, duration and commit.jenkins_list_jobsBrowses jobs at the root or inside a folder.jenkins_trigger_buildStarts a new build, optionally with parameters, and returns a queue item URL.jenkins_build_revisionBuilds an exact commit on Git-plugin jobs through the notifyCommit endpoint.jenkins_stop_buildAborts a running build by its build number.jenkins_get_job_configFetches a job's pipeline, triggers, parameters, retention and Git SCM settings.jenkins_update_job_configPatches only the listed job fields such as description, pipeline, triggers or parameters.
What you need
- A Jenkins server URL with a username and API token
- Node.js 24 or later for npx or npm installs
- PHP 8.1 or later for Composer installs
- Go or Nix for those install options
Try asking
- Did CI pass for this commit?
- Why did build #42 fail? Show the failing tests.
- Trigger a build of this job with ENV=production.
Good to know
- jenkins_build_revision needs a notifyCommitToken on Git plugin 4.11 or later.
- Console logs default to a 200KB tail unless full=true is passed.
- The scm and buildRevision fields of a job config are read-only.
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
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: common questions
Does Jenkins MCP need a Jenkins API token?
Yes. The setup steps ask for a Jenkins username and an API token generated in Jenkins, which is shown only once.
Can Jenkins MCP change job settings?
Yes, jenkins_update_job_config can patch the description, pipeline script or path, triggers, parameters and build retention. Unknown patch fields are rejected.
Does Jenkins MCP work with Jira and Bitbucket?
The source says it is designed to pair with atlassian-mcp, so an assistant can answer build questions alongside Jira and Bitbucket questions.
How do I install Jenkins MCP?
In Claude Code run claude mcp add jenkins-mcp -- npx -y @stubbedev/jenkins-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Jenkins MCP the official server?
Jenkins MCP is published by npm:@stubbedev from its verified domain in the official MCP Registry.
Is Jenkins MCP free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Jenkins MCP safe to use?
It scores 70 of 100. Grades: maintenance A, 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?
Similar MCP servers: Azure MCP Server, openstatus, SmartBear MCP, Fettle.
Does Jenkins MCP 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.
