I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

git-prompts-mcp-server
An MCP server that offers several commands to generate prompts based on the Git repository's content
3 years
Works with Finder
1
Github Watches
0
Github Forks
1
Github Stars
Git Prompts MCP Server
This repository provides a Model Context Protocol (MCP) server that offers several commands to generate prompts based on the Git repository's content.
(This repository draws heavy inspiration from MarkItDown MCP server and the example Git MCP server.)
Installation
Manual Installation
- Clone this repository
- Install dependencies:
uv sync --frozen
Usage
As a MCP Server for Zed Editor
Add the following to your settings.json
:
"context_servers": {
"git_prompt_mcp": {
"command": {
"path": "uv",
"args": [
"--directory",
"/path/to/local/git_prompts_mcp_server",
"run",
"git-prompts-mcp-server",
"/path/to/repo/", // parent folder of the .git directory
"--excludes", // exclude files and directories from diff results
"**/uv.lock",
"--excludes",
"**/.gitignore",
"--format", // format for diff results
"json" // options: json, text
]
},
"settings": {}
}
}
Commands
The server responds to the following commands:
-
/git-diff <ancestor_branch_or_commit>
: Populate the diff results between HEAD and the specified ancestor branch or commit. -
/generate-pr-desc <ancestor_branch_or_commit>
: Generate a pull request description based on the diff results between HEAD and the specified ancestor branch or commit.
- Note: This is largely the same as
/git-diff
, but it includes instructions for generating a pull request description at the end of the output.
-
/git-cached-diff
: Populate the diff results for the staged changes and HEAD.
Examples:
-
/generate-pr-desc main
-
/git-diff dev
-
/git-cached-diff
License
MIT License. See LICENSE for details.
相关推荐
Confidential guide on numerology and astrology, based of GG33 Public information
Converts Figma frames into front-end code for various mobile frameworks.
Advanced software engineer GPT that excels through nailing the basics.
Take an adjectivised noun, and create images making it progressively more adjective!
Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease
Discover the most comprehensive and up-to-date collection of MCP servers in the market. This repository serves as a centralized hub, offering an extensive catalog of open-source and proprietary MCP servers, complete with features, documentation links, and contributors.
Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx
Mirror ofhttps://github.com/agentience/practices_mcp_server
Mirror ofhttps://github.com/bitrefill/bitrefill-mcp-server
An AI chat bot for small and medium-sized teams, supporting models such as Deepseek, Open AI, Claude, and Gemini. 专为中小团队设计的 AI 聊天应用,支持 Deepseek、Open AI、Claude、Gemini 等模型。
Bridge between Ollama and MCP servers, enabling local LLMs to use Model Context Protocol tools
Reviews

user_9d3zGpIk
As a dedicated user of git-prompts-mcp-server, I highly recommend it to anyone seeking an efficient solution for managing Git prompts. Created by the talented ceshine, this tool has significantly streamlined my workflow and improved productivity. The seamless integration and ease of use make it a must-have for developers. Check it out on GitHub!