Skip to main content
Glama

Commit Helper MCP

by jolfr
  • Apple

smart_commit_suggestion

Automatically generate structured commit message suggestions by analyzing staged changes in a repository. Provides commit type, scope, and subject line based on file patterns and affected directories.

Instructions

Intelligent commit message suggestions based on repository changes.

Uses GitPython to analyze staged changes and suggest:

  • Appropriate commit type based on file patterns
  • Scope based on affected directories/modules
  • Subject line based on change patterns

Args: repo_path: Path to git repository analyze_changes: Whether to analyze file changes for suggestions suggest_type: Whether to suggest commit type suggest_scope: Whether to suggest scope

Returns: Dict containing intelligent commit suggestions

Input Schema

NameRequiredDescriptionDefault
analyze_changesNo
repo_pathYes
suggest_scopeNo
suggest_typeNo

Input Schema (JSON Schema)

{ "properties": { "analyze_changes": { "default": true, "title": "Analyze Changes", "type": "boolean" }, "repo_path": { "title": "Repo Path", "type": "string" }, "suggest_scope": { "default": true, "title": "Suggest Scope", "type": "boolean" }, "suggest_type": { "default": true, "title": "Suggest Type", "type": "boolean" } }, "required": [ "repo_path" ], "title": "smart_commit_suggestionArguments", "type": "object" }

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