Skip to main content
Glama

GitMCP

git_push

Push commits to a specified branch in a remote repository using the GitMCP server. Requires repository path, with optional remote and branch parameters for precise control.

Instructions

Push commits to remote repository

Input Schema

NameRequiredDescriptionDefault
branchNoBranch namemain
pathYesRepository path
remoteNoRemote nameorigin

Input Schema (JSON Schema)

{ "properties": { "branch": { "default": "main", "description": "Branch name", "type": "string" }, "path": { "description": "Repository path", "type": "string" }, "remote": { "default": "origin", "description": "Remote name", "type": "string" } }, "required": [ "path" ], "type": "object" }

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/idosal/git-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server