jenkins-mcp-server
Provides tools for managing Jenkins jobs, builds, console logs, queue, nodes, and plugins via the Jenkins REST API.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@jenkins-mcp-servertrigger a build for job 'backend/pipeline'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Jenkins MCP Server
A Model Context Protocol (MCP) server that exposes a Jenkins controller's REST
API to MCP-compatible clients such as Claude Desktop. Built on the
MCP Python SDK (1.27+,
protocol 2025-11-25) using FastMCP with httpx for async HTTP and
pydantic-settings for configuration.
Features
HTTP basic authentication using a Jenkins username + API token
Automatic CSRF crumb fetch and cache for POST requests
Works with nested folder job paths (
team/app/main)Tools for jobs, builds, console logs, queue, nodes and plugins
Related MCP server: MCP-Jenkins
Installation
python3 -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"Configuration
All configuration is read from environment variables prefixed with JENKINS_.
Variable | Default | Description |
|
| Base URL of the Jenkins controller |
| (empty) | Jenkins user for HTTP basic auth |
| (empty) | Jenkins API token (create in user settings) |
|
| Verify TLS certificates |
|
| HTTP timeout in seconds |
A .env file in the working directory is also picked up automatically.
Running
jenkins-mcpClaude Desktop configuration
Add an entry to claude_desktop_config.json:
{
"mcpServers": {
"jenkins": {
"command": "jenkins-mcp",
"env": {
"JENKINS_BASE_URL": "https://jenkins.example.com",
"JENKINS_USERNAME": "your-username",
"JENKINS_API_TOKEN": "your-api-token"
}
}
}
}Tools
Tool | Description |
| List jobs (optionally scoped to a folder) |
| Return full job metadata |
| Trigger a build, optionally with parameters |
| Return metadata for a specific build |
| Fetch the console text for a build |
| Stop a running build |
| List recent builds ( |
| List queued build items |
| Cancel a queue item by id |
| List Jenkins nodes / agents |
| List installed Jenkins plugins |
Development
Run tests with:
pytest -x --tb=shortLint with:
ruff check src testsMaintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables managing Jenkins operations like listing jobs, triggering builds, and checking build statuses through a configurable MCP server.Last updated310Apache 2.0
- AlicenseBqualityDmaintenanceA server that enables interaction with Jenkins CI/CD pipelines from any compatible MCP client (like Claude Desktop), allowing users to manage jobs, builds, coverage reports, and other Jenkins functionality through natural language.Last updated1127MIT
- Flicense-qualityDmaintenanceEnables LLMs to access Jenkins job data, trigger builds, and manage Jenkins tasks through a standardized interface.Last updated5
- Alicense-qualityCmaintenanceProvides Jenkins CI/CD integration for AI assistants through the Model Context Protocol, enabling job management, build control, and system administration via natural language commands.Last updated1MIT
Related MCP Connectors
Personal assistant MCP server with search, execute, packages, jobs, secrets, and integrations.
MCP server exposing the Backtest360 engine API as tools for AI agents.
Self-hosted MCP gateway: turn any API, database or MCP server into AI connectors — no code.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/LokiMCPUniverse/jenkins-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server