Skip to content
OwnlyPlans

MCP server

Git MCP Server

Status, diffs, commits, branches and history of a local Git repository, as tools.

Remix

Use it with Claude or any AI tool. Copy the prompt and paste it in. The link inside gives the AI the whole page as Markdown.

Markdown

Install

Terminal
claude mcp add-json git '{"command":"uvx","args":["mcp-server-git","--repository","/path/to/git/repo"]}'

Adds the server to Claude Code. For other apps, copy the config below.

About

The reference Git server. It exposes tools such as git_status, git_diff, git_commit, git_add, git_log, git_create_branch and git_checkout for one repository on your machine.

Set –repository to your project path. Handy when your AI tool has no built-in Git access, or when you want Git actions to go through explicit tool calls you can review.

Files and links

  • Git MCP Server config MCP config Add this to your MCP client's config, or use the install line.

    Check it before you connect it. This server runs with your permissions: uvx mcp-server-git --repository /path/to/git/repo

    Claude Code
    claude mcp add-json git '{"command":"uvx","args":["mcp-server-git","--repository","/path/to/git/repo"]}'

Your AI tool
Starter prompt

		

Download the plan