git_init
Initialize a new Git repository in a specified directory within permitted paths, creating the directory if absent. Set the initial branch to 'main' or customize it, enabling version control for development workflows.
Instructions
Initialize a new Git repository. Creates a new Git repository in the specified directory. If the directory doesn't exist, it will be created. Directory must be within the allowed directory.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
initial_branch | No | Name of the initial branch (defaults to 'main') | main |
path | Yes | Path where to initialize the 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
- @skydeckai/mcp-server-aidd
- @modelcontextprotocol/git
- @Sheshiyer/git-mcp-v2
- @cyanheads/git-mcp-server
- @cyanheads/git-mcp-server