git MCP server

git_add

Stage changes in a Git repository by adding specified files to the staging area, enabling commits. Requires repository path and file list as input.

Instructions

Adds file contents to the staging area

Input Schema

NameRequiredDescriptionDefault
filesYes
repo_pathYes

Input Schema (JSON Schema)

{ "properties": { "files": { "items": { "type": "string" }, "title": "Files", "type": "array" }, "repo_path": { "title": "Repo Path", "type": "string" } }, "required": [ "repo_path", "files" ], "title": "GitAdd", "type": "object" }

Other Tools from git MCP server

Related Tools

ID: 2sijuvbdae