MCP Server to Auto commit changes 🛠️
@MCP-Mirror
关于 MCP Server to Auto commit changes 🛠️
Mirror of
基本信息
配置
工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
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.
版本控制 分类下的更多 MCP 服务器
mcp-github-trending MCP Server
hetaoBackendMCP server for getting github trending repos & developers
MCP GitHub Project Manager
kunwarViveka mcp server to manage github project's functionality
Git MCP Server
cyanheadsA Git MCP server for AI agents. STDIO & Streamable HTTP.
GitHub Actions 工作流使用说明
HenryHaosonYuque mcp server
Atlassian Jira MCP Server
aashariNode.js/TypeScript MCP server for Atlassian Jira. Equips AI systems (LLMs) with tools to list/get projects, search/get issues (using JQL/ID), and view dev info (commits, PRs). Connects AI capabilities directly into Jira project management and issue tracking workflows.
评论