Servidor MCP

giteasy

io.github.greenmtnsun/giteasy
Herramientas para desarrolladores Público y accesible MCP 2025-11-25

Qué hace este MCP

Provides plain-language Git operations for branches, changes, commits, remotes, credentials, releases, history, cleanup, restoration, and pushing work.

clear_junk
Remove untracked files and directories from the working tree (git clean -fd). Returns list of removed paths.
Esquema de entrada
{'type': 'object', 'properties': {'workingDirectory': {'type': 'string', 'default': '.', 'description': 'Git repo path. Default current directory.'}}}
find_changes
List changed files: staged, unstaged, and untracked. Returns file counts and paths by status group.
Esquema de entrada
{'type': 'object', 'properties': {'workingDirectory': {'type': 'string', 'default': '.', 'description': '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.
Esquema de entrada
{'type': 'object', 'properties': {'remoteName': {'type': 'string', 'default': 'origin', 'description': 'Remote name. Default origin.'}, 'workingDirectory': {'type': 'string', 'default': '.', 'description': 'Git repo path. Default current directory.'}}}
get_vault_status
Report current git credential helper configuration. Returns helper name and scope.
Esquema de entrada
{'type': 'object', 'properties': {'workingDirectory': {'type': 'string', 'default': '.', 'description': '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.
Esquema de entrada
{'type': 'object', 'properties': {'message': {'type': 'string', 'default': '', 'description': 'Annotation message for the tag.'}, 'tagName': {'type': 'string', 'default': '', 'description': 'Tag name, e.g. v1.2.0.'}, 'remoteName': {'type': 'string', 'default': 'origin', 'description': 'Remote to push to. Default origin.'}, 'workingDirectory': {'type': 'string', 'default': '.', 'description': '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.
Esquema de entrada
{'type': 'object', 'properties': {'branchName': {'type': 'string', 'default': '', 'description': 'Name of the new branch.'}, 'workingDirectory': {'type': 'string', 'default': '.', 'description': 'Git repo path. Default current directory.'}}}
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.
Esquema de entrada
{'type': 'object', 'properties': {'remoteName': {'type': 'string', 'default': 'origin', 'description': 'Remote name. Default origin.'}, 'workingDirectory': {'type': 'string', 'default': '.', 'description': 'Git repo path. Default current directory.'}}}
reset_login
Clear stored git credentials by unsetting the credential helper in local git config. Returns confirmation.
Esquema de entrada
{'type': 'object', 'properties': {'workingDirectory': {'type': 'string', 'default': '.', 'description': 'Git repo path. Default current directory.'}}}
restore_file
Restore a single file to its HEAD state, discarding uncommitted changes. Returns restored file path.
Esquema de entrada
{'type': 'object', 'properties': {'filePath': {'type': 'string', 'default': '', 'description': 'Repo-relative path to the file to restore.'}, 'workingDirectory': {'type': 'string', 'default': '.', 'description': '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.
Esquema de entrada
{'type': 'object', 'properties': {'files': {'type': ['array', 'null'], 'items': {'type': ['string', 'null']}, 'default': None, 'description': 'Files to commit. Default empty (commits all changes).'}, 'message': {'type': 'string', 'default': '', 'description': 'Commit message.'}, 'pushToRemote': {'type': 'boolean', 'default': False, 'description': 'Push to remote after commit. Default false.'}, 'workingDirectory': {'type': 'string', 'default': '.', 'description': '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.
Esquema de entrada
{'type': 'object', 'properties': {'limit': {'type': 'integer', 'default': 20, 'description': 'Max commits to return. Default 20.'}, 'searchTerm': {'type': 'string', 'default': '', 'description': 'Text to search for in commit messages.'}, 'workingDirectory': {'type': 'string', 'default': '.', 'description': 'Git repo path. Default current directory.'}}}
set_ssh
Change a remote URL to its SSH equivalent. Returns old and new remote URLs.
Esquema de entrada
{'type': 'object', 'properties': {'sshUrl': {'type': 'string', 'default': '', 'description': 'New SSH remote URL, e.g. git@github.com:owner/repo.git.'}, 'remoteName': {'type': 'string', 'default': 'origin', 'description': 'Remote name to update. Default origin.'}, 'workingDirectory': {'type': 'string', 'default': '.', 'description': 'Git repo path. Default current directory.'}}}
set_token
Store a personal access token for HTTP git authentication. Returns confirmation (token value is never echoed).
Esquema de entrada
{'type': 'object', 'properties': {'token': {'type': 'string', 'default': '', 'description': 'Personal access token to store.'}, 'workingDirectory': {'type': 'string', 'default': '.', 'description': 'Git repo path. Default current directory.'}}}
set_vault
Configure the git credential helper to use a specific vault path. Returns new credential helper value.
Esquema de entrada
{'type': 'object', 'properties': {'vaultPath': {'type': 'string', 'default': '', 'description': 'Path to the credential helper vault executable.'}, 'workingDirectory': {'type': 'string', 'default': '.', 'description': 'Git repo path. Default current directory.'}}}
show_change
Show the diff for a specific file or all changed files. Returns unified diff text.
Esquema de entrada
{'type': 'object', 'properties': {'staged': {'type': 'boolean', 'default': False, 'description': 'Show staged diff. Default false.'}, 'filePath': {'type': 'string', 'default': '', 'description': 'Repo-relative file path. If empty, shows all.'}, 'workingDirectory': {'type': 'string', 'default': '.', 'description': 'Git repo path. Default current directory.'}}}
show_diagnostic
Show git repository diagnostic info: current branch, upstream, HEAD SHA, remote URLs, and status summary.
Esquema de entrada
{'type': 'object', 'properties': {'workingDirectory': {'type': 'string', 'default': '.', 'description': 'Git repo path. Default current directory.'}}}
show_history
Show recent commit history. Returns commits with SHA, author, date, and message.
Esquema de entrada
{'type': 'object', 'properties': {'limit': {'type': 'integer', 'default': 20, 'description': 'Number of commits to return. Default 20.'}, 'branchName': {'type': 'string', 'default': '', 'description': 'Branch name. Default current branch.'}, 'workingDirectory': {'type': 'string', 'default': '.', 'description': '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.
Esquema de entrada
{'type': 'object', 'properties': {'workingDirectory': {'type': 'string', 'default': '.', 'description': '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.
Esquema de entrada
{'type': 'object', 'properties': {'workingDirectory': {'type': 'string', 'default': '.', 'description': 'Git repo path. Default current directory.'}}}
switch_work
Switch to an existing branch. Returns the branch switched to and current HEAD SHA.
Esquema de entrada
{'type': 'object', 'properties': {'branchName': {'type': 'string', 'default': '', 'description': 'Name of the branch to switch to.'}, 'workingDirectory': {'type': 'string', 'default': '.', 'description': '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.
Esquema de entrada
{'type': 'object', 'properties': {'remoteName': {'type': 'string', 'default': 'origin', 'description': 'Remote to test. Default origin.'}, 'workingDirectory': {'type': 'string', 'default': '.', 'description': '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.
Esquema de entrada
{'type': 'object', 'properties': {'filePath': {'type': 'string', 'default': '', 'description': 'Repo-relative file path to undo. If empty, undoes all tracked changes.'}, 'workingDirectory': {'type': 'string', 'default': '.', 'description': 'Git repo path. Default current directory.'}}}
Añadido
clear_junk
17 de September de 2026 a las 12:42
Añadido
set_token
17 de September de 2026 a las 12:42
Añadido
new_work_branch
17 de September de 2026 a las 12:42
Añadido
show_history
17 de September de 2026 a las 12:42
Añadido
search_history
17 de September de 2026 a las 12:42
Añadido
switch_work
17 de September de 2026 a las 12:42
Añadido
undo_changes
17 de September de 2026 a las 12:42
Añadido
get_updates
17 de September de 2026 a las 12:42
Añadido
show_remote
17 de September de 2026 a las 12:42
Añadido
find_changes
17 de September de 2026 a las 12:42
Añadido
new_release
17 de September de 2026 a las 12:42
Añadido
show_change
17 de September de 2026 a las 12:42
Añadido
show_releases
17 de September de 2026 a las 12:42
Añadido
test_login
17 de September de 2026 a las 12:42
Añadido
get_vault_status
17 de September de 2026 a las 12:42
Añadido
save_work
17 de September de 2026 a las 12:42
Añadido
set_ssh
17 de September de 2026 a las 12:42
Añadido
reset_login
17 de September de 2026 a las 12:42
Añadido
restore_file
17 de September de 2026 a las 12:42
Añadido
set_vault
17 de September de 2026 a las 12:42
Añadido
show_diagnostic
17 de September de 2026 a las 12:42
Añadido
push
17 de September de 2026 a las 12:42