MCP Git Commit Generator

MCP Git Commit Generator

Analyzes Git repository changes and generates conventional, context-aware commit messages using the Model Context Protocol.

Category
Visit Server

README

<div align="center"> <h1>MCP Git Commit Generator</h1>

<p> <em>Powerful Git commit message generator using the Model Context Protocol (MCP)</em> </p>

Python 3.13+ Code style: black Imports: isort Type checking: mypy Ruff GitPython pre-commit License: MIT

A Python package implementing the Model Context Protocol (MCP) to generate meaningful Git commit messages by analyzing repository changes. </div>


πŸš€ Overview

MCP Git Commit Generator is a Python package that leverages the Model Context Protocol (MCP) to analyze your Git repository and generate conventional, context-aware commit messages. It supports multiple deployment modes and integrates seamlessly with DXT and MCP environments.


πŸ› οΈ Tool Reference

For a complete list of available tools and their input schemas, see TOOLS.md.


πŸ“¦ Installation

Prerequisites

  • Python 3.11+ (with type hints)
  • UV Package Manager (Install UV) or use pip
  • Git (for repository operations)
  • Desktop Extensions (DXT) (Install DXT) for packaging .dxt files for Claude Desktop

Clone the Repository

git clone https://github.com/LuiccianDev/mcp_git_commit_generator.git
cd mcp_git_commit_generator

Install in Development Mode

pip install -e .

πŸ“‚ Project Structure

mcp_git_commit_generator/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ core/                  # Core logic and utilities
β”‚   β”‚   └── __init__.py
β”‚   β”œβ”€β”€ tools/                 # MCP tool implementations
β”‚   β”‚   β”œβ”€β”€ __init__.py
β”‚   β”‚   β”œβ”€β”€ commit_analysis.py # Commit message generation logic
β”‚   β”‚   β”œβ”€β”€ git_operations.py  # Git repository operations
β”‚   β”‚   └── register_tools.py  # Tool registration for MCP
β”‚   β”œβ”€β”€ __init__.py            # Package metadata
β”‚   β”œβ”€β”€ __main__.py            # CLI entry point
β”‚   └── server.py              # MCP server implementation
β”œβ”€β”€ tests/                     # Unit and integration tests
β”‚   └── test_commit_analysis.py
β”œβ”€β”€ manifest.json              # DXT packaging manifest
β”œβ”€β”€ TOOLS.md                   # Tool reference documentation
└──README.md                  # Project documentation

πŸ§ͺ Development

Setup Development Environment

  1. Clone the repository and navigate to the project directory.

  2. Install development dependencies:

    pip install -e ".[dev]"
    
  3. Install pre-commit hooks:

    pre-commit install
    

βš™οΈ Deployment Modes

MCP Git Commit Generator Server supports three deployment modes to fit different workflows and environments:

DXT Package Deployment

Recommended for: Users in the DXT ecosystem who want seamless configuration management.

  1. Package the project:

    dxt pack
    
  2. Usage: Once packaged, the tool integrates directly with DXT-compatible clients with automatic user configuration variable substitution.

  3. Server Configuration: This project includes manifest.json for building the .dxt package.

For more details, see DXT Package Documentation.

Traditional MCP Server

Recommended for: Standard MCP server deployments with existing MCP infrastructure.

Add to your MCP configuration file (e.g., Claude Desktop's mcp_config.json):

# Build packages
uv build
# Install packages
pip install dist/your_package*.whl

Then configure MCP:

{
  "mcpServers": {
    "mcp_git_commit": {
      "command": "uv",
      "args": ["run", "mcp_git_commit"]
    }
  }
}

Or use this configuration (less recommended):

{
   "mcp-word": {
      "command": "/Users/user/to/repo/.venv/Scripts/python",
      "args": [
        "/Users/user/to/repo/src/mcp_git_commit_generator/server.py"
      ]
   }
}

🀝 Contributing

Contributions are welcome! Please read the contribution guidelines before submitting pull requests.


πŸ“œ License

This project is licensed under the MIT License - see the LICENSE file for details.


<div align="center"> <p><strong>MCP Git Commit Generator Server</strong></p> <p>Empowering AI assistants with comprehensive Git commit generation capabilities</p> <p> <a href="https://github.com/LuiccianDev/mcp_git_commit_generator">🏠 GitHub</a> β€’ <a href="https://modelcontextprotocol.io">πŸ”— MCP Protocol</a> β€’ <a href="https://github.com/LuiccianDev/mcp_git_commit_generator/blob/main/TOOLS.md">πŸ“š Tool Documentation</a> </p> <p><em>Created by LuiccianDev</em></p> </div>

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured