Skip to main content
Glama

Git Repo Browser MCP

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
git_directory_structure

Clone a Git repository and return its directory structure in a tree format.

git_read_files

Read the contents of specified files in a given git repository.

git_branch_diff

Compare two branches and show files changed between them.

git_checkout_branch

Create and/or checkout a branch.

git_delete_branch

Delete a branch from the repository.

git_merge_branch

Merge a source branch into the current or target branch.

git_commit_history

Get commit history for a branch with optional filtering.

git_commits_details

Get detailed information about commits including full messages and diffs.

git_commit

Create a commit with the specified message.

git_track

Track (stage) specific files or all files.

git_local_changes

Get uncommitted changes in the working directory.

git_search_code

Search for patterns in repository code.

git_push

Push changes to a remote repository.

git_pull

Pull changes from a remote repository.

git_stash

Create or apply a stash.

git_create_tag

Create a tag.

git_rebase

Rebase the current branch onto another branch or commit.

git_config

Configure git settings for the repository.

git_reset

Reset repository to specified commit or state.

git_archive

Create a git archive (zip or tar).

git_attributes

Manage git attributes for files.

git_blame

Get blame information for a file.

git_clean

Perform git clean operations.

git_hooks

Manage git hooks in the repository.

git_lfs

Manage Git LFS (Large File Storage).

git_lfs_fetch

Fetch LFS objects from the remote repository.

git_revert

Revert the current branch to a commit or state.

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/bsreeram08/git-commands-mcp'

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