Pera1용 GitHub MCP 서버
GitHub 코드를 Claude.ai에 연결하는 모델 컨텍스트 프로토콜 서버입니다. 이 서버는 Pera1 서비스를 활용하여 GitHub 저장소에서 코드를 추출하고 Claude에 더 나은 컨텍스트를 제공합니다.
설정
MCP 구성 파일( ~/Library/Application Support/Claude/claude_desktop_config.json )에 다음을 추가합니다.
지엑스피1
이제 Claude에게 GitHub 코드 저장소에 대해 물어볼 수 있습니다.
매개변수
url: GitHub 저장소 URL (필수)dir: 디렉토리 경로로 파일 필터링(쉼표로 구분)ext: 확장자별로 파일 필터링(쉼표로 구분)mode: 표시 모드(예:tree디렉토리 구조와 README 파일만 표시)branch: 가져올 브랜치를 지정합니다.file: 검색할 단일 파일을 지정합니다.
사용 예
클로드에게 다음과 같은 질문을 할 수 있습니다.
Tell me about the implementation of GitHub repository https://github.com/username/repository
특정 디렉토리의 경우:
Explain the components in https://github.com/username/repository?dir=src/components
특정 파일의 경우:
Show me the Button component from https://github.com/username/repository?file=src/components/Button.tsx
README 파일이 있는 디렉토리 구조의 경우:
Show me the structure of https://github.com/username/repository?mode=tree
특정 지점의 경우:
Analyze the develop branch of https://github.com/username/repository?branch=develop
특허
MIT
작가
카즈프( https://x.com/kazuph )