jenkins_mcp_server
by rishibhushan
Overview
Provides an AI-enabled Model Context Protocol (MCP) server for Jenkins automation via natural language commands.
Installation
npx @rishibhushan/jenkins-mcp-server --env-file .envEnvironment Variables
- JENKINS_URL
- JENKINS_USERNAME
- JENKINS_TOKEN
- JENKINS_PASSWORD
- HTTP_PROXY
- HTTPS_PROXY
- NO_PROXY
- CORPORATE_CA_URL
Security Notes
CRITICAL: The `JenkinsClient` explicitly disables SSL/TLS certificate verification by default for all `requests` calls (`verify=False`). This makes the server vulnerable to Man-in-the-Middle (MITM) attacks, allowing an attacker to intercept and manipulate communication with the Jenkins server without detection. While `cli.js` attempts to download and set a corporate CA bundle, the explicit `verify=False` in the Python code overrides this, rendering the connection insecure. This is a severe security vulnerability, especially for a tool interacting with critical CI/CD infrastructure. No `eval` or obfuscation found, and credentials are externalized, but the fundamental network security flaw is paramount. Therefore, it is NOT safe to run in any production or sensitive environment without code modification to enable proper SSL/TLS verification.
Similar Servers
mcp-k8s
A Kubernetes MCP (Model Control Protocol) server that enables natural language interaction with Kubernetes clusters and Helm for resource and release management.
ha-mcp
A Model Context Protocol (MCP) server that provides AI agents with comprehensive control and monitoring capabilities for Home Assistant through REST API and WebSocket integration, offering over 20 enhanced tools for smart home management and automation.
mcp-servers
An MCP server for fetching, cleaning, and intelligently extracting content from web pages, designed for agent-building frameworks.
mcp-server-plugin
This plugin enables Jenkins to act as a Model Context Protocol (MCP) server, exposing Jenkins functionalities as tools for AI agents and IDEs.