Tools
Git
Get up and running with Meshagent Rooms and the MCP Git toolkit in the cloud:
-
Install Meshagent
-
Sign Up & Authenticate
- Register and authenticate following the steps in the CLI Getting Started guide.
-
Start an MCP Server in a Meshagent Room
- This command creates a Meshagent room named
test
and deploys the MCP Git server within it. - The room remains active as long as it’s being used (rooms close when inactive).
- This command creates a Meshagent room named
-
Join the Room with a Chatbot Agent
- This launches a chatbot in the same Meshagent room, giving it access to the MCP Git toolkit.
- You can add multiple toolkits to the same agent in the room.
- After running, you’ll receive a link to interact with the agent and its tools directly in your browser.
Tools Available
Git repository interaction and automation is enabled via these tools:
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 |
Tool Details
git_add
Adds file contents to the staging area
Parameter | Type | Description |
---|---|---|
files | array | |
repo_path | string |
git_checkout
Switches branches
Parameter | Type | Description |
---|---|---|
branch_name | string | |
repo_path | string |
git_commit
Records changes to the repository
Parameter | Type | Description |
---|---|---|
message | string | |
repo_path | string |
git_create_branch
Creates a new branch from an optional base branch
Parameter | Type | Description |
---|---|---|
branch_name | string | |
repo_path | string | |
base_branch | string | optional |
git_diff
Shows differences between branches or commits
Parameter | Type | Description |
---|---|---|
repo_path | string | |
target | string |
git_diff_staged
Shows changes that are staged for commit
Parameter | Type | Description |
---|---|---|
repo_path | string |
git_diff_unstaged
Shows changes in the working directory that are not yet staged
Parameter | Type | Description |
---|---|---|
repo_path | string |
git_init
Initialize a new Git repository
Parameter | Type | Description |
---|---|---|
repo_path | string |
git_log
Shows the commit logs
Parameter | Type | Description |
---|---|---|
repo_path | string | |
max_count | integer | optional |
git_reset
Unstages all staged changes
Parameter | Type | Description |
---|---|---|
repo_path | string |
git_show
Shows the contents of a commit
Parameter | Type | Description |
---|---|---|
repo_path | string | |
revision | string |
git_status
Shows the working tree status
Parameter | Type | Description |
---|---|---|
repo_path | string |