
Mcp Git Commit Generator
@theoklitosBam7
About Mcp Git Commit Generator
Generate conventional commit messages from your staged git changes using Model Context Protocol (MCP)
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-git-commit-generator": {
"command": "uvx",
"args": [
"mcp-git-commit-generator"
]
}
}
}Tools
2Prepare a structured analysis and instruction block for generating a Conventional Commit message from staged git changes only. Behavior: - Validates the repository path and operates on the provided repo or CWD. - Collects staged diff, porcelain status, and a name-status summary. - Incorporates optional user preferences for commit_type and scope. - Returns a single formatted string that includes context plus strict output instructions for an LLM to produce a Conventional Commit. Args: repo_path: Optional path to the target git repository. If not provided, uses the current working directory. commit_type: Optional commit type (feat, fix, docs, style, refactor, perf, build, ci, test, chore, revert) scope: Optional scope of the change Returns: A formatted prompt containing git change context and clear output rules for generating a Conventional Commit message
Check the current git repository status. Args: repo_path: Optional path to the target git repository. If not provided, uses the current working directory. Returns: Current git status including staged, unstaged, and untracked files
Overview
What is Mcp Git Commit Generator?
Mcp Git Commit Generator is an MCP server that automatically generates conventional commit messages from your staged git changes. It supports both stdio and SSE transport options and integrates with MCP-compatible clients like VS Code, Claude Desktop, Cursor, and Windsurf.
How to use Mcp Git Commit Generator?
Install via uvx mcp-git-commit-generator (recommended), pip install mcp-git-commit-generator, or Docker. Configure the server in your MCP client using the provided JSON snippets. Stage your changes (git add <files>), then use the generate_commit_message tool to create a commit message or check_git_status to inspect the repository state.
Key features of Mcp Git Commit Generator
- Automatic conventional commit message generation from staged diffs
- Supports the Conventional Commits specification
- MCP server with stdio (default) and SSE transports
- Inspector UI for interactive inspection via MCP Inspector
- Works with any MCP-compatible client
Use cases of Mcp Git Commit Generator
- Quickly generate standardized commit messages before committing changes
- Check your repository’s staged, unstaged, and untracked file status
- Integrate commit message generation into VS Code, Claude Desktop, Cursor, or Windsurf workflows
- Use SSE transport for remote access or UI-based inspection
FAQ from Mcp Git Commit Generator
What does Mcp Git Commit Generator do?
It analyzes staged git diffs and produces a conventional commit message (e.g., feat, fix, docs) with optional auto-detection of type and scope.
What are the runtime requirements for Mcp Git Commit Generator?
For Docker usage: Docker. For PyPI/uvx usage: Python ≥ 3.13.5 and uv (recommended) or pip. Git is required in all cases.
What transports does Mcp Git Commit Generator support?
It supports stdio (default) and SSE transport. For SSE, pass --transport sse when running the server; it listens on 0.0.0.0:3001 by default.
Where does Mcp Git Commit Generator access data?
It reads locally staged changes from the Git repository on your filesystem. No external data storage is used.
Can I run Mcp Git Commit Generator without installing Python?
Yes, you can use the Docker image from GitHub Container Registry. Mount your home directory so the container can access Git repositories.
Frequently asked questions
What does Mcp Git Commit Generator do?
It analyzes staged git diffs and produces a conventional commit message (e.g., `feat`, `fix`, `docs`) with optional auto-detection of type and scope.
What are the runtime requirements for Mcp Git Commit Generator?
For Docker usage: Docker. For PyPI/uvx usage: Python ≥ 3.13.5 and uv (recommended) or pip. Git is required in all cases.
What transports does Mcp Git Commit Generator support?
It supports stdio (default) and SSE transport. For SSE, pass `--transport sse` when running the server; it listens on `0.0.0.0:3001` by default.
Where does Mcp Git Commit Generator access data?
It reads locally staged changes from the Git repository on your filesystem. No external data storage is used.
Can I run Mcp Git Commit Generator without installing Python?
Yes, you can use the Docker image from GitHub Container Registry. Mount your home directory so the container can access Git repositories.
Basic information
More Version Control MCP servers
GitMCP
idosalPut an end to code hallucinations! GitMCP is a free, open-source, remote MCP server for any GitHub project
Jira MCP
nguyenvanduocitA Go-based MCP (Model Control Protocol) connector for Jira that enables AI assistants like Claude to interact with Atlassian Jira. This tool provides a seamless interface for AI models to perform common Jira operations including issue management, sprint planning, and workflow tra
Integrate MCP with GitHub Copilot
skillsLearn how to use MCP Servers with GitHub Copilot
Code Review Server
crazyrabbitLTCA MCP server for code reviews

Github
modelcontextprotocolModel Context Protocol Servers
Comments