GitHub Mapper MCP Server
GitHub Mapper MCP-сервер
GitHub Mapper — это сервер Model Context Protocol (MCP), который предоставляет инструменты для сопоставления и анализа репозиториев GitHub. Он позволяет пользователям устанавливать токен персонального доступа GitHub и получать подробную информацию об указанном репозитории, включая его структуру и сводную статистику.
Функции
Установите GitHub Personal Access Token для аутентификации
Сопоставьте и проанализируйте структуру репозитория GitHub
Получить сводную информацию о репозитории (звезды, ветки, язык и т. д.)
Предоставьте подробную структуру файла репозитория
Related MCP server: GitHub MCP Server
Предпосылки
Node.js (рекомендуется версия 18.0.0 или более поздняя)
npm (входит в состав Node.js)
Персональный токен доступа GitHub с соответствующими разрешениями
Установка
Установка через Smithery
Чтобы автоматически установить GitHub Mapper для Claude Desktop через Smithery :
npx -y @smithery/cli install github-mapper-mcp-server --client claudeРучная установка
Клонируйте репозиторий:
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-MapperРучная установка в Cline или Roo-Cline MCP Client:
{
"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 загружает клиент mcp, который затем запускает файл index.ts, поэтому нет необходимости перестраиваться между тестами. Вы можете загрузить переменные среды, указав префикс команды npx. Полную документацию можно найти здесь .
OPENAI_API_KEY=your-key npx mcp-eval src/evals/evals.ts src/index.tsОбработка ошибок
Если токен GitHub не установлен, вы получите сообщение об ошибке с предложением сначала использовать инструмент
set-github-token.Неверные URL-адреса GitHub или пути к репозиториям приведут к появлению соответствующих сообщений об ошибках.
Внося вклад
Вклады приветствуются! Пожалуйста, не стесняйтесь отправлять запрос на включение.
Лицензия
Данный проект лицензирован по лицензии MIT.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceEnables Large Language Models to analyze GitHub repositories in real-time, providing tools for retrieving repository information, analyzing issues, accessing documentation, and visualizing activity.Last updated
- Alicense-qualityDmaintenanceEnables 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.Last updated30Apache 2.0
- Flicense-qualityDmaintenanceEnables 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.Last updated
- FlicenseBqualityDmaintenanceEnables analysis and querying of Git repository content (both public and private) through a unified tool that provides repository summaries, file structures, and full content optimized for LLM consumption.Last updated1
Related MCP Connectors
Screens public GitHub repos and PRs to generate risk maps, findings, and merge-readiness signals.
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Connect AI assistants to your GitHub-hosted Obsidian vault to seamlessly access, search, and analy…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/dazeb/MCP-Github-Mapper'
If you have feedback or need assistance with the MCP directory API, please join our Discord server