mcp-server-auto-commit
12
This project is a Git changes analyzer that auto-generates commit messages using AI models from OpenAI. It is intended for developers to streamline their workflow by automating the commit message generation process while analyzing staged and unstaged changes in a Git repository.
MCP Server to Auto commit changes 🛠️
This project offers a Git changes analyzer that generates commit messages leveraging OpenAI's GPT models.
Features
- Analyzes git repository changes (staged and unstaged)
- Generates conventional commit messages using GPT-4o-mini
- Summarizes modified, newly added, and deleted files
- Marked with an auto-commit signature
Prerequisites
- Node.js
- OpenAI API key
- Git repository
- pnpm package manager
Getting Started
- Clone the repository and navigate to the directory.
- Install dependencies using pnpm.
- Set up your OpenAI API key.
- Build the project to generate the MCP server script.
Usage
Configure the MCP server in tools like Cursor and Claude Desktop.
Development
The project is implemented in TypeScript, focuses on setting up an MCP server, handling arguments, integrating OpenAI's API, and performing Git operations.
Contributing
Open for issues and enhancement requests.
License
MIT