git_remote
Manage git repository remotes by adding, removing, setting URLs, or listing them using the GIT MCP Server. Simplify remote operations with structured commands and natural language support.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform on remote | |
| name | No | Name of the remote | |
| repository_path | Yes | Path to the git repository | |
| url | No | URL of the remote repository |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"action": {
"description": "Action to perform on remote",
"enum": [
"add",
"remove",
"set-url",
"list"
],
"type": "string"
},
"name": {
"description": "Name of the remote",
"type": "string"
},
"repository_path": {
"description": "Path to the git repository",
"type": "string"
},
"url": {
"description": "URL of the remote repository",
"type": "string"
}
},
"required": [
"repository_path",
"action"
],
"type": "object"
}