Skip to main content
Glama
git MCP server

git MCP server

Official

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
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
git_statusB

Shows the working tree status

git_diff_unstagedB

Shows changes in the working directory that are not yet staged

git_diff_stagedB

Shows changes that are staged for commit

git_diffB

Shows differences between branches or commits, or across a revision range (main..feature, main...feature)

git_commitD

Records changes to the repository

git_addC

Adds file contents to the staging area

git_resetB

Unstages all staged changes

git_logA

Shows the commit log, newest commit first. For the latest commits, pass only repo_path (and optionally max_count). start_timestamp and end_timestamp are optional filters for a date range: omit them unless a specific period is asked for, because a range that holds no commits returns none.

git_create_branchC

Creates a new branch from an optional base branch or commit

git_checkoutC

Switches branches

git_mergeA

Merges a branch into the current branch. Fast-forward only unless fast_forward_only is false; refuses a dirty working tree, and aborts a merge that conflicts, leaving the repository unchanged

git_showB

Shows the contents of a commit, or of a file or directory given as :

git_branchC

List Git branches

git_remoteA

Lists the repository's remotes with their fetch and push URLs, like git remote -v. Credentials embedded in a URL's userinfo, query values or fragment are shown as ; path segments are shown as configured

Prompts

Interactive templates invoked by user choice

NameDescription
git_commit_messageAsks the model for a commit message for the staged changes
git_summarize_changesAsks the model to summarize the working tree's staged and unstaged changes, or the diff against a branch or commit

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3/5.0

Scored across 14 tools

Disambiguation4/5

Each tool maps to a recognizable git operation with mostly distinct targets: the three diff variants (git_diff, git_diff_staged, git_diff_unstaged) are the closest overlap, but their descriptions clearly scope each one. git_branch (list) vs git_create_branch (create) vs git_checkout (switch) are distinguishable, though an agent could occasionally reach for the wrong branch tool. No two tools appear to do the same thing.

Naming Consistency4/5

All 14 names share a uniform `git_` prefix and snake_case, and most mirror familiar git CLI verbs (log, show, checkout, merge, commit, add, reset). A few are noun-only (git_branch, git_status, git_remote) which deviates slightly from a strict verb_noun pattern, but this matches git conventions and stays predictable.

Tool Count5/5

14 tools sit squarely in the well-scoped range: one tool per core local git workflow (status, diff variants, add, commit, log, show, branch, checkout, merge, remote). Nothing feels redundant or padded.

Completeness3/5

Local read/write coverage is solid, but the lifecycle dead-ends at the remote boundary: there is no push, pull, or fetch, and no branch deletion, stash, tag, or remote-management operation. Merge and git_remote imply remote collaboration, so the missing publishing step is a notable gap an agent will hit.

Maintenance

ActivityActive
ResponsivenessSyncing