MCP.so
Sign In

MCP Server to Auto commit changes 🛠️

@MCP-Mirror

About MCP Server to Auto commit changes 🛠️

Mirror of

Basic information

Category

Version Control

License

MIT license

Runtime

node

Transports

stdio

Publisher

MCP-Mirror

Config

No standard config provided

This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.

Repository

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is MCP Server to Auto commit changes 🛠️?

MCP Server to Auto commit changes 🛠️ is an MCP (Model Context Protocol) server that analyzes Git changes in a repository and generates commit messages using OpenAI’s GPT-4o-mini model. It is built with the @modelcontextprotocol/sdk and is intended for developers who want automated, conventional commit messages.

How to use MCP Server to Auto commit changes 🛠️?

Clone the repository, install dependencies with pnpm, set your OpenAI API key (via environment variable, command‑line argument, or .env file), and build the project. Then configure the server in Cursor or Claude Desktop using the compiled build/index.js script, passing your API key. The tool git-changes-commit-message analyzes changes and produces a commit message.

Key features of MCP Server to Auto commit changes 🛠️

  • Analyzes staged and unstaged Git changes
  • Generates conventional commit messages using GPT‑4o-mini
  • Shows modified, added, and deleted files
  • Displays up to 10 lines of detailed changes per file
  • Supports optional custom path for analysis
  • Adds an auto‑commit signature to each commit

Use cases of MCP Server to Auto commit changes 🛠️

  • Automating commit message generation for Git workflows
  • Getting a structured summary of changes before committing
  • Integrating with AI‑powered assistants via MCP (Cursor, Claude Desktop)
  • Reducing manual effort in writing conventional commit messages

FAQ from MCP Server to Auto commit changes 🛠️

What prerequisites are needed to run the server?

Node.js, an OpenAI API key, a Git repository to analyze, and the pnpm package manager are required.

How can I provide my OpenAI API key?

It can be set as the environment variable OPENAI_API_KEY, passed as a command‑line argument --key your-api-key, or added to a .env file in the project root.

How do I configure the server with Cursor or Claude Desktop?

For Cursor, add an MCP server with type “command” and the command node ABSOLUTE_PATH/build/index.js --key your-api-key. For Claude Desktop, add a similar entry in the mcpServers JSON configuration.

What information does the git-changes-commit-message tool return?

It returns a list of modified, added, and deleted files, detailed changes (up to 10 lines per file), a conventional commit message, and an auto‑commit signature.

Are there any limits on the change details shown?

Yes, the tool limits detailed changes to 10 lines per file for readability.

Comments

More Version Control MCP servers