Hanzo
Cloud MCPgit

git

24 MCP tools on the Hanzo cloud door that call the git API.

The 24 tools tools/list names for git. Each dispatches to an operation in the git API reference.

ToolRouteArgumentsDescription
delete_v1_git_keys_idDELETE /v1/git/keys/{id}1Removes a registered SSH key, scoped to the caller's org: an org can only delete its own, and a key
delete_v1_git_repos_nameDELETE /v1/git/repos/{name}1Removes a repo's metadata and purges its storage. Answers 204 with no body.
delete_v1_git_repos_name_mirrors_idDELETE /v1/git/repos/{name}/mirrors/{id}2Removes one outbound mirror target; later pushes stop being forwarded to it.
delete_v1_git_repos_name_subscriptions_idDELETE /v1/git/repos/{name}/subscriptions/{id}2Removes one Slack subscription from a repo; the notifier stops posting that repo's events to that ch
get_v1_git_keysGET /v1/git/keys0Returns the SSH public keys registered to the caller's org — the keys that authenticate `git clone g
get_v1_git_reposGET /v1/git/repos0Returns the repos in the caller's scope, most recently updated first.
get_v1_git_repos_nameGET /v1/git/repos/{name}1Returns one repo with its live ref state: every branch name and the resolved HEAD commit.
get_v1_git_repos_name_blobGET /v1/git/repos/{name}/blob3Returns one file's bytes at one revision. Text comes back verbatim, binary comes back base64, and a
get_v1_git_repos_name_commitsGET /v1/git/repos/{name}/commits4Walks a ref's history newest first, or one path's history when a path is given.
get_v1_git_repos_name_filesGET /v1/git/repos/{name}/files3Returns every file a glob selects at one revision, WITH its bytes and the revision they came from.
get_v1_git_repos_name_mirrorsGET /v1/git/repos/{name}/mirrors1Returns a repo's outbound mirror targets — the downstream remotes the mirror reactor pushes to whene
get_v1_git_repos_name_readmeGET /v1/git/repos/{name}/readme2Returns the README at the tree root as plain text — unrendered, so the caller decides how to present
get_v1_git_repos_name_refsGET /v1/git/repos/{name}/refs1Lists a repo's branches, tags and default branch — what a branch picker needs in one call.
get_v1_git_repos_name_subscriptionsGET /v1/git/repos/{name}/subscriptions1Returns a repo's Slack subscriptions — which channels the lifecycle notifier posts this repo's push
get_v1_git_repos_name_treeGET /v1/git/repos/{name}/tree3Lists the immediate children of one directory at one revision, directories before files.
get_v1_git_usageGET /v1/git/usage0Returns per-repo and total storage bytes for the caller's org — the queryable, per-tenant number com
patch_v1_git_repos_namePATCH /v1/git/repos/{name}2Flips a repo's public bit, the one mutable repo setting today.
post_v1_git_keysPOST /v1/git/keys2Registers an SSH public key so it can authenticate git clone git@<host>:<org>/<repo>.git for the c
post_v1_git_reposPOST /v1/git/repos4Provisions an empty bare repository in the caller's scope and returns it with its clone URLs.
post_v1_git_repos_name_gcPOST /v1/git/repos/{name}/gc1Repacks a repo into one bitmapped pack and rewrites its commit-graph, so the next clone reuses the b
post_v1_git_repos_name_mirrorPOST /v1/git/repos/{name}/mirror3Imports an external git repository into the caller's repo, provisioning it on first use.
post_v1_git_repos_name_mirrorsPOST /v1/git/repos/{name}/mirrors3Registers a downstream remote the repo's advanced refs are pushed to whenever a push lands here.
post_v1_git_repos_name_pushPOST /v1/git/repos/{name}/push4Lands a set of files as one commit without a git client — the hanzo.app builder's push.
post_v1_git_repos_name_subscriptionsPOST /v1/git/repos/{name}/subscriptions3Binds a Slack channel to a repo, so the lifecycle notifier posts that repo's push and deploy events

All 834 tools · The door

Generated from tools/list on https://api.hanzo.ai/v1/mcp — 834 tools captured 2026-08-01 (this build read the vendored copy; the door was unreachable).

How is this guide?