git-mcp
mcp1.0.0Put an end to code hallucinations! GitMCP is a free, open-source, remote MCP server for any GitHub project
By idosal | 61 findings | Scanned 6/15/2026 | tooltrust-scanner/v0.3.17 | 8.2k
Risk Summary
Safe With Normal ControlsDep Visibility is the main signal, but overall risk remains within an acceptable range.
Potential impact: This finding indicates the tool should be reviewed before it is trusted.
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 (61)
tool performs network or execution operations but declares no rate-limit, timeout, or retry configuration
git_list_branchesgit_pullgit_pushgit_fetchgit_stashgit_remotegit_searchFix: 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.
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_undo_commitgit_revertgit_discard_changesgit_unstagegit_undo_mergegit_resetgit_squashgit_amendgit_stagegit_commitgit_create_branchgit_list_branchesgit_checkoutgit_delete_branchgit_move_changesgit_cherry_pickgit_mergegit_rebasegit_pullgit_pushgit_fetchgit_update_branchgit_stashgit_remotegit_loggit_showgit_blamegit_diffgit_searchgit_file_historygit_statusgit_refloggit_recover_commitgit_recover_branchgit_find_lostgit_reset_to_reflogFix: Review and remediate the identified issue.
declared capabilities: filesystem access
git_discard_changesgit_unstagegit_stagegit_create_branchgit_delete_branchgit_update_branchgit_loggit_blamegit_diffgit_file_historygit_statusdeclared capabilities: network access
git_list_branchesgit_pullgit_fetchgit_remotegit_searchdeclared capabilities: network access, filesystem access
git_pushdeclared capabilities: HTTP requests
git_stashFix: Tool requests broad permissions (exec/fs/network). Validate input parameters using Enums where possible, and restrict file system operations to explicit allowed directories.
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"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)