Skip to main content
Glama
modelcontextprotocol

git MCP server

Official

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
git_statusB

Shows the working tree status

git_diff_unstagedA

Shows changes in the working directory that are not yet staged

git_diff_stagedB

Shows changes that are staged for commit

git_diffC

Shows differences between branches or commits

git_commitD

Records changes to the repository

git_addB

Adds file contents to the staging area

git_resetB

Unstages all staged changes

git_logC

Shows the commit logs

git_create_branchC

Creates a new branch from an optional base branch

git_checkoutC

Switches branches

git_showC

Shows the contents of a commit

git_branchB

List Git branches

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/modelcontextprotocol/git'

If you have feedback or need assistance with the MCP directory API, please join our Discord server