Labsco
dazeb logo

GitHub Mapper

โ˜… 25

from dazeb

Provides tools for mapping and analyzing GitHub repositories using a Personal Access Token for authentication.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedFreeAdvanced setup

GitHub Mapper MCP Server

GitHub Mapper is a Model Context Protocol (MCP) server that provides tools for mapping and analyzing GitHub repositories. It allows users to set a GitHub Personal Access Token and retrieve detailed information about a specified repository, including its structure and summary statistics.

Features

  • Set GitHub Personal Access Token for authentication

  • Map and analyze GitHub repository structure

  • Retrieve repository summary information (stars, forks, language, etc.)

  • Provide a detailed repository file structure

Available Tools

1. set-github-token

Sets the GitHub Personal Access Token for authentication.

  • Create your Personal Access Token here. Choose Tokens (classic). Scopes: repo

Example, in your IDE or Claude Desktop:

Copy & paste โ€” that's it
Please set-github-token to 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

2. map-github-repo

Maps a GitHub repository structure and provides summary information.

Example:

Copy & paste โ€” that's it
Please map-github-repo https://github.com/dazeb/MCP-Github-Mapper

Example Output

Copy & paste โ€” that's it
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
}

Images

Error Handling

  • If the GitHub token is not set, you'll receive an error message prompting you to use the set-github-token tool first.

  • Invalid GitHub URLs or repository paths will result in appropriate error messages.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License.