GitHub Mapper MCP Server
GitHub Mapper MCP サーバー
GitHub Mapperは、GitHubリポジトリのマッピングと分析のためのツールを提供するModel Context Protocol(MCP)サーバーです。ユーザーはGitHub Personal Access Tokenを設定することで、指定されたリポジトリの構造や概要統計などの詳細情報を取得できます。
特徴
認証用のGitHub個人アクセストークンを設定する
GitHub リポジトリ構造をマップして分析する
リポジトリの概要情報(スター、フォーク、言語など)を取得します
詳細なリポジトリファイル構造を提供する
Related MCP server: GitHub MCP Server
前提条件
Node.js (v18.0.0 以降を推奨)
npm (Node.js に付属)
適切な権限を持つGitHub個人アクセストークン
インストール
Smithery経由でインストール
Smithery経由で Claude Desktop 用の GitHub Mapper を自動的にインストールするには:
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 個人アクセス トークンを設定します。
こちらで個人アクセストークンを作成してください。トークン(クラシック)を選択してください。スコープ:リポジトリ
たとえば、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パッケージはmcpクライアントをロードし、index.tsファイルを実行するため、テスト間でリビルドする必要はありません。npxコマンドの先頭に環境変数をロードすることもできます。完全なドキュメントはこちらでご覧いただけます。
OPENAI_API_KEY=your-key npx mcp-eval src/evals/evals.ts src/index.tsエラー処理
GitHub トークンが設定されていない場合は、最初に
set-github-tokenツールを使用するように求めるエラー メッセージが表示されます。無効な GitHub URL またはリポジトリ パスの場合は、適切なエラー メッセージが表示されます。
貢献
貢献を歓迎します!お気軽にプルリクエストを送信してください。
ライセンス
このプロジェクトは 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.
- 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.11Apache 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.
- Alicense-qualityDmaintenanceEnables AI assistants to analyze GitHub repositories, including fetching repository details, searching, and retrieving README content.4672ISC
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