Git Prompts MCP Server

An MCP server that offers several commands to generate prompts based on the Git repository's content

Local serverstdioPython

What is the Git Prompts MCP Server?

An MCP server that offers several commands to generate prompts based on the Git repository's content

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
git-diffGet a diff between the HEAD and the ancestor branch or commit.
git-cached-diffGet a diff between the files in the staging area (the index) and the HEAD.
git-unstaged-diffGet a diff between the working tree and the staging area (equivalent to git diff).
git-commit-messagesGet commit messages between the ancestor and HEAD.

Example prompts to try

  • “Use Git Prompts to git-diff.”
  • “Use Git Prompts to git-cached-diff.”
  • “Use Git Prompts to git-unstaged-diff.”

Frequently asked questions

It focuses on generating prompts (commands and tools) based on Git diffs and commit history, drawing inspiration from the MarkItDown MCP server and the official Git MCP server.