git_add
Add specific files to the staging area of a Git repository using the MCP protocol, enabling streamlined version control management through structured commands.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
files | Yes | Files to add to the staging area | |
repository_path | Yes | Path to the git repository |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"files": {
"description": "Files to add to the staging area",
"items": {
"type": "string"
},
"type": "array"
},
"repository_path": {
"description": "Path to the git repository",
"type": "string"
}
},
"required": [
"repository_path",
"files"
],
"type": "object"
}