14 tools from the Git MCP Server, categorised by risk level.
View the Git policy →git_branch List Git branches 2/5 git_diff Show differences between branches or commits 2/5 git_diff_staged Show changes staged for the next commit 2/5 git_diff_unstaged Show unstaged changes in working directory 2/5 git_log Show commit history 2/5 git_show Show the contents of a commit 2/5 git_status Show the working tree status 2/5 git_add Stage file contents for commit 3/5 git_checkout Switch branches in the repository 4/5 git_clone Clone a repository to local filesystem 4/5 git_commit Record changes to the repository 4/5 git_create_branch Create a new branch from an optional base 3/5 git_init Initialise a new Git repository 3/5 The Git MCP server exposes 14 tools across 3 categories: Read, Write, Destructive.
Use Intercept, the open-source MCP proxy. Write YAML rules for each tool — rate limits, argument validation, or deny rules — then run Intercept in front of the Git server.
Git tools are categorised as Read (7), Write (6), Destructive (1). Each category has a recommended default policy.
Open source. One binary. Zero dependencies.
npx -y @policylayer/intercept