What does Git Prompts MCP Server do compared to other Git MCP servers?
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.
@ceshine
基本情報
An MCP server that offers several commands to generate prompts based on the Git repository's content
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"git_prompt_mcp": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/ceshine/git-prompts-mcp-server.git",
"git-prompts-mcp-server",
"/path/to/repo/",
"--excludes",
"**/uv.lock",
"--format",
"json"
]
}
}
}Get a diff between the HEAD and the ancestor branch or commit.
Get a diff between the files in the staging area (the index) and the HEAD.
Get a diff between the working tree and the staging area (equivalent to `git diff`).
Get commit messages between the ancestor and HEAD.
Git Prompts MCP Server is a Model Context Protocol (MCP) server that offers several commands to generate prompts based on a Git repository's content. It integrates with MCP-compatible clients like the Zed Editor and Gemini CLI to provide Git-aware prompts and tools.
Prerequisites: Python 3.12+ and uv. For Zed Editor, add a configuration block to settings.json specifying the uvx command with arguments for repository path, excludes, and output format. For Gemini CLI, install the extension via gemini extension install https://github.com/ceshine/git-prompts-mcp-server.git --auto-update; commands and tools become available in Git repositories. The server relies on the current working directory being part of a Git repository. Environment variables GIT_REPOSITORY, GIT_EXCLUDES, and GIT_OUTPUT_FORMAT can be set for configuration.
/git-diff, /generate-pr-desc, /git-cached-diff, /git-commit-messages, and /generate-commit-message.git-diff, git-cached-diff, git-unstaged-diff, and git-commit-messages.pathlib.PurePath.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.
Python 3.12+ and uv are required. The server also needs a Git repository to operate.
The server reads Git repository data from the local file system; no external data storage is used.
The server uses the Model Context Protocol (MCP) via stdio transport; no authentication is mentioned.
The extension relies on the current working directory being part of a Git repository; if not run from a Git project root, commands and tools may not function as expected.
🚀 All-in-one MCP server with AI search, RAG, and multi-service integrations (GitLab/Jira/Confluence/YouTube) for AI-enhanced development workflows. Folk from https://github.com/nguyenvanduocit/all-in-one-model-context-protocol
This MCP server provides integration with Gerrit code review system, allowing AI assistants to review code changes and their details through a simple interface.
MCP server that enables AI assistants to interact with Linear project management system through natural language, allowing users to retrieve, create, and update issues, projects, and teams.
MCP server for Atlassian tools (Confluence, Jira)

Model Context Protocol Servers
コメント