C27/100

git-mcp-server
mcp2.10.3An MCP (Model Context Protocol) server enabling LLMs and AI agents to interact with Git repositories. Provides tools for comprehensive Git operations including clone, commit, branch, diff, log, status, push, pull, merge, rebase, worktree, tag management, and more, via the MCP standard. STDIO & HTTP.
By cyanheads | 46 findings | Scanned 3/22/2026 | tooltrust-scanner/v0.1.15
5 High28 Medium13 Low
Security Findings (46)
- HighExcessive Permission Surface ×5
- git_clone:tool declares network permission
- git_fetch:tool declares network permission
- git_pull:tool declares network permission
- git_push:tool declares network permission
- git_remote:tool declares network permission
Rule: AS-002Fix: Tool requests broad permissions (exec/fs/network). Validate input parameters using Enums where possible, and restrict file system operations to explicit allowed directories. - MediumExcessive Permission Surface ×28
- git_add:tool declares fs permission
- git_blame:tool declares fs permission
- git_branch:tool declares fs permission
- git_changelog_analyze:tool declares fs permission
- git_checkout:tool declares fs permission
- git_cherry_pick:tool declares fs permission
- git_clean:tool declares fs permission
- git_clear_working_dir:tool declares fs permission
- git_clone:tool declares fs permission
- git_commit:tool declares fs permission
- git_diff:tool declares fs permission
- git_fetch:tool declares fs permission
- git_init:tool declares fs permission
- git_log:tool declares fs permission
- git_merge:tool declares fs permission
- git_pull:tool declares fs permission
- git_push:tool declares fs permission
- git_rebase:tool declares fs permission
- git_reflog:tool declares fs permission
- git_remote:tool declares fs permission
- git_reset:tool declares fs permission
- git_set_working_dir:tool declares fs permission
- git_show:tool declares fs permission
- git_stash:tool declares fs permission
- git_status:tool declares fs permission
- git_tag:tool declares fs permission
- git_worktree:tool declares fs permission
- git_wrapup_instructions:tool declares fs permission
Rule: AS-002Fix: Tool requests broad permissions (exec/fs/network). Validate input parameters using Enums where possible, and restrict file system operations to explicit allowed directories. - LowExcessive Permission Surface ×5
- git_checkout:tool declares http permission
- git_clear_working_dir:tool declares http permission
- git_log:input schema exposes 13 properties (threshold: 10)
- git_push:input schema exposes 11 properties (threshold: 10)
- git_stash:tool declares http permission
Rule: AS-002Fix: Tool requests broad permissions (exec/fs/network). Validate input parameters using Enums where possible, and restrict file system operations to explicit allowed directories. - LowDoS Resilience — Missing Rate Limit / Timeout ×8
- git_checkout:tool performs network or execution operations but declares no rate-limit, timeout, or retry configuration
- git_clear_working_dir:tool performs network or execution operations but declares no rate-limit, timeout, or retry configuration
- git_clone:tool performs network or execution operations but declares no rate-limit, timeout, or retry configuration
- git_fetch:tool performs network or execution operations but declares no rate-limit, timeout, or retry configuration
- git_pull:tool performs network or execution operations but declares no rate-limit, timeout, or retry configuration
- git_push:tool performs network or execution operations but declares no rate-limit, timeout, or retry configuration
- git_remote:tool performs network or execution operations but declares no rate-limit, timeout, or retry configuration
- git_stash:tool performs network or execution operations but declares no rate-limit, timeout, or retry configuration
Rule: AS-011Fix: 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.
Scan this tool yourself
Reproduce this audit locally or block risky tools in CI.
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)