MCPサーバー

giteasy

io.github.greenmtnsun/giteasy
開発者向けツール 公開・接続可能 MCP 2025-11-25

この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.
入力スキーマ
{'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.
入力スキーマ
{'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.
入力スキーマ
{'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.
入力スキーマ
{'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.
入力スキーマ
{'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.
入力スキーマ
{'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.
入力スキーマ
{'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.
入力スキーマ
{'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.
入力スキーマ
{'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.
入力スキーマ
{'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.
入力スキーマ
{'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.
入力スキーマ
{'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).
入力スキーマ
{'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.
入力スキーマ
{'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.
入力スキーマ
{'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.
入力スキーマ
{'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.
入力スキーマ
{'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.
入力スキーマ
{'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.
入力スキーマ
{'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.
入力スキーマ
{'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.
入力スキーマ
{'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.
入力スキーマ
{'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.'}}}
追加
clear_junk
2026年9月17日12:42
追加
set_token
2026年9月17日12:42
追加
new_work_branch
2026年9月17日12:42
追加
show_history
2026年9月17日12:42
追加
search_history
2026年9月17日12:42
追加
switch_work
2026年9月17日12:42
追加
undo_changes
2026年9月17日12:42
追加
get_updates
2026年9月17日12:42
追加
show_remote
2026年9月17日12:42
追加
find_changes
2026年9月17日12:42
追加
new_release
2026年9月17日12:42
追加
show_change
2026年9月17日12:42
追加
show_releases
2026年9月17日12:42
追加
test_login
2026年9月17日12:42
追加
get_vault_status
2026年9月17日12:42
追加
save_work
2026年9月17日12:42
追加
set_ssh
2026年9月17日12:42
追加
reset_login
2026年9月17日12:42
追加
restore_file
2026年9月17日12:42
追加
set_vault
2026年9月17日12:42
追加
show_diagnostic
2026年9月17日12:42
追加
push
2026年9月17日12:42