Skip to main content
Glama

Git File Forensics MCP

by davidorex

Git 파일 포렌식 MCP

개별 파일 분석에 중점을 두고 저장소 전체 작업이 아닌 파일 기록, 변경 사항 및 패턴에 대한 자세한 통찰력을 얻는 데 도움이 되는 심층적인 git 파일 수준 포렌식을 위한 MCP 도구입니다.

설치

  1. 서버를 복제하고 빌드합니다.

지엑스피1

  1. MCP 설정에 다음을 추가합니다( ~/Library/Application Support/Code/User/globalStorage/david-dafu-dev.dafu/settings/cline_mcp_settings.json ):
{ "mcpServers": { "git-file-forensics": { "command": "/opt/homebrew/bin/node", "args": ["/path/to/git-file-forensics/build/index.js"], "alwaysAllow": [] } } }

사용 가능한 도구

1. 트랙_파일_버전

이름 변경 및 이동을 포함하여 특정 파일의 전체 버전 기록을 추적합니다.

{ "method": "tools/call", "params": { "name": "track_file_versions", "arguments": { "repoPath": "/path/to/repo", "file": "path/to/file", "outputPath": "output.json" } } }

2. 파일 차이 분석

파일의 두 버전 사이의 구체적인 변경 사항을 분석합니다.

{ "method": "tools/call", "params": { "name": "analyze_file_diff", "arguments": { "repoPath": "/path/to/repo", "file": "path/to/file", "versions": { "from": "commit-hash-1", "to": "commit-hash-2" }, "outputPath": "output.json" } } }

3. 파일 컨텍스트 분석

특정 커밋의 파일 변경 사항에 대한 더 광범위한 맥락을 분석합니다.

{ "method": "tools/call", "params": { "name": "analyze_file_context", "arguments": { "repoPath": "/path/to/repo", "file": "path/to/file", "commit": "commit-hash", "outputPath": "output.json" } } }

4. 파일 의미론 분석

파일 기록의 의미적 변화와 패턴을 분석합니다.

{ "method": "tools/call", "params": { "name": "analyze_file_semantics", "arguments": { "repoPath": "/path/to/repo", "file": "path/to/file", "outputPath": "output.json" } } }

출력 형식

모든 도구는 다음을 포함하는 JSON 파일을 출력합니다.

  • 상세 분석 결과
  • 요약 통계
  • 패턴과 관계 변경
  • 위험 평가(해당되는 경우)

요구 사항

  • 노드.js
  • Git(설치 및 접근 가능해야 함)
  • MCP SDK

특허

이 프로젝트는 Apache 라이선스 버전 2.0에 따라 라이선스가 부여되었습니다. 자세한 내용은 LICENSE.txt 파일을 참조하세요.

저작권 davidorex.ai. Apache 라이선스 버전 2.0에 따라 라이선스가 부여되었습니다. 라이선스를 준수하지 않는 한 이 프로젝트를 사용할 수 없습니다. 라이선스 사본은 http://www.apache.org/licenses/LICENSE-2.0 에서 확인하실 수 있습니다.

You must be authenticated.

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

local-only server

The server can only run on the client's local machine because it depends on local resources.

개별 파일 분석에 중점을 두고 저장소 전체 작업이 아닌 Git 저장소 내에서 자세한 파일 기록, 변경 사항 및 패턴을 분석하는 심층적인 Git 파일 수준 포렌식 도구를 제공합니다.

  1. 설치
    1. 사용 가능한 도구
      1. 트랙\파일\버전
      2. 파일 차이 분석
      3. 파일 컨텍스트 분석
      4. 파일 의미론 분석
    2. 출력 형식
      1. 요구 사항
        1. 특허

          Related MCP Servers

          • A
            security
            F
            license
            A
            quality
            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.
            Last updated -
            2
            17
            TypeScript
          • -
            security
            A
            license
            -
            quality
            A specialized MCP server for in-depth analysis of git repositories, offering tools for branch overview, time period analysis, file changes, and merge recommendations.
            Last updated -
            4
            1
            JavaScript
            Apache 2.0
          • -
            security
            F
            license
            -
            quality
            Extracts diffs from GitHub Pull Requests, allowing users to retrieve and analyze changes between branches in a repository.
            Last updated -
            1
            JavaScript
          • A
            security
            A
            license
            A
            quality
            Analyzes git changes in repositories and generates conventional commit messages using OpenAI's GPT models, supporting both staged and unstaged changes with detailed summaries.
            Last updated -
            1
            6
            11
            TypeScript
            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/davidorex/git-file-forensics'

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