GitHub Mapper MCP Server
GitHub 매퍼 MCP 서버
GitHub Mapper는 GitHub 저장소를 매핑하고 분석하는 도구를 제공하는 모델 컨텍스트 프로토콜(MCP) 서버입니다. 사용자가 GitHub 개인 액세스 토큰을 설정하고 특정 저장소의 구조 및 요약 통계를 포함한 자세한 정보를 검색할 수 있도록 합니다.
특징
인증을 위해 GitHub 개인 액세스 토큰을 설정하세요
GitHub 저장소 구조를 매핑하고 분석합니다.
저장소 요약 정보(별점, 포크, 언어 등)를 검색합니다.
자세한 저장소 파일 구조 제공
Related MCP server: GitHub MCP Server
필수 조건
Node.js(v18.0.0 이상 권장)
npm(Node.js와 함께 제공)
적절한 권한이 있는 GitHub 개인 액세스 토큰
설치
Smithery를 통해 설치
Smithery 를 통해 Claude Desktop용 GitHub Mapper를 자동으로 설치하려면:
지엑스피1
수동 설치
저장소를 복제합니다.
git clone https://github.com/your-username/github-mapper-mcp-server.git cd github-mapper-mcp-server종속성 설치:
npm install프로젝트를 빌드하세요:
npm run build
용법
서버를 시작합니다:
npm start서버는 stdio에서 실행되므로 MCP 클라이언트와 통신할 수 있습니다.
사용 가능한 도구
1. set-github-token
인증을 위한 GitHub 개인 액세스 토큰을 설정합니다.
여기에서 개인 액세스 토큰을 생성하세요. 토큰(클래식)을 선택하세요. 범위: repo
예를 들어, IDE 또는 Claude Desktop에서:
Please set-github-token to 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2. map-github-repo
GitHub 저장소 구조를 매핑하고 요약 정보를 제공합니다.
예:
Please map-github-repo https://github.com/dazeb/MCP-Github-MapperCline 또는 Roo-Cline MCP 클라이언트에 수동 설치:
{
"mcpServers": {
"github-mapper": {
"command": "node",
"args": ["/home/user/Documents/Cline/MCP/github-mapper/build/index.js"]
}
}
}출력 예
Repository Analysis Summary:
Name: Hello-World
Description: My first repository on GitHub!
Stars: 1234
Forks: 567
Primary Language: JavaScript
Created: 2023-01-01
Last Updated: 2023-06-15
Repository Structure:
{
"src": {
"components": {
"Header.js": null,
"Footer.js": null
},
"pages": {
"index.js": null,
"about.js": null
},
"styles": {
"global.css": null
}
},
"public": {
"images": {
"logo.png": null
},
"favicon.ico": null
},
"package.json": null,
"README.md": null
}이미지
실행 평가
evals 패키지는 index.ts 파일을 실행하는 mcp 클라이언트를 로드하므로 테스트 사이에 다시 빌드할 필요가 없습니다. npx 명령 앞에 접두사를 붙여 환경 변수를 로드할 수 있습니다. 전체 문서는 여기에서 확인할 수 있습니다.
OPENAI_API_KEY=your-key npx mcp-eval src/evals/evals.ts src/index.ts오류 처리
GitHub 토큰이 설정되지 않은 경우 먼저
set-github-token도구를 사용하라는 오류 메시지가 표시됩니다.잘못된 GitHub URL이나 저장소 경로가 있으면 해당 오류 메시지가 표시됩니다.
기여하다
기여를 환영합니다! 풀 리퀘스트를 제출해 주세요.
특허
이 프로젝트는 MIT 라이선스에 따라 라이선스가 부여되었습니다.
Available Tools
2 toolsmap-github-repoC
Map a GitHub repository structure and provide summary information
Inputs: repoUrl (required).
set-github-tokenC
Set the GitHub Personal Access Token for authentication
Inputs: token (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have completely distinct purposes: one maps repository structures, while the other handles authentication. There is no overlap or ambiguity between them, making it easy for an agent to select the correct tool based on the task.
The tools use a mixed naming convention: 'map-github-repo' follows a verb-noun pattern with hyphens, while 'set-github-token' uses a verb-noun pattern but with a different structure. This inconsistency in style (hyphenated vs. standard verb_noun) reduces predictability, though both are readable.
With only 2 tools, the server feels thin for a GitHub-related domain, which typically involves operations like creating, updating, or deleting repositories, issues, or pull requests. The limited scope may hinder comprehensive agent workflows, as core functionalities are missing.
The server covers authentication and repository mapping but lacks essential GitHub operations such as CRUD for repositories, issues, or pull requests. This creates significant gaps that will likely cause agent failures when attempting common tasks like creating an issue or fetching repository details beyond structure.
Related MCP Connectors
Access the GitHub API, enabling file operations, repository management, search functionality, and…
GitHub repo search, stats, language breakdown and comparison as agent tools.
Manage repositories, users, releases, and automate GitHub workflows
Code intelligence for LLMs. Analyze, search, and retrieve code from any public git repository.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables Large Language Models to analyze GitHub repositories in real-time, providing tools for retrieving repository information, analyzing issues, accessing documentation, and visualizing activity.-
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to analyze GitHub repository structures and read file contents with features like directory traversal, file type analysis, syntax highlighting, and code pattern detection. Supports both public and private repositories through GitHub API integration.8 npmApache 2.0
- FlicenseNot gradedqualityDmaintenanceEnables access to GitHub repositories and data through the GitHub API. Supports retrieving repositories, issues, pull requests, and searching code across GitHub with authentication via personal access tokens.-
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to analyze GitHub repositories, including fetching repository details, searching, and retrieving README content.2MIT