Skip to main content
Glama
MCP Git Server

MCP Git Server

by mpfilbin

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
git_statusA

Show the working tree status including modified, staged, and untracked files

git_initB

Initialize a new git repository

git_cloneB

Clone a repository from a URL

git_branch_listC

List all branches in the repository

git_branch_createC

Create a new branch

git_branch_deleteD

Delete a branch

git_checkoutB

Switch branches or restore working tree files

git_mergeC

Merge a branch into the current branch

git_diffB

Show changes between commits, commit and working tree, etc. Supports commit ranges like HEAD...origin/master

git_addC

Add file contents to the staging area

git_resetB

Unstage files or reset current HEAD to specified state

git_restoreC

Restore working tree files

git_commitC

Record changes to the repository

git_logC

Show commit logs

git_showC

Show details of a commit

git_rebaseC

Reapply commits on top of another base tip

git_stashC

Stash the changes in a dirty working directory

git_stash_popB

Apply stashed changes and remove them from stash list

git_stash_listC

List all stashed changes

git_cherry_pickC

Apply the changes introduced by an existing commit

git_remote_listC

List all configured remotes

git_remote_addC

Add a new remote

git_fetchC

Download objects and refs from another repository

git_pullC

Fetch from and integrate with another repository or local branch

git_pushC

Update remote refs along with associated objects

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources