This implementation provides a Git changes analyzer that generates commit messages and commits all for free.
- Analyzes git changes in your repository (both staged and unstaged)
- Stage and commit the changes to github
git-committer-mcp-server/
├── index.ts
├── package.json
├── tsconfig.json
└── build/
- Node.js installed
- Git repository to analyze
- pnpm package manager
- Clone this repository:
git clone https://github.com/BirajMainali/git-committer-mcp-server.git
cd git-committer-mcp-server- Install dependencies:
pnpm install- Build the project:
pnpm run buildThis will generate the /build/index.js file - your compiled MCP server script.
- Go to Cursor Settings -> MCP -> Add new MCP server
- Configure your MCP:
- Name: git-committer-mcp-server
- Type: command
- Command: `node CLONED_FULL_PATH/build/index.js
Add the following MCP config to your Claude Desktop configuration:
{
"mcpServers": {
"git-commit-generator": {
"command": "node",
"args": [
"C:\\MCP\\git-commit-generator-mcp\\build\\index.js"
],
"env": {
"REPOSITORY_PATH": "C:\\MCP\\portainer-ce-mcp"
}
}
}
}Feel free to submit issues and enhancement requests!
MIT