remote_add
Enable AI assistants to add a Git remote by specifying the repository path, remote name, and URL for enhanced repository management via the Git MCP Server.
Instructions
Add a remote
Input Schema
Name | Required | Description | Default |
---|---|---|---|
name | Yes | Remote name | |
path | No | Path to repository. MUST be an absolute path (e.g., /Users/username/projects/my-repo) | |
url | Yes | Remote 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"
}