
Git File Forensics MCP
提供深入的 Git 文件级别取证工具,用于分析 Git 仓库中详细的文件历史、变更和模式,侧重于单个文件的分析,而非仓库范围的操作。
Tools
track_file_versions
Track complete version history of a specific file, including renames and moves
analyze_file_diff
Analyze specific changes between any two versions of a file
analyze_file_context
Analyze broader context of file changes in a specific commit
analyze_file_semantics
Analyze semantic changes and patterns in file history
README
Git 文件取证 MCP
一个用于深度 Git 文件级别取证的 MCP 工具,它有助于深入了解文件历史记录、更改和模式,侧重于单个文件分析,而不是存储库范围的操作。
安装
- 克隆并构建服务器:
git clone [repository-url]
cd git-file-forensics
npm install
npm run build
- 添加到您的 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. track_file_versions
跟踪特定文件的完整版本历史记录,包括重命名和移动。
{
"method": "tools/call",
"params": {
"name": "track_file_versions",
"arguments": {
"repoPath": "/path/to/repo",
"file": "path/to/file",
"outputPath": "output.json"
}
}
}
2. analyze_file_diff
分析文件任意两个版本之间的特定更改。
{
"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. analyze_file_context
分析特定提交中文件更改的更广泛的上下文。
{
"method": "tools/call",
"params": {
"name": "analyze_file_context",
"arguments": {
"repoPath": "/path/to/repo",
"file": "path/to/file",
"commit": "commit-hash",
"outputPath": "output.json"
}
}
}
4. analyze_file_semantics
分析文件历史记录中的语义更改和模式。
{
"method": "tools/call",
"params": {
"name": "analyze_file_semantics",
"arguments": {
"repoPath": "/path/to/repo",
"file": "path/to/file",
"outputPath": "output.json"
}
}
}
输出格式
所有工具都输出包含以下内容的 JSON 文件:
- 详细的分析结果
- 汇总统计信息
- 更改模式和关系
- 风险评估(如果适用)
要求
- Node.js
- Git(必须安装并可访问)
- MCP SDK
许可证
本项目采用 Apache License, Version 2.0 许可证 - 有关详细信息,请参阅 LICENSE.txt 文件。
版权所有 davidorex.ai。 根据 Apache License, Version 2.0 获得许可; 除非遵守许可,否则您不得使用本项目。 您可以在 http://www.apache.org/licenses/LICENSE-2.0 获取许可证副本
推荐服务器
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
MCP Package Docs Server
促进大型语言模型高效访问和获取 Go、Python 和 NPM 包的结构化文档,通过多语言支持和性能优化来增强软件开发。
Claude Code MCP
一个实现了 Claude Code 作为模型上下文协议(Model Context Protocol, MCP)服务器的方案,它可以通过标准化的 MCP 接口来使用 Claude 的软件工程能力(代码生成、编辑、审查和文件操作)。
@kazuph/mcp-taskmanager
用于任务管理的模型上下文协议服务器。它允许 Claude Desktop(或任何 MCP 客户端)在基于队列的系统中管理和执行任务。
Gitingest-MCP
一个用于 gitingest 的 MCP 服务器。它允许像 Claude Desktop、Cursor、Cline 等 MCP 客户端快速提取关于 Github 仓库的信息,包括仓库摘要、项目目录结构、文件内容等。
mermaid-mcp-server
一个模型上下文协议 (MCP) 服务器,用于将 Mermaid 图表转换为 PNG 图像。
Jira-Context-MCP
MCP 服务器向 AI 编码助手(如 Cursor)提供 Jira 工单信息。

Linear MCP Server
一个模型上下文协议(Model Context Protocol)服务器,它与 Linear 的问题跟踪系统集成,允许大型语言模型(LLM)通过自然语言交互来创建、更新、搜索和评论 Linear 问题。

Sequential Thinking MCP Server
这个服务器通过将复杂问题分解为顺序步骤来促进结构化的问题解决,支持修订,并通过完整的 MCP 集成来实现多条解决方案路径。