git_clone
Clone a Git repository into a specified directory and checkout a specific branch using the GIT MCP Server. Simplifies repository management via natural language commands for AI assistants.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
branch | No | Branch to checkout | |
directory | No | Target directory for the repository | |
repository | Yes | Git repository URL to clone |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"branch": {
"description": "Branch to checkout",
"type": "string"
},
"directory": {
"description": "Target directory for the repository",
"type": "string"
},
"repository": {
"description": "Git repository URL to clone",
"type": "string"
}
},
"required": [
"repository"
],
"type": "object"
}