Supports Docker integration for building and testing environments, with specific commands for building Docker images and running tests in containerized environments.
Allows interaction with Jenkins CI/CD platform, enabling triggering of jobs, retrieving build statuses, and performing other Jenkins operations through the MCP interface.
mcp_jenkins
Jenkins MCP 서버. MCP(Model Context Protocol)를 사용하면 AI 도구(예: 챗봇)가 Jenkins 설정과 통신하고 이를 제어할 수 있습니다. 즉, 정보를 검색하고 설정을 수정할 수 있습니다.
참고: 이것은 MCP Jenkins 서버의 최소 실험 버전이며 현재 초기 개발 단계에 있습니다.
설명
이 프로젝트는 Jenkins와 상호 작용하기 위한 모델 컨텍스트 프로토콜(MCP) 서버를 제공합니다. 사용자는 MCP 인터페이스를 통해 Jenkins 작업을 트리거하고, 빌드 상태를 가져오고, 기타 Jenkins 관련 작업을 수행할 수 있습니다.
설치
패키지를 설치하고 콘솔 스크립트를 사용할 수 있게 하려면 다음을 실행하세요.
지엑스피1
용법
pip install .
사용하여 패키지를 설치하면 다음 콘솔 스크립트를 셸 환경에서 사용할 수 있습니다.
mcp_jenkins_server
: MCP 서버를 실행합니다.mcp_jenkins_client
: 예제 클라이언트를 실행합니다.mcp_jenkins_run_docker_build
: 서버의 Docker 이미지를 빌드합니다. 테스트를 실행하기 전에 실행해야 합니다.mcp_jenkins_run_docker_tests
: Docker를 사용하여 테스트를 실행합니다(예: 서버/클라이언트/서버 테스트). 이 스크립트를 실행하려면 일반적으로mcp_jenkins_run_docker_build
사용하여 Docker 이미지를 먼저 빌드해야 합니다.
이러한 스크립트를 사용하면 패키지가 설치된 경우 Python 경로를 수동으로 관리하거나 별도로 요구 사항을 설치할 필요가 없습니다.
일반적인 워크플로
서버 실행
설치된 스크립트를 사용하여 MCP 서버를 실행하려면:
예제 클라이언트 실행
설치된 스크립트를 사용하여 예제 클라이언트를 실행하려면:
예를 들어, 특정 모델을 사용하여 "백업"이라는 작업에 대한 빌드를 나열하려면 다음을 실행할 수 있습니다.
이렇게 하면 다음과 유사한 출력이 생성될 수 있습니다.
Docker로 빌드 및 테스트
개발 및 테스트를 위한 일반적인 워크플로는 먼저 Docker 이미지를 빌드한 다음 테스트를 실행하는 것입니다.
- Docker 이미지 빌드: 이 단계에서는 테스트에 필요한 환경을 준비합니다.
- 테스트 실행: 빌드가 완료된 후 테스트를 실행합니다.
이 시퀀스는 일관된 Docker 환경에서 최신 빌드에 대한 테스트가 수행되도록 보장합니다.
특허
이 프로젝트는 MIT 라이선스에 따라 라이선스가 부여되었습니다.
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
챗봇과 같은 AI 도구가 Jenkins와 상호 작용하고 Jenkins를 제어할 수 있도록 하는 MCP(Model Context Protocol) 서버로, 사용자는 자연어를 통해 작업을 트리거하고, 빌드 상태를 확인하고, 다른 Jenkins 작업을 수행할 수 있습니다.
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol server that enables AI assistants to interact with Jenkins CI/CD servers, providing tools to check build statuses, trigger builds, and retrieve build logs.Last updated -3JavaScriptMIT License
- AsecurityAlicenseAqualityA server that uses the Model Context Protocol (MCP) to allow AI agents to safely execute shell commands on a host system.Last updated -1762TypeScriptMIT License
- -securityAlicense-qualityA Model Context Protocol (MCP) server that enables real-time, interactive AI chat with Selector AI through a streaming-capable server and Docker-based client communicating via stdin/stdout.Last updated -1PythonApache 2.0
- -securityAlicense-qualityThe Model Context Protocol (MCP) Jenkins integration is an open-source implementation that bridges Jenkins with AI language models following Anthropic's MCP specification. This project enables secure, contextual AI interactions with Jenkins tools while maintaining data privacy and security.Last updated -4PythonMIT License