git-pr-mcp

peterj/git-pr-mcp

3.2

If you are the rightful owner of git-pr-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A Model Context Protocol (MCP) server for managing Git repositories and automating Pull Request workflows.

Tools

Functions exposed to the LLM to take actions

get_git_status

Get the current git status of a repository.

list_branches

List all branches in the repository (with optional remote branches).

create_pr_summary

Create a summary for a pull request based on git diff.

get_commit_history

Get commit history for a branch.

get_git_diff

Get git diff between commits, branches, or working directory.

clone_repository

Clones a GitHub repository into a managed temporary directory.

create_git_branch

Creates a new branch in the active repository.

write_file_in_repo

Creates or overwrites files within the active repository.

git_commit_changes

Stages all changes and commits them in the active repository.

git_push_branch

Pushes a specified branch from the active repository to its remote origin.

create_github_pr

Creates a pull request on GitHub for the active repository.

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources