mcp_git_AirNet

v0.0.3
mcp_git_AirNet Checked 19 hours ago Published 1 year ago

A Model Context Protocol server providing tools to read, search,describe, and manipulate Git repositories programmatically via LLMs

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

git_status

Shows the working tree status

ParameterTypeDescription
repo_path *string

git_diff_unstaged

Shows changes in the working directory that are not yet staged

ParameterTypeDescription
repo_path *string

git_diff_staged

Shows changes that are staged for commit

ParameterTypeDescription
repo_path *string

git_diff

Shows differences between branches or commits

ParameterTypeDescription
repo_path *string
target *string

git_commit

Records changes to the repository

ParameterTypeDescription
message *string
repo_path *string

git_add

Adds file contents to the staging area

ParameterTypeDescription
files *array
repo_path *string

git_reset

Unstages all staged changes

ParameterTypeDescription
repo_path *string

git_log

Shows the commit logs

ParameterTypeDescription
repo_path *string
max_countinteger

git_create_branch

Creates a new branch from an optional base branch

ParameterTypeDescription
branch_name *string
repo_path *string
base_branch

git_checkout

Switches branches

ParameterTypeDescription
branch_name *string
repo_path *string

git_show

Shows the contents of a commit

ParameterTypeDescription
repo_path *string
revision *string

git_describe

显示当前提交可到达的最新标签,使用git describe --tags

ParameterTypeDescription
repo_path *string