Skip to main content
Glama

MCP Git Repo Browser

MCP Git 리포 브라우저(Node.js)

MCP(Model Context Protocol)를 사용하는 Git 저장소 브라우저의 Node.js 구현입니다.

구성

MCP 설정 구성 파일에 다음을 추가하세요.

지엑스피1

특징

서버는 두 가지 주요 도구를 제공합니다.

  1. git_directory_structure : 저장소의 디렉토리 구조를 트리 형태로 표현한 것을 반환합니다.
    • 입력: 저장소 URL
    • 출력: 저장소 구조의 ASCII 트리 표현
  2. git_read_important_files : 저장소의 지정된 파일의 내용을 읽고 반환합니다.
    • 입력: 저장소 URL 및 파일 경로 목록
    • 출력: 파일 경로를 해당 내용에 매핑하는 사전

구현 세부 사항

  • 핵심 기능을 위해 Node.js 네이티브 모듈(crypto, path, os)을 사용합니다.
  • 향상된 파일 작업을 위해 fs-extra를 활용합니다.
  • Git 저장소 작업에 simple-git을 사용합니다.
  • 깔끔한 오류 처리 및 리소스 정리를 구현합니다.
  • 저장소 URL 해시를 기반으로 결정론적 임시 디렉토리를 생성합니다.
  • 효율성을 위해 가능한 경우 복제된 저장소를 재사용합니다.

요구 사항

  • Node.js 14.x 이상
  • 시스템에 Git 설치

설치

git clone <repository-url> cd mcp-git-repo-browser npm install

용법

서버를 시작합니다:

node src/index.js

서버는 stdio에서 실행되므로 MCP 클라이언트와 호환됩니다.

특허

MIT 라이센스 - 자세한 내용은 LICENSE 파일을 참조하세요.

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

MCP를 통해 Git 저장소를 탐색할 수 있는 Node.js 서버로, 디렉토리 구조를 보고 저장소에서 중요한 파일을 읽을 수 있는 도구를 제공합니다.

  1. 구성
    1. 특징
      1. 구현 세부 사항
        1. 요구 사항
          1. 설치
            1. 용법
              1. 특허

                Related MCP Servers

                • A
                  security
                  F
                  license
                  A
                  quality
                  MCP Server for the GitHub API, providing features for file operations, repository management, and advanced search, with automatic branch creation and comprehensive error handling.
                  Last updated -
                  18
                  4
                  3
                  TypeScript
                  • Linux
                  • Apple
                • A
                  security
                  F
                  license
                  A
                  quality
                  MCP server for managing Git operations on local repositories, allowing users to list repositories, get and create tags, list commits, push tags, and refresh repositories through a standardized interface.
                  Last updated -
                  6
                  Python
                • A
                  security
                  A
                  license
                  A
                  quality
                  An MCP server for gitingest. It allows MCP clients like Claude Desktop, Cursor, Cline etc to quickly extract information about Github repositories including repository summaries, project directory structure, file contents, etc
                  Last updated -
                  3
                  8
                  Python
                  MIT License
                  • Apple
                • -
                  security
                  A
                  license
                  -
                  quality
                  A Node.js implementation that enables browsing Git repositories through the Model Context Protocol, providing features like displaying directory structures, reading files, searching code, comparing branches, and viewing commit history.
                  Last updated -
                  10
                  JavaScript
                  MIT License

                View all related MCP servers

                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/razorback16/mcp-git-repo-browser'

                If you have feedback or need assistance with the MCP directory API, please join our Discord server