DM

dazeb/mcp-github-mapper

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

25 stars 11 forks 品質 60 トレンド 0

MCP GitHub Mapperは、リポジトリをリモートでマッピングし、マップを直接コードエディタにインポートするMCPツールです.

概要

GitHub Mapper は、GitHub リポジトリをマッピングおよび分析するためのツールを提供するモデルコンテキストプロトコル(MCP)サーバーです。 GitHub Personal Accessトークンを設定し、その構造と概要統計を含む特定のリポジトリに関する詳細情報を取得できます。 - GitHubパーソナルアクセスを設定する 認証トークン - GitHubリポジトリ構造のマップと分析 - リポジトリのサマリー情報(スター、フォーク、言語など)の取得 - 詳細なリポジトリファイル構造を提供 - Node.js (v18.0.0 以降推奨) - npm (Node.js に準拠) - 適切な権限を持つ GitHub パーソナルアクセストークン GitHub MapperをClaudeデスクトップにSmisery経由で自動的にインストールするには: 2. サーバは stdio 上で実行し、MCP クライアントと通信できるようにします。 GitHub Personal Accessトークンを認証に設定します。 - ここにあなたの個人的なアクセストークンを作成します。 トークン(クラス)を選択します.

概要(AI 翻訳)

GitHub Mapper は、GitHub リポジトリをマッピングおよび分析するためのツールを提供するモデルコンテキストプロトコル(MCP)サーバーです。 GitHub Personal Accessトークンを設定し、その構造と概要統計を含む特定のリポジトリに関する詳細情報を取得できます。

##特徴

  • 認証用にGitHub Personal Accessトークンを設定
  • GitHubリポジトリ構造のマップと分析
  • リポジトリの概要情報の取得(スター、フォーク、言語など)
  • 詳細なリポジトリファイル構造を提供

前提条件

  • Node.js(v18.0.0以降推奨)
  • npm (Node.js とのコンパイル)
  • 適切な権限を持つGitHub Personal Accessトークン

インストール

##Smitheryでインストールする

GitHub MapperをClaudeデスクトップにSmisery経由で自動的にインストールするには:

手動インストール

  1. リポジトリのクローン化:

  2. 依存関係を取付けて下さい:

  3. プロジェクトのビルド:

使用法

  1. サーバーを始めて下さい:

  2. サーバは stdio 上で実行し、MCP クライアントと通信できるようにします。

利用可能なツール

##1. set-github-token

GitHub Personal Accessトークンを認証に設定します。

  • ここにあなたの個人的なアクセストークンを作成します。 トークン(クラス)を選択します。 範囲:レポ

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

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

Prerequisites

  • Node.js (v18.0.0 or later recommended)
  • npm (comes with Node.js)
  • A GitHub Personal Access Token with appropriate permissions

Installation

Installing via Smithery

To install GitHub Mapper for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install github-mapper-mcp-server --client claude

Manual Installation

  1. Clone the repository:

    git clone https://github.com/your-username/github-mapper-mcp-server.git
    cd github-mapper-mcp-server
    
  2. Install dependencies:

    npm install
    
  3. Build the project:

    npm run build
    

Usage

  1. Start the server:

    npm start
    
  2. The server will run on stdio, allowing it to communicate with MCP clients.

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:

Please set-github-token to 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

2. map-github-repo

Maps a GitHub repository structure and provides summary information.

Example:

Please map-github-repo https://github.com/dazeb/MCP-Github-Mapper

Manual install in Cline or Roo-Cline MCP Client:

{
  "mcpServers": {
    "github-mapper": {
      "command": "node",
      "args": ["/home/user/Documents/Cline/MCP/github-mapper/build/index.js"]
    }
  }
}

Example Output

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": {
GitHub で README 全文を見る

インストール

npx -y @smithery/cli install github-mapper-mcp-server --client claude
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "github-mapper": { "command": "node", "args": ["/home/user/Documents/Cline/MCP/github-mapper/build/index.js"] } } }