Skip to main content
Glama

Git MCP

by Andre-Buzeli

git-sync

Synchronize Git repositories between local and remote providers. Perform sync operations or check status across GitHub and Gitea with configurable merge strategies and branch management.

Instructions

Advanced Git synchronization tool for intelligent sync and status operations. Supports both local Git synchronization and remote provider synchronization.

Input Schema

NameRequiredDescriptionDefault
actionYesThe Git sync operation to perform
branchNoBranch to sync (default: current branch)
checkAheadNoCheck commits ahead/behind (default: true for status operation)
detailedNoShow detailed sync status (for status operation)
dryRunNoShow what would be done without executing (for sync operation)
forceNoForce sync (use with caution, may override uncommitted changes)
includeRemoteNoInclude remote status information (for status operation)
ownerNoRepository owner (auto-detected if not provided, for remote operations)
projectPathYesAbsolute path to the project directory
providerNoProvider for remote operations (optional for local-only operations)
remoteNoRemote to sync with (default: origin)
repoNoRepository name (auto-detected if not provided, for remote operations)
strategyNoSync strategy (default: merge)

Input Schema (JSON Schema)

{ "properties": { "action": { "description": "The Git sync operation to perform", "enum": [ "sync", "status" ], "type": "string" }, "branch": { "description": "Branch to sync (default: current branch)", "type": "string" }, "checkAhead": { "description": "Check commits ahead/behind (default: true for status operation)", "type": "boolean" }, "detailed": { "description": "Show detailed sync status (for status operation)", "type": "boolean" }, "dryRun": { "description": "Show what would be done without executing (for sync operation)", "type": "boolean" }, "force": { "description": "Force sync (use with caution, may override uncommitted changes)", "type": "boolean" }, "includeRemote": { "description": "Include remote status information (for status operation)", "type": "boolean" }, "owner": { "description": "Repository owner (auto-detected if not provided, for remote operations)", "type": "string" }, "projectPath": { "description": "Absolute path to the project directory", "type": "string" }, "provider": { "description": "Provider for remote operations (optional for local-only operations)", "enum": [ "github", "gitea", "both" ], "type": "string" }, "remote": { "description": "Remote to sync with (default: origin)", "type": "string" }, "repo": { "description": "Repository name (auto-detected if not provided, for remote operations)", "type": "string" }, "strategy": { "description": "Sync strategy (default: merge)", "enum": [ "merge", "rebase", "fast-forward" ], "type": "string" } }, "required": [ "action", "projectPath" ], "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/Andre-Buzeli/git-mcp'

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