Skip to main content
Glama

Jenkins Server MCP

by hekmon8

젠킨스 서버 MCP

Jenkins CI/CD 서버와 상호 작용하기 위한 도구를 제공하는 모델 컨텍스트 프로토콜(MCP) 서버입니다. 이 서버를 통해 AI 어시스턴트는 표준화된 인터페이스를 통해 빌드 상태를 확인하고, 빌드를 트리거하고, 빌드 로그를 검색할 수 있습니다.

설치

  1. 이 저장소를 복제하세요:

지엑스피1

  1. 종속성 설치:
npm install
  1. 프로젝트를 빌드하세요:
npm run build

구성

서버에는 다음과 같은 환경 변수가 필요합니다.

  • JENKINS_URL : Jenkins 서버의 URL(기본값은 ' http://sohoci.rd.tp-link.net/jenkins ')
  • JENKINS_USER : 인증을 위한 Jenkins 사용자 이름
  • JENKINS_TOKEN : 인증을 위한 Jenkins API 토큰

MCP 설정 파일에서 다음을 구성하세요.

클로드 데스크탑용

MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%/Claude/claude_desktop_config.json

{ "mcpServers": { "jenkins-server": { "command": "node", "args": ["/path/to/jenkins-server-mcp/build/index.js"], "env": { "JENKINS_URL": "https://your-jenkins-server.com", "JENKINS_USER": "your-username", "JENKINS_TOKEN": "your-api-token" } } } }

도구 및 사용법

1. 빌드 상태 가져오기

Jenkins 빌드 상태를 가져옵니다.

// Example usage const result = await mcpClient.useTool("jenkins-server", "get_build_status", { jobPath: "view/xxx_debug", buildNumber: "lastBuild" // Optional, defaults to lastBuild });

입력 스키마:

{ "jobPath": "string", // Path to Jenkins job "buildNumber": "string" // Optional, build number or "lastBuild" }

2. 트리거 빌드

매개변수를 사용하여 새로운 Jenkins 빌드를 트리거합니다.

// Example usage const result = await mcpClient.useTool("jenkins-server", "trigger_build", { jobPath: "view/xxx_debug", parameters: { BRANCH: "main", BUILD_TYPE: "debug" } });

입력 스키마:

{ "jobPath": "string", // Path to Jenkins job "parameters": { // Build parameters as key-value pairs } }

3. 빌드 로그 가져오기

Jenkins 빌드의 콘솔 출력을 검색합니다.

// Example usage const result = await mcpClient.useTool("jenkins-server", "get_build_log", { jobPath: "view/xxx_debug", buildNumber: "lastBuild" });

입력 스키마:

{ "jobPath": "string", // Path to Jenkins job "buildNumber": "string" // Build number or "lastBuild" }

개발

자동 재빌드를 사용한 개발의 경우:

npm run watch

디버깅

MCP 서버는 stdio를 통해 통신하므로 MCP Inspector를 사용하여 디버깅할 수 있습니다.

npm run inspector

이렇게 하면 브라우저에서 디버깅 도구에 액세스할 수 있는 URL이 제공됩니다.

특허

이 프로젝트는 MIT 라이선스에 따라 라이선스가 부여되었습니다. 자세한 내용은 라이선스 파일을 참조하세요.

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.

AI 어시스턴트가 Jenkins CI/CD 서버와 상호 작용할 수 있도록 하는 모델 컨텍스트 프로토콜 서버로, 빌드 상태를 확인하고, 빌드를 트리거하고, 빌드 로그를 검색하는 도구를 제공합니다.

  1. 설치
    1. 구성
      1. 클로드 데스크탑용
    2. 도구 및 사용법
      1. 빌드 상태 가져오기
      2. 트리거 빌드
      3. 빌드 로그 가져오기
    3. 개발
      1. 디버깅
    4. 특허

      Related MCP Servers

      • -
        security
        F
        license
        -
        quality
        A Model Context Protocol server that enables AI assistants to build and test Xcode projects directly through a standardized interface, with capabilities for running tests, monitoring progress, and accessing logs in real-time.
        Last updated -
        29
        TypeScript
      • -
        security
        -
        license
        -
        quality
        A Model Context Protocol server implementation that enables AI assistants to interact with Linear project management systems, allowing them to create, retrieve, and modify data related to issues, projects, teams, and users.
        Last updated -
        20
        2
        TypeScript
      • -
        security
        F
        license
        -
        quality
        A comprehensive Model Context Protocol server implementation that enables AI assistants to interact with file systems, databases, GitHub repositories, web resources, and system tools while maintaining security and control.
        Last updated -
        16
        TypeScript
      • -
        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

      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/hekmon8/Jenkins-server-mcp'

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