A Model Context Protocol (MCP) server that provides tools for interacting with Git repositories. This server allows AI assistants and LLM agents to manage repositories, branches, commits, and files…
GIT MCP Server is an MCP project maintained in the wty0512/git-mcp-server repository. The maintainer describes its purpose as “A Model Context Protocol (MCP) server that provides tools for interacting with Git repositories. This server allows AI assistants and LLM agents to manage repositories…”. Read the project documentation for the complete scope.
The project provides a local client configuration using git-mcp-server. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.
Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| git_init | Initialize a new Git repository at the specified path with options for bare repositories. |
| git_clone | Clone a Git repository from a remote URL to a local path with branch and depth options. |
| git_status | Get the current status of a Git repository including working directory and staging area changes. |
| git_branch_list | List all branches in a repository with options to include remote branches. |
| git_branch_create | Create a new branch with options for specifying the starting point and automatic checkout. |
| git_checkout | Checkout a branch, tag, or commit with options to create a new branch during checkout. |
| git_branch_delete | Delete a branch with options for force deletion of unmerged branches. |
| git_merge | Merge a branch into the current branch with customizable commit messages and merge strategies. |
| git_add | Stage files for commit with support for individual files or entire directories. |
| git_reset | Unstage files from the staging area with options for specific files or all staged changes. |
| git_commit | Commit staged changes with customizable commit messages, author information, and amend options. |
| git_diff_unstaged | Get a diff of all unstaged changes in the working directory with options for specific files. |
| git_diff_staged | Get a diff of all staged changes in the index with options for specific files. |
| git_reset_commit | Reset the repository to a specific reference with options for hard, soft, or mixed mode. |
| git_clean | Remove untracked files from the working tree with options for directories and force cleaning. |
| git_remote_add | Add a new remote repository with a name and URL. |
| git_remote_list | List all configured remote repositories and their URLs. |
| git_fetch | Fetch updates from a remote repository with options for specific branches. |
| git_pull | Pull changes from a remote repository with options for rebase strategy. |
| git_push | Push local changes to a remote repository with options for force push and upstream tracking. |
| git_tag_create | Create a new tag with options for annotated tags with messages. |
| git_tag_list | List all tags in the repository with their references. |
| git_stash_create | Stash changes in the working directory with options for untracked files and descriptions. |
| git_stash_list | List all stashes in the repository with their descriptions. |
| git_stash_apply | Apply a stashed change without removing it from the stash list. |
| git_stash_pop | Apply a stashed change and remove it from the stash list. |
| git_cherry_pick | Apply changes from specific commits to the current branch. |
| git_rebase | Rebase the current branch onto another branch with interactive mode options. |
| git_log | Get commit history with customizable output format and depth. |
| git_show | Show detailed information about a specific commit including diff changes. |
{
"mcpServers": {
"git": {
"command": "git-mcp-server",
"args": [],
"env": {},
"disabled": false
}
}
}From the project documentation. Replace placeholders and example paths before connecting.
Read, search and edit files inside allowed directories with the Model Context Protocol reference Filesystem server.
Retrieve version-aware library documentation and code examples with Context7 MCP, using resolve-library-id and query-docs.
Use Microsoft’s Playwright MCP server to navigate pages, inspect accessibility snapshots, fill forms and capture browser screenshots.
Connect GitHub MCP to repositories, issues and pull requests with GitHub’s hosted service or a locally run server.
Use the Supabase MCP server to inspect database schemas, query project data and retrieve docs through a project-scoped connection.
Search Linear issues and projects, inspect work context and manage updates through Linear’s hosted MCP server with OAuth.