GitHub Mapper MCP Server
GitHub Mapper MCP-Server
GitHub Mapper ist ein Model Context Protocol (MCP)-Server, der Tools zum Mapping und Analysieren von GitHub-Repositorys bereitstellt. Er ermöglicht es Benutzern, einen persönlichen GitHub-Zugriffstoken festzulegen und detaillierte Informationen zu einem bestimmten Repository abzurufen, einschließlich seiner Struktur und zusammenfassenden Statistiken.
Merkmale
Legen Sie den persönlichen GitHub-Zugriffstoken zur Authentifizierung fest
GitHub-Repository-Struktur abbilden und analysieren
Abrufen von zusammenfassenden Repository-Informationen (Sterne, Forks, Sprache usw.)
Stellen Sie eine detaillierte Repository-Dateistruktur bereit
Related MCP server: GitHub MCP Server
Voraussetzungen
Node.js (v18.0.0 oder höher empfohlen)
npm (wird mit Node.js geliefert)
Ein GitHub Personal Access Token mit entsprechenden Berechtigungen
Installation
Installation über Smithery
So installieren Sie GitHub Mapper für Claude Desktop automatisch über Smithery :
npx -y @smithery/cli install github-mapper-mcp-server --client claudeManuelle Installation
Klonen Sie das Repository:
git clone https://github.com/your-username/github-mapper-mcp-server.git cd github-mapper-mcp-serverInstallieren Sie Abhängigkeiten:
npm installErstellen Sie das Projekt:
npm run build
Verwendung
Starten Sie den Server:
npm startDer Server wird auf stdio ausgeführt und kann daher mit MCP-Clients kommunizieren.
Verfügbare Tools
1. set-github-token
Legt das persönliche GitHub-Zugriffstoken zur Authentifizierung fest.
Erstellen Sie hier Ihren persönlichen Zugriffstoken. Wählen Sie Token (klassisch). Geltungsbereich: Repo
Beispiel in Ihrer IDE oder Ihrem Claude Desktop:
Please set-github-token to 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2. map-github-repo
Bildet eine GitHub-Repository-Struktur ab und bietet zusammenfassende Informationen.
Beispiel:
Please map-github-repo https://github.com/dazeb/MCP-Github-MapperManuelle Installation im Cline- oder Roo-Cline-MCP-Client:
{
"mcpServers": {
"github-mapper": {
"command": "node",
"args": ["/home/user/Documents/Cline/MCP/github-mapper/build/index.js"]
}
}
}Beispielausgabe
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
}Bilder
Ausführen von Evaluierungen
Das Evals-Paket lädt einen MCP-Client, der anschließend die Datei index.ts ausführt, sodass zwischen den Tests kein Neuaufbau erforderlich ist. Sie können Umgebungsvariablen laden, indem Sie dem Befehl npx voranstellen. Die vollständige Dokumentation finden Sie hier .
OPENAI_API_KEY=your-key npx mcp-eval src/evals/evals.ts src/index.tsFehlerbehandlung
Wenn das GitHub-Token nicht festgelegt ist, erhalten Sie eine Fehlermeldung mit der Aufforderung, zuerst das Tool
set-github-tokenzu verwenden.Ungültige GitHub-URLs oder Repository-Pfade führen zu entsprechenden Fehlermeldungen.
Beitragen
Beiträge sind willkommen! Senden Sie gerne einen Pull Request.
Lizenz
Dieses Projekt ist unter der MIT-Lizenz lizenziert.
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
- 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.11Apache 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.4522ISC
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