DG

ddukbg/github-enterprise-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

29 stars 13 forks 품질 58 트렌드 0

github-enterprise-mcp의

개요

GitHub Enterprise API와 통합을 위한 MCP(모델 Context Protocol) 서버. 이 서버는 MCP 인터페이스를 제공하여 손쉽게 저장소 정보, 문제, PR 및 Cursor의 GitHub Enterprise에서 손쉽게 액세스할 수 있습니다. 이 프로젝트는 GitHub Enterprise Server 환경에 주로 설계되었지만 다음과 같은 작업을 수행합니다. : 일부 엔터프라이즈 별 기능 (라이센스 정보 및 엔터프라이즈 통계와 같은)은 GitHub.com 또는 GitHub Enterprise Cloud와 작동하지 않습니다. - GitHub Enterprise 인스턴스의 저장소 목록 검색 - 상세 저장소 정보 받기 - 목록 저장소 - 파일 및 디렉토리 내용 보기 - 문제 및 풀 요청 관리 - 저장소 관리 (창조, 업데이트, 삭제) - GitHub 작업 흐름 관리 - 사용자 관리 (리스트, 생성, 업데이트, 삭제, suspend/unsuspend 사용자) - 액세스 엔터프라이즈 통계 - 향상된 오류 처리 및 사용자 친화적 인 응답 포맷 - 노드.

개요(AI 번역)

GitHub Enterprise API와 통합을 위한 MCP(모델 Context Protocol) 서버. 이 서버는 MCP 인터페이스를 제공하여 손쉽게 저장소 정보, 문제, PR 및 Cursor의 GitHub Enterprise에서 손쉽게 액세스할 수 있습니다.

호환성

이 프로젝트는 GitHub Enterprise Server 환경에 주로 설계되었지만 다음과 같은 작업을 수행합니다.

프로젝트

  • GitHub Enterprise 클라우드

Note: 일부 엔터프라이즈 별 기능(라이선스 정보 및 엔터프라이즈 통계와 같은)은 GitHub.com 또는 GitHub Enterprise Cloud와 작동하지 않습니다.

키 기능

  • GitHub Enterprise 인스턴스에서 저장소 목록 검색
  • 상세한 저장소 정보를 얻기
  • 목록 저장소 지점
  • 파일 및 디렉토리 내용 보기
  • 문제 및 풀 요청 관리
  • 저장소 관리 (create, update, delete)
  • GitHub 작업 흐름 관리
  • 사용자 관리 (리스트, 생성, 업데이트, 삭제, suspend/unsuspend 사용자)
  • Access 기업 통계
  • 향상된 오류 처리 및 사용자 친화적 인 응답 포맷

시작하기

# 필수품

  • Node.js 18 이상
  • GitHub Enterprise 인스턴스에 액세스
  • 개인 액세스 토큰 (PAT)

Docker 설치 및 설치

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

GitHub Enterprise MCP Server

An MCP (Model Context Protocol) server for integration with GitHub Enterprise API. This server provides an MCP interface to easily access repository information, issues, PRs, and more from GitHub Enterprise in Cursor.

Compatibility

This project is primarily designed for GitHub Enterprise Server environments, but it also works with:

Note: Some enterprise-specific features (like license information and enterprise statistics) will not work with GitHub.com or GitHub Enterprise Cloud.

Key Features

  • Retrieve repository list from GitHub Enterprise instances
  • Get detailed repository information
  • List repository branches
  • View file and directory contents
  • Manage issues and pull requests
  • Repository management (create, update, delete)
  • GitHub Actions workflows management
  • User management (list, create, update, delete, suspend/unsuspend users)
  • Access enterprise statistics
  • Enhanced error handling and user-friendly response formatting

Getting Started

Prerequisites

  • Node.js 18 or higher
  • Access to a GitHub Enterprise instance
  • Personal Access Token (PAT)

Docker Installation and Setup

Option 1: Running with Docker

  1. Build the Docker image:

    docker build -t github-enterprise-mcp .
    
  2. Run the Docker container with environment variables:

    docker run -p 3000:3000 \
      -e GITHUB_TOKEN="your_github_token" \
      -e GITHUB_ENTERPRISE_URL="https://github.your-company.com/api/v3" \
      -e DEBUG=true \
      github-enterprise-mcp
    

Note: The Dockerfile is configured to run with --transport http by default. If you need to change this, you can override the command:

docker run -p 3000:3000 \
  -e GITHUB_TOKEN="your_github_token" \
  -e GITHUB_ENTERPRISE_URL="https://github.your-company.com/api/v3" \
  -e DEBUG=true \
  github-enterprise-mcp node dist/index.js --transport http --debug

Option 2: Using Docker Compose

  1. Create a .env file in the project root with the required environment variables:

    GITHUB_ENTERPRISE_URL=https://github.your-company.com/api/v3
    GITHUB_TOKEN=your_github_token
    DEBUG=true
    
  2. Start the container with Docker Compose:

    docker-compose up -d
    
  3. Check the logs:

    docker-compose logs -f
    
  4. Stop the container:

    docker-compose down
    

Installation and Setup

Local Development (Using Concurrent Mode)

GitHub에서 전체 README 보기

설치

npx -y @ddukbg/github-enterprise-mcp --token=YOUR_GITHUB_TOKEN --github-enterprise-url=YOUR_GITHUB_ENTERPRISE_URL
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "github-enterprise": { "url": "http://localhost:3000/sse" } } }