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.
| Tool | Route | Arguments | Description |
|---|---|---|---|
delete_v1_git_keys_id | DELETE /v1/git/keys/{id} | 1 | Removes a registered SSH key, scoped to the caller's org: an org can only delete its own, and a key |
delete_v1_git_repos_name | DELETE /v1/git/repos/{name} | 1 | Removes a repo's metadata and purges its storage. Answers 204 with no body. |
delete_v1_git_repos_name_mirrors_id | DELETE /v1/git/repos/{name}/mirrors/{id} | 2 | Removes one outbound mirror target; later pushes stop being forwarded to it. |
delete_v1_git_repos_name_subscriptions_id | DELETE /v1/git/repos/{name}/subscriptions/{id} | 2 | Removes one Slack subscription from a repo; the notifier stops posting that repo's events to that ch |
get_v1_git_keys | GET /v1/git/keys | 0 | Returns the SSH public keys registered to the caller's org — the keys that authenticate `git clone g |
get_v1_git_repos | GET /v1/git/repos | 0 | Returns the repos in the caller's scope, most recently updated first. |
get_v1_git_repos_name | GET /v1/git/repos/{name} | 1 | Returns one repo with its live ref state: every branch name and the resolved HEAD commit. |
get_v1_git_repos_name_blob | GET /v1/git/repos/{name}/blob | 3 | Returns one file's bytes at one revision. Text comes back verbatim, binary comes back base64, and a |
get_v1_git_repos_name_commits | GET /v1/git/repos/{name}/commits | 4 | Walks a ref's history newest first, or one path's history when a path is given. |
get_v1_git_repos_name_files | GET /v1/git/repos/{name}/files | 3 | Returns every file a glob selects at one revision, WITH its bytes and the revision they came from. |
get_v1_git_repos_name_mirrors | GET /v1/git/repos/{name}/mirrors | 1 | Returns a repo's outbound mirror targets — the downstream remotes the mirror reactor pushes to whene |
get_v1_git_repos_name_readme | GET /v1/git/repos/{name}/readme | 2 | Returns the README at the tree root as plain text — unrendered, so the caller decides how to present |
get_v1_git_repos_name_refs | GET /v1/git/repos/{name}/refs | 1 | Lists a repo's branches, tags and default branch — what a branch picker needs in one call. |
get_v1_git_repos_name_subscriptions | GET /v1/git/repos/{name}/subscriptions | 1 | Returns a repo's Slack subscriptions — which channels the lifecycle notifier posts this repo's push |
get_v1_git_repos_name_tree | GET /v1/git/repos/{name}/tree | 3 | Lists the immediate children of one directory at one revision, directories before files. |
get_v1_git_usage | GET /v1/git/usage | 0 | Returns per-repo and total storage bytes for the caller's org — the queryable, per-tenant number com |
patch_v1_git_repos_name | PATCH /v1/git/repos/{name} | 2 | Flips a repo's public bit, the one mutable repo setting today. |
post_v1_git_keys | POST /v1/git/keys | 2 | Registers an SSH public key so it can authenticate git clone git@<host>:<org>/<repo>.git for the c |
post_v1_git_repos | POST /v1/git/repos | 4 | Provisions an empty bare repository in the caller's scope and returns it with its clone URLs. |
post_v1_git_repos_name_gc | POST /v1/git/repos/{name}/gc | 1 | Repacks a repo into one bitmapped pack and rewrites its commit-graph, so the next clone reuses the b |
post_v1_git_repos_name_mirror | POST /v1/git/repos/{name}/mirror | 3 | Imports an external git repository into the caller's repo, provisioning it on first use. |
post_v1_git_repos_name_mirrors | POST /v1/git/repos/{name}/mirrors | 3 | Registers a downstream remote the repo's advanced refs are pushed to whenever a push lands here. |
post_v1_git_repos_name_push | POST /v1/git/repos/{name}/push | 4 | Lands a set of files as one commit without a git client — the hanzo.app builder's push. |
post_v1_git_repos_name_subscriptions | POST /v1/git/repos/{name}/subscriptions | 3 | Binds a Slack channel to a repo, so the lifecycle notifier posts that repo's push and deploy events |
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?