GitHub Mapper MCP サーバー
GitHub Mapperは、GitHubリポジトリのマッピングと分析のためのツールを提供するModel Context Protocol(MCP)サーバーです。ユーザーはGitHub Personal Access Tokenを設定することで、指定されたリポジトリの構造や概要統計などの詳細情報を取得できます。
特徴
- 認証用のGitHub個人アクセストークンを設定する
- GitHub リポジトリ構造をマップして分析する
- リポジトリの概要情報(スター、フォーク、言語など)を取得します
- 詳細なリポジトリファイル構造を提供する
前提条件
- Node.js (v18.0.0 以降を推奨)
- npm (Node.js に付属)
- 適切な権限を持つGitHub個人アクセストークン
インストール
Smithery経由でインストール
Smithery経由で Claude Desktop 用の GitHub Mapper を自動的にインストールするには:
手動インストール
- リポジトリをクローンします。
- 依存関係をインストールします:
- プロジェクトをビルドします。
使用法
- サーバーを起動します。
- サーバーは stdio 上で実行され、MCP クライアントと通信できるようになります。
利用可能なツール
1. set-github-token
認証用の GitHub 個人アクセス トークンを設定します。
- こちらで個人アクセストークンを作成してください。トークン(クラシック)を選択してください。スコープ:リポジトリ
たとえば、IDE または Claude Desktop の場合:
2. map-github-repo
GitHub リポジトリ構造をマップし、概要情報を提供します。
例:
Cline または Roo-Cline MCP クライアントでの手動インストール:
出力例
画像
評価の実行
evalsパッケージはmcpクライアントをロードし、index.tsファイルを実行するため、テスト間でリビルドする必要はありません。npxコマンドの先頭に環境変数をロードすることもできます。完全なドキュメントはこちらでご覧いただけます。
エラー処理
- GitHub トークンが設定されていない場合は、最初に
set-github-token
ツールを使用するように求めるエラー メッセージが表示されます。 - 無効な GitHub URL またはリポジトリ パスの場合は、適切なエラー メッセージが表示されます。
貢献
貢献を歓迎します!お気軽にプルリクエストを送信してください。
ライセンス
このプロジェクトは MIT ライセンスに基づいてライセンスされています。
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
GitHubリポジトリのマッピングと分析のためのツールを提供します。ユーザーはGitHub Personal Access Tokenを設定し、指定されたリポジトリの構造や概要統計などの詳細情報を取得できます。
Related MCP Servers
- -securityFlicense-qualityEnables interaction with GitHub through the GitHub API, supporting file operations, repository management, advanced search, and issue tracking with comprehensive error handling and automatic branch creation.Last updated -91TypeScript
- AsecurityAlicenseAqualityProvides GitHub data analysis for repositories, developers, and organizations, enabling insights into open source ecosystems through API calls and natural language queries.Last updated -513JavaScriptMIT License
- -securityAlicense-qualityEnables interaction with GitHub repositories through the GitHub API, allowing file operations, repository management, issue tracking, and code search through natural language commands.Last updated -282TypeScriptMIT License
- -securityFlicense-qualityEnables 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 -Python