Skip to main content
Glama

Git MCP Server

remote_add

Add a remote repository to a Git project by specifying a name and URL using the Git MCP Server API, enabling integration and version control management.

Instructions

Add a remote

Input Schema

NameRequiredDescriptionDefault
nameYesRemote name
pathNoPath to repository. MUST be an absolute path (e.g., /Users/username/projects/my-repo)
urlYesRemote URL

Input Schema (JSON Schema)

{ "properties": { "name": { "description": "Remote name", "type": "string" }, "path": { "description": "Path to repository. MUST be an absolute path (e.g., /Users/username/projects/my-repo)", "type": "string" }, "url": { "description": "Remote URL", "type": "string" } }, "required": [ "name", "url" ], "type": "object" }

You must be authenticated.

Other Tools from Git MCP Server

Related Tools

  • @Sheshiyer/git-mcp-v2
  • @cyanheads/git-mcp-server
  • @cyanheads/git-mcp-server
  • @cyanheads/git-mcp-server
  • @Sheshiyer/git-mcp-v2
  • @Sheshiyer/git-mcp-v2

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

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