← Back to Jenkins MCP Server
Install Jenkins MCP Server
Pick your client, copy the command, done.
Manual setup required. The maintainer's config contains paths only you know - edit the placeholders below before adding it to Claude Code.
1
Prepare the server locally
Run this once before adding it to Claude Code.
npm install2
Register it in Claude Code
claude mcp add -e "JENKINS_USER=${JENKINS_USER}" -e "JENKINS_TOKEN=${JENKINS_TOKEN}" jenkins-mcp -- node /path/to/jenkins-mcp/server.jsReplace any placeholder paths in the command with the real path on your machine.
Required:
JENKINS_USERJENKINS_TOKEN+ 1 optionalEnvironment Variables
Set these before running Jenkins MCP Server.
VariableDescriptionRequired
JENKINS_USERYour Jenkins usernameYesJENKINS_TOKENYour Jenkins API tokenYesJENKINS_URLJenkins base URLNoAvailable Tools (4)
Once configured, Jenkins MCP Server gives your AI agent access to:
list_jobsList available Jenkins jobsview_buildsView builds for a specific jobjobNameread_console_outputRead console output for a specific buildjobNamebuildNumbertrigger_buildTrigger a new build for a jobjobNameTry It Out
After setup, try these prompts with your AI agent:
→List all the Jenkins jobs currently available on the server.
→Trigger a new build for the 'driver-tests' job.
→Get the console output for the latest build of the 'cpp-driver-matrix-test' job.
→Show me the recent build history for the 'csharp-driver-matrix-test' job.
Prerequisites & system requirements
- An MCP-compatible client (Claude Code, Cursor, Windsurf, Claude Desktop, or Codex)
- Node.js 18+ with npm/npx installed
JENKINS_USER— Your Jenkins usernameJENKINS_TOKEN— Your Jenkins API token
Conare · memory for coding agents
Keep this setup from going cold
Save the docs, env vars, and workflow around Jenkins MCP Server in Conare so Claude Code, Codex, and Cursor remember it next time.
Remember this setup$npx conare@latest