Skip to main content
Glama

Jenkins MCP

insignia de herrería Servidor MCP para administrar operaciones de Jenkins.

Instalación

Instalación mediante herrería

Para instalar Jenkins MCP para Claude Desktop automáticamente a través de Smithery :

npx -y @smithery/cli install @kjozsa/jenkins-mcp --client claude

Instalación manual

uvx install jenkins-mcp

Configuración

Agregue el servidor MCP utilizando el siguiente fragmento de configuración JSON:

{ "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" } } } }

Manejo de migajas CSRF

Jenkins implementa la protección CSRF mediante "crumbs", tokens que deben incluirse en las solicitudes POST. Este servidor MCP gestiona las migajas CSRF de dos maneras:

  1. Modo predeterminado : obtiene e incluye automáticamente fragmentos CSRF con solicitudes de compilación

    • Utiliza cookies de sesión para mantener la sesión web.

    • Maneja toda la protección CSRF detrás de escena

  2. Modo de token de API : utiliza tokens de API de Jenkins que están exentos de la protección CSRF

    • Establezca JENKINS_USE_API_TOKEN=true

    • Establezca JENKINS_PASSWORD en su token de API en lugar de la contraseña

    • Funciona con Jenkins 2.96+, que no requiere migas para la autenticación del token API

Puede generar un token de API en Jenkins en: Usuario → Configurar → Token de API → Agregar nuevo token

Características

  • Lista de trabajos de Jenkins

  • Desencadenadores de compilaciones con parámetros opcionales

  • Comprobar el estado de la compilación

  • Manejo de fragmentos CSRF para acceso seguro a la API

Desarrollo

# Install dependencies uv pip install -r requirements.txt # Run in dev mode with Inspector mcp dev jenkins_mcp/server.py
Deploy Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

Related MCP Servers

  • -
    security
    -
    license
    -
    quality
    Provides MCP multi-cluster Kubernetes management and operations, featuring a management interface, logging, and nearly 50 built-in tools covering common DevOps and development scenarios. Supports both standard and CRD resources.
    Last updated -
    709
    MIT License
    • Linux
    • Apple
  • -
    security
    A
    license
    -
    quality
    Provides MCP multi-cluster Kubernetes management and operations. It can be integrated as an SDK into your own project and includes nearly 50 built-in tools covering common DevOps and development scenarios. Supports both standard and CRD resources.
    Last updated -
    133
    MIT License
    • Linux
    • Apple
  • -
    security
    F
    license
    -
    quality
    An integration tool that allows interaction with Jenkins CI/CD servers through a Model Context Protocol interface, enabling users to view server info, manage jobs, inspect builds, and trigger builds with parameters.
    Last updated -
  • -
    security
    A
    license
    -
    quality
    A Model Context Protocol (MCP) server that enables AI tools like chatbots to interact with and control Jenkins, allowing users to trigger jobs, check build statuses, and perform other Jenkins operations through natural language.
    Last updated -
    MIT License

View all related MCP servers

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/kjozsa/jenkins-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server