Jenkins Operations Manager
STDIOMCP server for managing Jenkins operations.
MCP server for managing Jenkins operations.
MCP server for managing Jenkins operations.
To install Jenkins MCP for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @kjozsa/jenkins-mcp --client claude
uvx install jenkins-mcp
Add the MCP server using the following JSON configuration snippet:
{ "mcpServers": { "jenkins-mcp": { "command": "uvx", "args": ["jenkins-mcp"], "env": { "JENKINS_URL": "https://your-jenkins-server/", "JENKINS_USERNAME": "your-username", "JENKINS_PASSWORD": "your-password", "JENKINS_USE_API_TOKEN": "false" } } } }
Jenkins implements CSRF protection using "crumbs" - tokens that must be included with POST requests. This MCP server handles CSRF crumbs in two ways:
Default Mode: Automatically fetches and includes CSRF crumbs with build requests
API Token Mode: Uses Jenkins API tokens which are exempt from CSRF protection
JENKINS_USE_API_TOKEN=true
JENKINS_PASSWORD
to your API token instead of passwordYou can generate an API token in Jenkins at: User → Configure → API Token → Add new Token
# Install dependencies uv pip install -r requirements.txt # Run in dev mode with Inspector mcp dev jenkins_mcp/server.py