Skip to main content
Glama

Git MCP

by Andre-Buzeli

git-remote

Manage Git remote repositories by adding, removing, renaming, displaying, updating URLs, and pruning stale references to organize your project's remote connections.

Instructions

Git remote management tool for managing remote repositories. Supports add, remove, rename, show, set-url, and prune operations.

Input Schema

NameRequiredDescriptionDefault
actionYesThe remote operation to perform
allNoShow all remotes (for show action)
dryRunNoShow what would be pruned without actually pruning (for prune action)
fetchNoFetch after adding remote (for add action)
nameNoRemote name (required for most operations)
newNameNoNew remote name (required for rename operation)
projectPathYesAbsolute path to the project directory
pushNoSet push URL instead of fetch URL (for set-url action)
urlNoRemote URL (required for add and set-url operations)
verboseNoShow verbose output with URLs (for show action)

Input Schema (JSON Schema)

{ "properties": { "action": { "description": "The remote operation to perform", "enum": [ "add", "remove", "rename", "show", "set-url", "prune", "list" ], "type": "string" }, "all": { "description": "Show all remotes (for show action)", "type": "boolean" }, "dryRun": { "description": "Show what would be pruned without actually pruning (for prune action)", "type": "boolean" }, "fetch": { "description": "Fetch after adding remote (for add action)", "type": "boolean" }, "name": { "description": "Remote name (required for most operations)", "type": "string" }, "newName": { "description": "New remote name (required for rename operation)", "type": "string" }, "projectPath": { "description": "Absolute path to the project directory", "type": "string" }, "push": { "description": "Set push URL instead of fetch URL (for set-url action)", "type": "boolean" }, "url": { "description": "Remote URL (required for add and set-url operations)", "type": "string" }, "verbose": { "description": "Show verbose output with URLs (for show action)", "type": "boolean" } }, "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