- Home
- MCP servers
- Git Auto Commit
Git Auto Commit
- typescript
0
GitHub Stars
typescript
Language
4 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"fundinglife-mcp-auto-git-commit": {
"command": "node",
"args": [
"ABSOLUTE_PATH_TO_MCP_SERVER/build/index.js",
"--key",
"your-api-key"
],
"env": {
"OPENAI_API_KEY": "YOUR_API_KEY"
}
}
}
}You can deploy an MCP server that analyzes Git changes in your repository and auto-generates conventional commit messages using OpenAI GPT models. It streamlines your workflow by producing clear, standardized commit messages and appending an auto-commit signature to each commit.
How to use
Install and run the MCP server in your environment, then connect it to your MCP client (Cursor or Claude Desktop). Once connected, you can trigger the git-changes-commit-message tool to analyze staged and unstaged changes, generate a conventional commit message, and apply the commit automatically with an added signature.
How to install
Prerequisites: Install Node.js and pnpm, and obtain an OpenAI API key. You also need a Git repository to analyze.
pnpm install
pnpm run build
export OPENAI_API_KEY=your-api-key # or store in a .env file in the project root
# Start the MCP server (example runtime command shown; replace ABSOLUTE_PATH with your path)
node ABSOLUTE_PATH_TO_MCP_SERVER/build/index.js --key your-api-key
Additional notes
Configure your MCP client to load the server as an MCP endpoint using a stdio command. The server runs locally and expects the API key either from an environment variable or the --key flag.
The server exposes a single MCP endpoint named git_auto_commit that analyzes git changes and generates a commit message with an auto-commit signature.
Available tools
git-changes-commit-message
Analyzes current Git changes (staged and unstaged), summarizes modified/new/deleted files, provides detailed per-file changes (up to 10 lines), generates a conventional commit message, and appends an auto-commit signature.