GitHub MCP Server

by ualUsham
Verified

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Integrations

  • Enables interaction with the GitHub API, providing tools for creating issues, retrieving repository information, listing repository issues, and searching repositories.

GitHub MCP(모델 컨텍스트 프로토콜) 서버

안녕하세요! 이 서버는 Claude와 같은 MCP 호환 LLM이 제 MCP 서버와 통신하고 GitHub API와 상호 작용할 수 있도록 설계된 GitHub MCP 서버입니다.

요구 사항

  • TypeScript(프로그래밍 언어)
  • Octokit(GitHub에 API 요청을 하기 위해)
  • 모델 컨텍스트 프로토콜 SDK

프로젝트를 로컬로 설정하세요

  1. 저장소를 복제합니다
  2. npm install 실행하세요
  3. .env.example 파일에서 제공된 샘플을 보고 .env 파일을 추가합니다.
  4. TypeScript 파일을 Javascript로 빌드하려면 npx tsc 실행하세요.
  5. 마지막으로 프로젝트를 실행하려면 node build/index.js 실행하세요.

테스트 방법

MCP 서버는 2가지 방법으로 테스트할 수 있습니다.

  • MCP 검사관
  • 클로드 데스크탑

MCP 검사기를 사용하여 테스트

  1. 터미널에서 npx @modelcontextprotocol/inspector node build/index.js 실행하기만 하면 됩니다.
  2. http://localhost:5173 으로 이동하세요
  3. 이제 MCP 검사기를 보고 테스트할 수 있습니다.

Claude Desktop을 사용하여 테스트

  1. 여기 에서 Claude Desktop을 다운로드하고 설치하세요
  2. 파일 > 설정... > 개발자 > 구성 편집으로 이동하세요.
  3. claude_desktop_config.json 파일의 위치가 열려야 합니다.
  4. 코드 편집기에서 해당 파일을 열고 다음을 추가합니다.지엑스피1
  5. Claude 데스크톱을 종료하고 다시 엽니다.

기능

MCP는 주로 두 가지 기능을 지원합니다.

  • 도구(4)
    • create-issue : GitHub 저장소에 새로운 이슈를 생성합니다.
    • get-repo-info : 특정 GitHub 저장소에 대한 정보를 가져옵니다.
    • list-issues : GitHub 저장소의 이슈를 나열합니다.
    • search-repos : GitHub 저장소 검색
  • 프롬프트(5)
    • create-issue-description : GitHub 이슈에 대한 설명을 생성합니다.
    • create-pull-request-description : GitHub 풀 리퀘스트에 대한 설명을 생성합니다.
    • search-repos-prompt : GitHub 저장소 검색을 위한 쿼리 생성
    • create-issue-prompt : GitHub 이슈 생성을 위한 매개변수 생성
    • enhance-github-response : 원시 GitHub API 응답 데이터를 포맷하고 향상시킵니다.

Claude 데스크톱의 MCP에 대한 "통합 선택" 옵션에서 드롭다운에서 적절한 프롬프트를 선택하거나 직접 프롬프트를 작성할 수 있습니다.

-
security - not tested
F
license - not found
-
quality - not tested

Claude와 다른 호환 LLM이 GitHub API와 상호 작용할 수 있도록 하는 MCP 서버로, 이슈 생성, 저장소 정보 검색, 이슈 나열, 저장소 검색과 같은 기능을 지원합니다.

  1. Requirements
    1. Setup the project locally
    2. Ways to test
    3. Test using MCP inspector
    4. Test using Claude Desktop
    5. Functionalities
ID: 4mcur07f57