git_add
Stage specified files for the next commit in a Git repository. Use this tool to add file contents to the staging area, ensuring repository paths are within the allowed directory for streamlined version control.
Instructions
Adds file contents to the staging area. Stages specified files for the next commit. Repository must be within the allowed directory.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
files | Yes | List of file paths to stage | |
repo_path | Yes | Path to git repository |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from AiDD MCP Server
- create_directory
- delete_file
- directory_tree
- edit_file
- execute_code
- execute_shell_script
- get_allowed_directory
- get_file_info
- get_system_info
- git_add
- git_checkout
- git_commit
- git_create_branch
- git_diff
- git_diff_staged
- git_diff_unstaged
- git_init
- git_log
- git_reset
- git_show
- git_status
- list_directory
- move_file
- read_file
- read_multiple_files
- search_files
- tree_sitter_map
- update_allowed_directory
- write_file
Related Tools
- @modelcontextprotocol/git
- @Sheshiyer/git-mcp-v2
- @cyanheads/git-mcp-server
- @skydeckai/mcp-server-aidd
- @PhialsBasement/mcp-github-server-plus