test
). The service is auto-cleaned up with the room.mcp-git
agent to interact with the Git MCP tools in real time (e.g., "Show me the git log"
).
Tool | Short Description |
---|---|
git_add | Adds file contents to the staging area |
git_checkout | Switches branches |
git_commit | Records changes to the repository |
git_create_branch | Creates a new branch from an optional base branch |
git_diff | Shows differences between branches or commits |
git_diff_staged | Shows changes that are staged for commit |
git_diff_unstaged | Shows changes in the working directory that are not yet staged |
git_init | Initialize a new Git repository |
git_log | Shows the commit logs |
git_reset | Unstages all staged changes |
git_show | Shows the contents of a commit |
git_status | Shows the working tree status |
git_add
Parameter | Type | Description |
---|---|---|
files | array | |
repo_path | string |
git_checkout
Parameter | Type | Description |
---|---|---|
branch_name | string | |
repo_path | string |
git_commit
Parameter | Type | Description |
---|---|---|
message | string | |
repo_path | string |
git_create_branch
Parameter | Type | Description |
---|---|---|
branch_name | string | |
repo_path | string | |
base_branch | string (optional) |
git_diff
Parameter | Type | Description |
---|---|---|
repo_path | string | |
target | string |
git_diff_staged
Parameter | Type | Description |
---|---|---|
repo_path | string |
git_diff_unstaged
Parameter | Type | Description |
---|---|---|
repo_path | string |
git_init
Parameter | Type | Description |
---|---|---|
repo_path | string |
git_log
Parameter | Type | Description |
---|---|---|
repo_path | string | |
max_count | integer (optional) |
git_reset
Parameter | Type | Description |
---|---|---|
repo_path | string |
git_show
Parameter | Type | Description |
---|---|---|
repo_path | string | |
revision | string |
git_status
Parameter | Type | Description |
---|---|---|
repo_path | string |