DM

dazeb/mcp-github-mapper

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

25 stars 11 forks 품질 60 트렌드 0

MCP GitHub Mapper는 모든 저장소를 원격으로 맵핑하고 코드를 편집기로 직접 가져올 MCP 도구입니다.

개요

GitHub Mapper는 매핑 및 분석 GitHub 저장소에 대한 도구를 제공하는 모델 Context Protocol (MCP) 서버입니다. GitHub Personal Access Token을 설정하고 지정된 저장소에 대한 자세한 정보를 검색할 수 있습니다. - GitHub 개인 액세스 설정 인증 토큰 - 지도 및 분석 GitHub 저장소 구조 - 검색 저장소 요약 정보 (스타, 포크, 언어 등) - 상세한 저장소 파일 구조를 제공합니다 - Node.js (v18.0.0 이상 권장) - npm ( Node.js와 함께 사용) - 적절한 권한을 가진 GitHub 개인 액세스 토큰 Smithery를 통해 Claude Desktop용 GitHub Mapper 설치하기: 2. 서버는 stdio에 달할 것이며, MCP 클라이언트와 통신할 수 있습니다. GitHub Personal Access Token을 인증합니다. - 개인 액세스 토큰 만들기. 토큰을 선택하세요 (classic).

개요(AI 번역)

GitHub Mapper는 매핑 및 분석 GitHub 저장소에 대한 도구를 제공하는 모델 Context Protocol (MCP) 서버입니다. GitHub Personal Access Token을 설정하고 지정된 저장소에 대한 자세한 정보를 검색할 수 있습니다.

특징

  • GitHub Personal Access Token 설정
  • 지도 및 분석 GitHub 저장소 구조
  • 검색 저장소 요약 정보 (스타, 포크, 언어 등)
  • 상세한 저장소 파일 구조를 제공

필수품

  • Node.js (v18.0.0 이상 권장)
  • npm ( Node.js와 함께 사용)
  • 적절한 권한을 가진 GitHub Personal Access Token

설치

Smithery를 통해 설치

Smithery를 통해 Claude Desktop용 GitHub Mapper 설치하기:

수동 설치

  1. 저장소를 복제:

  2. 의존성 설치:

  3. 프로젝트 구축:

사용법

  1. 서버 시작:

  2. 서버는 stdio에 달할 것이며, MCP 클라이언트와 통신할 수 있습니다.

사용 가능한 도구

##1. set-github-token

GitHub Personal Access Token을 인증합니다.

  • 개인 액세스 토큰 만들기. 토큰을 선택하세요 (classic). 범위: repo

이 페이지는 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"] } } }