GitEasy MCP
v1.6.2Plain-English git for agents: 22 tools to branch, commit, push and tag.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
push
Send already-committed work to the remote without making a new commit. Pushes the current branch; on a branch's first push, sets the remote branch as its upstream automatically.
| Parameter | Type | Description |
|---|---|---|
remoteName | string | Remote name. Default origin. |
workingDirectory | string | Git repo path. Default current directory. |
show_diagnostic
Show git repository diagnostic info: current branch, upstream, HEAD SHA, remote URLs, and status summary.
| Parameter | Type | Description |
|---|---|---|
workingDirectory | string | Git repo path. Default current directory. |
set_vault
Configure the git credential helper to use a specific vault path. Returns new credential helper value.
| Parameter | Type | Description |
|---|---|---|
vaultPath | string | Path to the credential helper vault executable. |
workingDirectory | string | Git repo path. Default current directory. |
restore_file
Restore a single file to its HEAD state, discarding uncommitted changes. Returns restored file path.
| Parameter | Type | Description |
|---|---|---|
filePath | string | Repo-relative path to the file to restore. |
workingDirectory | string | Git repo path. Default current directory. |
reset_login
Clear stored git credentials by unsetting the credential helper in local git config. Returns confirmation.
| Parameter | Type | Description |
|---|---|---|
workingDirectory | string | Git repo path. Default current directory. |
set_ssh
Change a remote URL to its SSH equivalent. Returns old and new remote URLs.
| Parameter | Type | Description |
|---|---|---|
remoteName | string | Remote name to update. Default origin. |
sshUrl | string | New SSH remote URL, e.g. git@github.com:owner/repo.git. |
workingDirectory | string | Git repo path. Default current directory. |
save_work
Stage changes, commit with a message, and optionally push to remote. Returns commit SHA and push result.
| Parameter | Type | Description |
|---|---|---|
files | array | null | Files to commit. Default empty (commits all changes). |
message | string | Commit message. |
pushToRemote | boolean | Push to remote after commit. Default false. |
workingDirectory | string | Git repo path. Default current directory. |
get_vault_status
Report current git credential helper configuration. Returns helper name and scope.
| Parameter | Type | Description |
|---|---|---|
workingDirectory | string | Git repo path. Default current directory. |
test_login
Test whether git credentials are working by attempting ls-remote against the origin. Returns success/failure and remote refs count.
| Parameter | Type | Description |
|---|---|---|
remoteName | string | Remote to test. Default origin. |
workingDirectory | string | Git repo path. Default current directory. |
show_releases
List all tags/releases in the repository, newest first. Returns tag names, target SHAs, and annotation messages.
| Parameter | Type | Description |
|---|---|---|
workingDirectory | string | Git repo path. Default current directory. |
show_change
Show the diff for a specific file or all changed files. Returns unified diff text.
| Parameter | Type | Description |
|---|---|---|
filePath | string | Repo-relative file path. If empty, shows all. |
staged | boolean | Show staged diff. Default false. |
workingDirectory | string | Git repo path. Default current directory. |
new_release
Create an annotated git tag and push it to the remote. Returns the tag name and target commit SHA.
| Parameter | Type | Description |
|---|---|---|
message | string | Annotation message for the tag. |
remoteName | string | Remote to push to. Default origin. |
tagName | string | Tag name, e.g. v1.2.0. |
workingDirectory | string | Git repo path. Default current directory. |
find_changes
List changed files: staged, unstaged, and untracked. Returns file counts and paths by status group.
| Parameter | Type | Description |
|---|---|---|
workingDirectory | string | Git repo path. Default current directory. |
show_remote
Show all remote names and their fetch/push URLs. Returns list of remotes with URL and type.
| Parameter | Type | Description |
|---|---|---|
workingDirectory | string | Git repo path. Default current directory. |
get_updates
Fetch from remote and show incoming commits not yet in local branch. Returns count and commit summaries.
| Parameter | Type | Description |
|---|---|---|
remoteName | string | Remote name. Default origin. |
workingDirectory | string | Git repo path. Default current directory. |
undo_changes
Discard uncommitted changes. If filePath given, restores that file; otherwise restores all tracked files. Returns list of restored paths.
| Parameter | Type | Description |
|---|---|---|
filePath | string | Repo-relative file path to undo. If empty, undoes all tracked changes. |
workingDirectory | string | Git repo path. Default current directory. |
switch_work
Switch to an existing branch. Returns the branch switched to and current HEAD SHA.
| Parameter | Type | Description |
|---|---|---|
branchName | string | Name of the branch to switch to. |
workingDirectory | string | Git repo path. Default current directory. |
search_history
Search commit history for commits whose message matches a search term. Returns matching commits with SHA, author, date, and message.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Max commits to return. Default 20. |
searchTerm | string | Text to search for in commit messages. |
workingDirectory | string | Git repo path. Default current directory. |
show_history
Show recent commit history. Returns commits with SHA, author, date, and message.
| Parameter | Type | Description |
|---|---|---|
branchName | string | Branch name. Default current branch. |
limit | integer | Number of commits to return. Default 20. |
workingDirectory | string | Git repo path. Default current directory. |
new_work_branch
Create a new branch from current HEAD and switch to it. Returns branch name and base commit SHA.
| Parameter | Type | Description |
|---|---|---|
branchName | string | Name of the new branch. |
workingDirectory | string | Git repo path. Default current directory. |
set_token
Store a personal access token for HTTP git authentication. Returns confirmation (token value is never echoed).
| Parameter | Type | Description |
|---|---|---|
token | string | Personal access token to store. |
workingDirectory | string | Git repo path. Default current directory. |
clear_junk
Remove untracked files and directories from the working tree (git clean -fd). Returns list of removed paths.
| Parameter | Type | Description |
|---|---|---|
workingDirectory | string | Git repo path. Default current directory. |