mcp-server-auto-commit
If you are the rightful owner of mcp-server-auto-commit and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
This implementation provides a Git changes analyzer that generates commit messages using OpenAI's GPT models.
The MCP Server for Auto Commit is a tool designed to streamline the process of generating commit messages by analyzing git changes in a repository. It leverages OpenAI's GPT-4o-mini model to create conventional commit messages, providing detailed summaries of modified, newly added, and deleted files. The server is built using the Model Context Protocol SDK and includes an auto-commit signature for each commit. The project is structured with a main server implementation, TypeScript configuration, and compiled JavaScript output. To get started, users need Node.js, an OpenAI API key, a git repository, and the pnpm package manager. The server can be integrated with platforms like Cursor and Claude Desktop, allowing for seamless command execution and configuration.
Features
- Analyzes git changes in your repository (both staged and unstaged)
- Generates conventional commit messages using GPT-4o-mini
- Provides detailed summaries of modified, newly added, and deleted files
- Built with @modelcontextprotocol/sdk
- Adds an auto-commit signature to each commit
Tools
git-changes-commit-message
Analyzes the current git changes in your repository and generates a commit message using OpenAI's GPT-4o-mini model. Provides a list of modified, newly added, and deleted files, detailed changes for each file, and a generated commit message following conventional commits format.