Git
Read, search, and manipulate local Git repositories (status, diff, commit).
Git
Read, search, and manipulate local Git repositories (status, diff, commit). With Lunar.dev MCPX, the MCP Gateway for secure and governed tool access, you connect the Git MCP server to Claude, ChatGPT, Cursor, and any MCP client through one gateway that routes, authenticates, and governs every Git tool call against your policies.
Why MCPX
MCPX is Lunar.dev's MCP Gateway. It sits between your AI agents and your MCP servers as a single gateway for every tool call, routing, authenticating, and governing traffic against your policies. Connect Git once and govern it everywhere: role-based access per agent with on-behalf-of attribution, real-time visibility, and an immutable audit trail of who did what, all deployable inside your own VPC.
Tools content
- git_status · Read-only
Show the working tree status. - git_diff_unstaged · Read-only
Show changes in the working directory that are not yet staged. - git_diff_staged · Read-only
Show changes that are staged for commit. - git_diff · Read-only
Show differences between branches or commits. - git_commit · Write
Record changes to the repository. - git_add · Write
Add file contents to the staging area. - git_reset · Write
Unstage all staged changes. - git_log · Read-only
Show the commit logs. - git_create_branch · Write
Create a new branch from an optional base branch. - git_checkout · Write
Switch branches. - git_show · Read-only
Show the contents of a commit. - git_branch · Read-only
List Git branches.
Frequently asked questions
What is the Git MCP server?
Read, search, and manipulate local Git repositories (status, diff, commit). Through Lunar.dev MCPX, Git connects to any MCP-compatible AI client behind a single governed gateway.
How do I connect Git to MCPX?
Add the Git server in the MCPX control plane or your app.yaml, then point your AI client at your MCPX gateway. MCPX handles no authentication and routes every Git call through the gateway.
Is the Git MCP server official?
Yes. Git is an official, vendor-published MCP server, and MCPX governs it like any other server in your catalog.
What authentication does Git use with MCPX?
Git requires no authentication. MCPX still controls which agents and users are allowed to call it through role-based access control.
How many tools does Git expose in MCPX?
Git exposes 12 tools. In MCPX you can enable or disable each tool per agent for least-privilege access.
