Skip to main content
Glama

Commit Helper MCP

by jolfr
  • Apple

execute_git_commit

Perform a git commit with safety checks and user approval. Requires force_execute=True for execution, ensuring controlled and secure commit operations. Returns success status, message, and execution details.

Instructions

Execute actual git commit with safety checks and user approval.

SAFETY: Requires force_execute=True to perform actual commit.

Args: message: Commit message to use repo_path: Path to git repository stage_all: Whether to stage all changes before commit (not implemented yet) sign_off: Whether to add sign-off to commit (default: True) force_execute: Must be True to execute actual commit (safety flag)

Returns: Dict containing: - success: Whether commit was successful - message: The commit message used - executed: Whether commit was actually executed - error: Error message (if failed) - dry_run: False if actually executed, True if preview only

Input Schema

NameRequiredDescriptionDefault
force_executeNo
messageYes
repo_pathYes
sign_offNo
stage_allNo

Input Schema (JSON Schema)

{ "properties": { "force_execute": { "default": false, "title": "Force Execute", "type": "boolean" }, "message": { "title": "Message", "type": "string" }, "repo_path": { "title": "Repo Path", "type": "string" }, "sign_off": { "default": true, "title": "Sign Off", "type": "boolean" }, "stage_all": { "default": false, "title": "Stage All", "type": "boolean" } }, "required": [ "message", "repo_path" ], "title": "execute_git_commitArguments", "type": "object" }
Install Server

Other Tools from Commit Helper MCP

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jolfr/commit-helper-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server