git-mcp-server
mcp2.15.1A Git MCP server for AI agents. STDIO & Streamable HTTP.
By cyanheads | 67 findings | Scanned 6/22/2026 | tooltrust-scanner/v0.3.19 | 223
Risk Summary
Safe With Normal ControlsExcessive Permissions is the main signal, but overall risk remains within an acceptable range.
Potential impact: The agent may gain overly broad access to files, network, databases, or execution capabilities.
Recommended action: No high-risk findings were detected in this scan, but you should still apply least-privilege defaults and rescan after changes.
Suggested policy: keep this tool behind manual approval, do not allow unattended runs, and re-scan after narrowing risky permissions.
Security Findings (67)
input schema exposes 11 properties (threshold: 10)
git_branchgit_pushinput schema exposes 13 properties (threshold: 10)
git_logFix: Tool requests broad permissions (exec/fs/network). Validate input parameters using Enums where possible, and restrict file system operations to explicit allowed directories.
tool performs network or execution operations but declares no rate-limit, timeout, or retry configuration
git_checkoutgit_clear_working_dirgit_clonegit_fetchgit_pullgit_pushgit_remotegit_set_working_dirgit_stashFix: Declare explicit rate-limit, timeout, and retry configuration for all network and execution tools. Implement exponential back-off and surface resource state to the calling agent.
declared capabilities: filesystem access
git_addgit_blamegit_branchgit_changelog_analyzegit_cherry_pickgit_cleangit_commitgit_diffgit_initgit_loggit_mergegit_rebasegit_refloggit_resetgit_showgit_statusgit_taggit_worktreedeclared capabilities: filesystem access, HTTP requests
git_checkoutgit_clear_working_dirgit_stashdeclared capabilities: network access, filesystem access
git_clonegit_fetchgit_pullgit_pushgit_remotegit_set_working_dirFix: Tool requests broad permissions (exec/fs/network). Validate input parameters using Enums where possible, and restrict file system operations to explicit allowed directories.
No metadata.dependencies or repo_url were exposed by this MCP server, and no local project manifest could be inferred from the launch command.
git_addgit_blamegit_branchgit_changelog_analyzegit_checkoutgit_cherry_pickgit_cleangit_clear_working_dirgit_clonegit_commitgit_diffgit_fetchgit_initgit_loggit_mergegit_pullgit_pushgit_rebasegit_refloggit_remotegit_resetgit_set_working_dirgit_showgit_stashgit_statusgit_taggit_worktreegit_wrapup_instructionsFix: Review and remediate the identified issue.
Scan this tool yourself
Reproduce this audit locally, integrate into CI, or let your agent audit its own tools.
Install once, then scan any MCP server:
$ curl -sfL https://raw.githubusercontent.com/AgentSafe-AI/tooltrust-scanner/main/install.sh | bash$ tooltrust-scanner scan --server "npx -y git-mcp-server"Adjust the package name if your npm registry name differs from the tool ID. View source
Add badge to your README
Copy this Markdown to show your ToolTrust grade on GitHub.
[](https://github.com/AgentSafe-AI/tooltrust-directory)