mcp-github-push
Allows pushing project files directly to GitHub repositories, including creating repositories, reading files, and previewing/confirming multi-file commits using the GitHub REST and Git Data APIs.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-github-pushPreview my file changes, then push them to my GitHub repo as one commit"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-github-push
A lightweight MCP server that gives Claude (or other MCP clients) the ability to push projects directly to GitHub, without git clone/git pull on your computer. Built as a more token-efficient GitHub connector that doesn't fill up local storage.
It comes as a terminal CLI — install via npm, set up the token once, then register it with your MCP client.
Why is this different from the built-in GitHub connector?
Doesn't clone the repo. All operations go directly through the GitHub REST/Git Data API, so no local storage is consumed.
One commit for many files. It uses the Git Data API (blob → tree → commit), so changes across multiple files become one clean commit instead of commit spam per file.
Confirmation is required before pushing. A
github_preview_pushtool must be called first to show the summary of changes;github_push_confirmedmay only be called after the user has given explicit approval.The token is stored locally and securely. The config file has
600permissions and can only be read by the owning user.
Related MCP server: ship-it-mcp
Installation
Option A — Without Node.js (ready-to-use executable)
No need to install Node.js at all. Download the binary for your OS from the Releases page:
Windows:
mcp-github-push-win-x64.exeLinux:
mcp-github-push-linux-x64macOS:
mcp-github-push-macos-x64
Run it from the terminal:
# Windows (PowerShell/CMD)
mcp-github-push-win-x64.exe setup
# Linux/macOS
chmod +x mcp-github-push-linux-x64
./mcp-github-push-linux-x64 setupThen register the full path to the executable in your MCP client config:
{
"mcpServers": {
"github-push": {
"command": "C:\\path\\ke\\mcp-github-push-win-x64.exe",
"args": ["start"]
}
}
}Option B — Via npm (requires Node.js 18+)
npx @kintil555/mcp-github-push setupFollow the instructions:
Create a Personal Access Token (fine-grained is recommended) with the Contents: Read and write scope for the repo you want to use.
Paste the token when prompted (input is masked in the terminal).
The token is verified automatically and saved at
~/.config/mcp-github-push/config.json.
Register with an MCP client
Add it to your MCP client config (e.g., Claude Desktop claude_desktop_config.json):
{
"mcpServers": {
"github-push": {
"command": "npx",
"args": ["-y", "@kintil555/mcp-github-push", "start"]
}
}
}Restart the client. The tools available to Claude are:
Tool | Function |
| Check that the token is valid and see its scope |
| Check whether the repo exists |
| Create a new repo |
| Read a file's contents from a repo |
| Preview the changes of a push (doesn't change anything) |
| Actually push — only runs after the user approves |
Other CLI commands
npx @kintil555/mcp-github-push status # cek token masih valid
npx @kintil555/mcp-github-push logout # hapus token tersimpanBuilding from source
git clone https://github.com/kintil555/mcp-github-push.git
cd mcp-github-push
npm install
npm run buildCIHub Actions automatically builds and type-checks every push/PR to main, and releases to npm when a new release tag is built.
Security
The token is stored in
~/.config/mcp-github-push/config.jsonwith permission600.Use fine-grained PAT restricted to specific repos, not classic tokens with full access.
Set expiration for the token and rotate it periodically.
github_push_toolis designed so the AI model can't push without theconfirmed: trueparameter — make sure your MCP client also shows the tool call to the user for review before execution.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityFmaintenanceEnables Claude or any MCP client to drive the GitHub Copilot cloud agent via its REST API, allowing it to research, edit, and open pull requests on repositories without manual intervention.11MIT
- FlicenseNot gradedqualityCmaintenanceEnables to interact with GitHub repositories directly from Claude, supporting actions like viewing repos, checking status, committing and pushing changes, and managing pull requests.
- FlicenseAqualityBmaintenanceAutomates GitHub workflows (branch creation, testing, commit/push, PR) through natural language instructions in Claude Code.8
- FlicenseNot gradedqualityBmaintenanceEnables GitHub repository operations (list/read files, create branches, commit files, open/list PRs) via an authless remote MCP server that keeps your GitHub token encrypted on Cloudflare, with access limited to allowed repositories.
Related MCP Connectors
AI code review for GitHub PRs with an MCP autofix loop for Claude Code and Cursor
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
A MCP server built for developers enabling Git based project management with project and personal…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/kintil555/mcpserver-claude'
If you have feedback or need assistance with the MCP directory API, please join our Discord server