Jenkins
Enterprise-grade Jenkins CI/CD integration with 21 tools for job management, build status, artifact management, queue monitoring, and pipeline logs.
Installation path
Clone the jenkins-mcp-server repository, install dependencies, then choose Add Server, select Local MCP, use node as the command with the path to bin/jenkins-mcp.js.
Setup steps
- 01
Clone the repository
git clone https://github.com/avisangle/jenkins-mcp-server && cd jenkins-mcp-server
- 02
Install dependencies
npm install && pip install -e . (or uv pip install -e .)
- 03
Get Jenkins API token
Log into Jenkins → your username → Configure → API Token → Add new Token → Generate.
- 04
Open Add Server
Configuration → MCP Registry → Add Server in Cosmos.
- 05
Pick the Local MCP tab
- 06
Set the command
Command
node - 07
Add the arguments
Replace with the actual path where you cloned the repo.
Args
/absolute/path/to/jenkins-mcp-server/bin/jenkins-mcp.js - 08
Set environment variables
JENKINS_URL
JENKINS_URL=http://your-jenkins-server:8080JENKINS_USER
JENKINS_USER=your-usernameJENKINS_API_TOKEN
JENKINS_API_TOKEN=your-api-token - 09
Click Add, then enable
Toggle on Cosmos Agent or CLI.
Local command
Suggested name: jenkins
node /path/to/jenkins-mcp-server/bin/jenkins-mcp.jsRequires cloning the repository and installing npm and Python dependencies. Python 3.12+ required.
Authentication
Jenkins API token. Set JENKINS_URL, JENKINS_USER, and JENKINS_API_TOKEN.
| Variable | Example | Required |
|---|---|---|
| JENKINS_URL | http://your-jenkins-server:8080 | Yes |
| JENKINS_USER | your-username | Yes |
| JENKINS_API_TOKEN | your-api-token | Yes |