ToolTrust
A4/100
cyanheads

git-mcp-server

mcp2.15.1

@cyanheads

A Git MCP server for AI agents. STDIO & Streamable HTTP.

By cyanheads | 67 findings | Scanned 6/22/2026 | tooltrust-scanner/v0.3.19 | 223

12 Low55 Info

Risk Summary

Safe With Normal Controls

Excessive 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)

  • LowAS-002

    ⚠️Excessive Permissions ×3

    input schema exposes 11 properties (threshold: 10)

    git_branchgit_push

    input schema exposes 13 properties (threshold: 10)

    git_log

    Fix: Tool requests broad permissions (exec/fs/network). Validate input parameters using Enums where possible, and restrict file system operations to explicit allowed directories.

  • LowAS-011

    ℹ️Missing Rate-Limit / Timeout ×9

    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_stash

    Fix: 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.

  • InfoAS-002

    ⚠️Excessive Permissions ×27

    declared capabilities: filesystem access

    git_addgit_blamegit_branchgit_changelog_analyzegit_cherry_pickgit_cleangit_commitgit_diffgit_initgit_loggit_mergegit_rebasegit_refloggit_resetgit_showgit_statusgit_taggit_worktree

    declared capabilities: filesystem access, HTTP requests

    git_checkoutgit_clear_working_dirgit_stash

    declared capabilities: network access, filesystem access

    git_clonegit_fetchgit_pullgit_pushgit_remotegit_set_working_dir

    Fix: Tool requests broad permissions (exec/fs/network). Validate input parameters using Enums where possible, and restrict file system operations to explicit allowed directories.

  • InfoAS-014

    ℹ️Dependency Inventory Unavailable ×28

    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_instructions

    Fix: 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.

[![ToolTrust Grade A](https://raw.githubusercontent.com/AgentSafe-AI/tooltrust-directory/main/docs/badges/grade-a.svg)](https://github.com/AgentSafe-AI/tooltrust-directory)