# Git MCP server

Agent View of the PolicyLayer registry record for Git: identity, probed posture, risk grade, and all 14 tools classified. HTML page: https://policylayer.com/tools/git

## Facts

- Server id: `@modelcontextprotocol/server-git`
- Ref (repo): `modelcontextprotocol/server-git`
- Install: `npx -y @modelcontextprotocol/server-git`
- Homepage: https://github.com/modelcontextprotocol/server-git
- Registry record: grade D, identity verified
- Lifecycle: active
- Rate-limited: no
- Tools: 14
- Tool categories present: Destructive, Read, Write
- Tags: git, admin
- Record last modified: 2026-07-05T08:18:48.836Z

## Tools (14)

| Tool | Category | Risk | Record |
| --- | --- | --- | --- |
| `git_checkout` | Execute | High | https://policylayer.com/tools/git/git-checkout.md |
| `git_branch` | Read | Low | https://policylayer.com/tools/git/git-branch.md |
| `git_diff` | Read | Low | https://policylayer.com/tools/git/git-diff.md |
| `git_diff_staged` | Read | Low | https://policylayer.com/tools/git/git-diff-staged.md |
| `git_diff_unstaged` | Read | Low | https://policylayer.com/tools/git/git-diff-unstaged.md |
| `git_log` | Read | Low | https://policylayer.com/tools/git/git-log.md |
| `git_show` | Read | Low | https://policylayer.com/tools/git/git-show.md |
| `git_status` | Read | Low | https://policylayer.com/tools/git/git-status.md |
| `git_add` | Write | Medium | https://policylayer.com/tools/git/git-add.md |
| `git_clone` | Write | Medium | https://policylayer.com/tools/git/git-clone.md |
| `git_commit` | Write | Medium | https://policylayer.com/tools/git/git-commit.md |
| `git_create_branch` | Write | Medium | https://policylayer.com/tools/git/git-create-branch.md |
| `git_init` | Write | Medium | https://policylayer.com/tools/git/git-init.md |
| `git_reset` | Write | Medium | https://policylayer.com/tools/git/git-reset.md |

## Tool descriptions

- `git_checkout` — Switch branches in the repository
- `git_branch` — List Git branches
- `git_diff` — Show differences between branches or commits
- `git_diff_staged` — Show changes staged for the next commit
- `git_diff_unstaged` — Show unstaged changes in working directory
- `git_log` — Show commit history
- `git_show` — Show the contents of a commit
- `git_status` — Show the working tree status
- `git_add` — Stage file contents for commit
- `git_clone` — Clone a repository to local filesystem
- `git_commit` — Record changes to the repository
- `git_create_branch` — Create a new branch from an optional base
- `git_init` — Initialise a new Git repository
- `git_reset` — Unstage all staged changes

## Related servers

- UnClick (1658 tools) — https://policylayer.com/tools/io-github-malamutemayhem-unclick-mcp-server.md
- Nodebench (824 tools) — https://policylayer.com/tools/io-github-homenshum-nodebench.md
- Yaver (812 tools) — https://policylayer.com/tools/io-github-kivanccakmak-yaver.md
- Binance MCP Server (734 tools) — https://policylayer.com/tools/nirholas-binance-mcp.md
- Pfsense (680 tools) — https://policylayer.com/tools/abl030-pfsense-mcp.md
- AdButler (622 tools) — https://policylayer.com/tools/adbutler.md
- Crow (587 tools) — https://policylayer.com/tools/kh0pper-crow.md
- Fortimanager (584 tools) — https://policylayer.com/tools/jmpijll-fortimanager-mcp.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=git · API: https://policylayer.com/registry/api · Recommended policies for every tool: https://policylayer.com/policies/git
