push_binary_file
Pushes a single binary file (image, audio, PDF, ZIP) to an allowed GitHub repository using base64 content, preserving binary data where text-based GitHub tools fail.
Instructions
Push one binary file (image, audio, PDF, zip, ...) to a GitHub repo. content_base64 is forwarded verbatim to the GitHub API — unlike the official GitHub MCP tool, which treats content as plain text. Repo must be in GITHUB_BINARY_ALLOWED_REPOS, path must be under GITHUB_BINARY_ALLOWED_PATHS, max 10 MB.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| repo | Yes | ||
| owner | Yes | ||
| branch | No | ||
| message | No | ||
| content_base64 | Yes |