Skip to main content
Glama
archish9

GitHub MCP Server

by archish9

generate_commit_message

Generate commit messages for staged changes using conventional or simple formats to streamline version control workflows.

Instructions

Generate a suggested commit message based on staged changes.

This tool analyzes the staged and modified files to suggest a commit message. Note: This uses a simple heuristic (template-based), not a full LLM analysis of the diff content. It is useful as a starting point or for quick commits.

Styles:

  • "conventional": Uses Conventional Commits format (feat: ..., fix: ..., chore: ...) based on file types.

  • "simple": Returns a plain predictive sentence like "Update 3 files".

Args: repo_path: The absolute path to the repository. style: The message style format to use. Defaults to "conventional".

Returns: A string containing the suggested commit message and a brief summary of detected changes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repo_pathYes
styleNoconventional

Latest Blog Posts

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/archish9/github-mcp-small'

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