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

Git-PROMPTS-MCP-Server
Un serveur MCP qui propose plusieurs commandes pour générer des invites en fonction du contenu du référentiel GIT
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
Advanced software engineer GPT that excels through nailing the basics.
Take an adjectivised noun, and create images making it progressively more adjective!
Japanese education, creating tailored learning experiences.
Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.
Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX
Miroir dehttps: //github.com/bitrefill/bitrefill-mcp-server
MCP Server pour récupérer le contenu de la page Web à l'aide du navigateur sans tête du dramwright.
Un bot de chat IA pour les petites et moyennes équipes, soutenant des modèles tels que Deepseek, Open AI, Claude et Gemini. 专为中小团队设计的 Ai 聊天应用 , 支持 Deepseek 、 Open Ai 、 Claude 、 Gemini 等模型。
Un puissant plugin Neovim pour gérer les serveurs MCP (Protocole de contexte modèle)
Pont entre les serveurs Olllama et MCP, permettant aux LLM locaux d'utiliser des outils de protocole de contexte de modèle
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!