Critical-risk tools in GitHub MCP Server
5 of the 33 tools in GitHub MCP Server are classified as critical risk. This page profiles those tools specifically, with recommended policy actions and the attack patterns that target them.
Every operation listed below is an action PolicyLayer recommends controlling at the transport layer. Open any tool to see the full profile, risk score, and YAML policy snippet.
Tools at critical risk
-
git_cleanDestructiveRepository cleanup and maintenance with backup options
-
git_remote_removeDestructiveRemoves a remote repository
-
git_remove_allDestructiveRemoves all files from the staging area
-
git_resetDestructiveResets repository to a specific commit or state
-
git_tagDestructiveManage Git tags: create, list, delete, or show tag details
Attacks that target this class
Critical-risk tools in any server share these documented attack patterns. Each links to the full case and the defensive policy.