Skip to main content
Glama

Jenkins MCP

by kjozsa

젠킨스 MCP

Jenkins 작업을 관리하기 위한 MCP 서버입니다.

설치

Smithery를 통해 설치

Smithery를 통해 Claude Desktop에 Jenkins MCP를 자동으로 설치하려면:

지엑스피1

수동 설치

uvx install jenkins-mcp

구성

다음 JSON 구성 스니펫을 사용하여 MCP 서버를 추가합니다.

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

CSRF 크럼 처리

Jenkins는 POST 요청에 포함되어야 하는 토큰인 "크럼"을 사용하여 CSRF 보호를 구현합니다. 이 MCP 서버는 두 가지 방식으로 CSRF 크럼을 처리합니다.

  1. 기본 모드 : 빌드 요청에 CSRF 크럼을 자동으로 가져와 포함합니다.
    • 웹 세션을 유지하기 위해 세션 쿠키를 사용합니다.
    • 모든 CSRF 보호를 백그라운드에서 처리합니다.
  2. API 토큰 모드 : CSRF 보호에서 면제되는 Jenkins API 토큰을 사용합니다.
    • JENKINS_USE_API_TOKEN=true 설정하세요
    • 비밀번호 대신 JENKINS_PASSWORD API 토큰으로 설정하세요.
    • API 토큰 인증에 대한 크럼이 필요하지 않은 Jenkins 2.96 이상과 함께 작동합니다.

Jenkins에서 API 토큰을 생성할 수 있습니다: 사용자 → 구성 → API 토큰 → 새 토큰 추가

특징

  • Jenkins 채용 공고 목록
  • 선택적 매개변수를 사용하여 빌드 트리거
  • 빌드 상태 확인
  • 안전한 API 액세스를 위한 CSRF 크럼 처리

개발

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

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

구성 가능한 MCP 서버를 통해 작업 나열, 빌드 트리거, 빌드 상태 확인 등의 Jenkins 작업을 관리할 수 있습니다.

  1. 설치
    1. Smithery를 통해 설치
    2. 수동 설치
  2. 구성
    1. CSRF 크럼 처리
      1. 특징
        1. 개발

          Related MCP Servers

          • -
            security
            A
            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 -
            597
            Go
            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 -
            125
            Go
            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 -
            Python
          • -
            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 -
            Python
            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