Skip to main content
Glama

Commit Helper MCP

by jolfr
  • Apple

preview_git_commit

Preview git commit operations in dry-run mode to validate messages, check repository status, and list files to be committed without executing the commit.

Instructions

Preview git commit operation without executing (dry-run mode).

Args: message: Commit message to preview 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)

Returns: Dict containing: - message: The commit message - is_valid: Whether message passes validation - files_to_commit: List of files that would be committed - dry_run: Always True for this tool - repository_status: Current repository state

Input Schema

NameRequiredDescriptionDefault
messageYes
repo_pathYes
sign_offNo
stage_allNo

Input Schema (JSON Schema)

{ "properties": { "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": "preview_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