MCP.so
登录

MCP Server to Auto commit changes 🛠️

@jatinsandilya

关于 MCP Server to Auto commit changes 🛠️

An mcp server that auto commits changes and creates commit message in the form of conventional commits (https://www.conventionalcommits.org/en/v1.0.0/)

基本信息

分类

版本控制

许可证

MIT

运行时

node

传输方式

stdio

发布者

jatinsandilya

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is MCP Server to Auto commit changes 🛠️?

This server analyzes both staged and unstaged git changes in a repository and generates conventional commit messages using OpenAI's GPT-4o-mini model. It is built with the Model Context Protocol SDK and is designed for developers using AI assistants such as Claude Desktop or Cursor.

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

Install dependencies with pnpm, set the OpenAI API key (via environment variable, command line argument, or .env file), and build the project with pnpm run build. Then configure an MCP client (e.g., Cursor or Claude Desktop) to run node ABSOLUTE_PATH_TO_MCP_SERVER/build/index.js --key your-api-key and invoke the git-changes-commit-message tool with an optional autoCommitPath parameter.

Key features of MCP Server to Auto commit changes 🛠️

  • Analyzes both staged and unstaged git changes
  • Generates conventional commit messages using GPT-4o-mini
  • Provides summaries of modified, added, and deleted files
  • Shows detailed changes up to 10 lines per file
  • Adds an auto-commit signature to each commit
  • Built with the official Model Context Protocol SDK

Use cases of MCP Server to Auto commit changes 🛠️

  • Automating commit message generation from git diffs
  • Integrating with Claude Desktop for AI-assisted commits
  • Using Cursor's MCP support to auto-commit changes
  • Standardizing commit messages with conventional commits format

FAQ from MCP Server to Auto commit changes 🛠️

What dependencies are required?

Node.js, pnpm, an OpenAI API key, and a Git repository.

How do I pass the OpenAI API key?

You can set it as an environment variable (OPENAI_API_KEY), pass it as a command line argument (--key your-api-key), or add it to a .env file in the project root.

What model is used for generating commit messages?

The server uses OpenAI's GPT-4o-mini model.

What transport or authentication does the server use?

The server uses the Model Context Protocol's standard command/stdio transport. Authentication is handled via the OpenAI API key.

Can I specify a custom path for analysis?

Yes, the git-changes-commit-message tool accepts an optional autoCommitPath parameter to analyze a specific directory or file; otherwise it uses the current working directory.

评论

版本控制 分类下的更多 MCP 服务器