GitPeak

io.github.awalhadi由 GitHub 账号 awalhadi 发布v4.1.12更新于 Nov 3, 2026

面向AI代理的Git上下文:状态、暂存差异、提交日志、仓库健康、合并风险、行历史

AI 翻译由 AI 模型根据下方的原文描述翻译,可能有误。

原文描述

Git context for AI agents: status, staged diff, commit log, repo health, merge risk, line history

已验证STDIO仅桌面开发者工具AI 与机器学习

概览

GitPeak 的本地 MCP 服务;无需登录;STDIO;8 个工具。

暂无 AI 概览:以下信息来自注册中心条目和服务本身。

安装

在 SourceWeft 中

  1. 打开 控制台中的 GitPeak,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

该仓库没有 README。

工具

8

gitpeak_repo_status

Get the current working-tree status of the active git repository: staged files, unstaged changes, untracked files, branch name, ahead/behind count, and whether a merge or rebase is in progress.

无需输入参数。

gitpeak_health

Get the repo health report: 0–100 health score, stale branches, secret-leak warnings, merge-risk branches, never-pushed branches, and unpushed commit count.

无需输入参数。

gitpeak_staged_diff

Get the full diff of all staged changes. Use before generating a commit message or reviewing what an AI agent has staged.

无需输入参数。

gitpeak_commit_log

Get recent commit history with author, date, message, and AI-agent detection results (is this commit from an AI agent? what is its risk score?).

输入参数limitbranch

gitpeak_merge_risk

Predict the merge risk (0–100%) for merging sourceBranch into targetBranch based on file overlap, churn history, and past conflict rates.

输入参数sourceBranch必填targetBranch

gitpeak_blame_line

Get the change history of a specific line in a file: every commit that touched it, newest first, with author, date, summary and any linked issue refs. Returns a list of revisions, not a single blame record.

输入参数file必填line必填

gitpeak_worktrees

List all git worktrees for the current repository with their branch and status.

无需输入参数。

gitpeak_dispatch

Dispatch any registered GitPeak command by name. Use for operations not covered by dedicated tools (stash, checkout, create branch, etc.). Returns the command result.

输入参数command必填payload

版本历史

1
  1. v4.1.12最新Nov 3, 2026

评分

已满足适用检查项的 65%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分
  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分

    请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。

  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。