@vijaynkw/jenkins-mcp
v1.1.0
Published
MCP server for managing Jenkins builds - list running builds, stop builds, trigger builds, and more
Maintainers
Readme
Jenkins MCP Server
A Model Context Protocol (MCP) server for managing Jenkins builds via AI assistants.
Installation
npx @anthropic/jenkins-mcpConfiguration
Add to your MCP configuration:
{
"mcpServers": {
"jenkins": {
"command": "npx",
"args": ["@anthropic/jenkins-mcp"],
"env": {
"JENKINS_URL": "https://your-jenkins-server.com",
"JENKINS_USER": "your-username",
"JENKINS_API_TOKEN": "your-api-token"
}
}
}
}Environment Variables
| Variable | Description | Required |
|----------|-------------|----------|
| JENKINS_URL | Jenkins server URL | Yes |
| JENKINS_USER | Jenkins username | Yes |
| JENKINS_API_TOKEN | Jenkins API token | Yes |
Available Tools
- list_running_builds - List all running and queued builds
- get_build_status - Get detailed status of a specific build
- stop_build - Stop a running build
- cancel_queued_build - Cancel a queued build
- trigger_build - Trigger a new build
- get_build_console - Get console output
- list_jobs - List jobs in a folder
URL Encoding
Job paths preserve URL encoding (e.g., release%252F2.22.0 stays encoded).
License
MIT
