Related MCP Server Resources

Explore more AI models, providers, and integration options:

  • Explore AI Models
  • Explore AI Providers
  • Explore MCP Servers
  • LangDB Pricing
  • Documentation
  • AI Industry Blog
  • Gemini MCP Image Generation Server
  • MCP SSH Server
  • OracleDB MCP Server
  • Image Generation MCP Server
  • MCP Server
Back to MCP Servers
Git Prompts MCP Server

Git Prompts MCP Server

Public
ceshine/git-prompts-mcp-server

A Model Context Protocol server that generates prompts based on Git repository content, including a command to generate PR descriptions from diffs.

Verified
python
0 tools
May 30, 2025
Updated May 30, 2025

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

  1. Clone this repository
  2. 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 (the server use fnmatch in the backend) "*/uv.lock", "--excludes", "uv.lock", "--excludes", ".gitignore", "--format", // format for diff results "json" // options: json, text ] }, "settings": {} } }

Commands

The server responds to the following commands:

  1. /git-diff : Populate the diff results between HEAD and the specified ancestor branch or commit.
  2. /generate-pr-desc : 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.
  1. /git-cached-diff: Populate the diff results for the staged changes and HEAD.

Examples:

  1. /generate-pr-desc main
  2. /git-diff dev
  3. /git-cached-diff

License

MIT License. See LICENSE for details.

Publicly Shared Threads0

Discover shared experiences

Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!

Share your threads to help others
Related MCPs5
  • Gemini MCP Image Generation Server
    Gemini MCP Image Generation Server

    A Model Context Protocol server that provides image generation capabilities using Google's Gemini 2 ...

    1 tools
    Added May 30, 2025
  • MCP SSH Server
    MCP SSH Server

    A secure SSH server implementation for Model Context Protocol that enables remote command execution ...

    Added May 30, 2025
  • OracleDB MCP Server
    OracleDB MCP Server

    A Model Context Protocol Server that enables LLMs to interact with Oracle Database by providing data...

    Added May 30, 2025
  • Image Generation MCP Server
    Image Generation MCP Server

    A Model Context Protocol server that enables generation of high-quality images using the Flux.1 Schn...

    1 tools
    Added May 30, 2025
  • MCP Server
    MCP Server

    A Model Context Protocol server that provides greeting tools, resources, and prompts, demonstrating ...

    Added May 30, 2025