Back to Home
tarekbadrsh icon

git-commit-helper

Verified Safe

by tarekbadrsh

Overview

This MCP server helps Claude generate professional git commit messages by providing context from the local git repository's status, staged changes, all changes, and commit history.

Installation

Run Command
./target/release/git-commit-helper

Security Notes

The server executes `git` commands locally via `std::process::Command`. All command arguments are strictly controlled within the source code (e.g., `["status"]`, `["diff", "--cached"]`), and the `repo_path` parameter is used to set the working directory for `git`, preventing arbitrary command injection. The `git_log` limit is clamped to 50 commits. There is no network exposure as communication occurs over stdio, no dynamic code execution (`eval`), and no hardcoded secrets were found. Robust error handling is implemented for `git` command failures and cases where `git` is not installed.

Similar Servers

Stats

Interest Score0
Security Score10
Cost ClassMedium
Avg Tokens1500
Stars0
Forks0
Last Update2025-11-22

Tags

gitcommit-messagedeveloper-toolsclauderust