MCP.so
ログイン

MCP Server to Auto commit changes

@jatinsandilya

基本情報

カテゴリ

バージョン管理

ライセンス

MIT

トランスポート

stdio

作者

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/)

#git#auto-commit#git-helper

MCP Server to Auto commit changes の設定

標準の設定はありません

このサーバーの README には解析可能な MCP 設定ブロックが含まれていません。インストール手順はリポジトリをご確認ください。

リポジトリ

MCP Server to Auto commit changes のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは 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

よくある質問

1

What dependencies are required?

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

2

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.

3

What model is used for generating commit messages?

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

4

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.

5

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.

コメント

「バージョン管理」の他のコンテンツ