MCP Git Commit Generator
Analyzes Git repository changes to generate conventional commit messages.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Git Commit GeneratorGenerate a commit message for my staged changes."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
A Python package implementing the Model Context Protocol (MCP) to generate meaningful Git commit messages by analyzing repository changes.
π 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_generatorInstall 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
Clone the repository and navigate to the project directory.
Install development dependencies:
pip install -e ".[dev]"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.
Package the project:
dxt packUsage: Once packaged, the tool integrates directly with DXT-compatible clients with automatic user configuration variable substitution.
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*.whlThen 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.
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/LuiccianDev/mcp_git_commit_generator'
If you have feedback or need assistance with the MCP directory API, please join our Discord server