git-commit-message-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PROMPTS_DIR | No | User prompts directory. | |
| GCM_PROMPTS_DIR | No | User prompts directory, using the GCM_* prefix to avoid conflicts. | |
| MAX_DIFF_LENGTH | No | Maximum diff length. | 3000 |
| DEFAULT_PROMPT_FILE | No | Default prompt to use. | default |
| GCM_MAX_DIFF_LENGTH | No | Maximum diff length, using the GCM_* prefix to avoid conflicts. | 3000 |
| GCM_DEFAULT_PROMPT_FILE | No | Default prompt to use, using the GCM_* prefix to avoid conflicts. | default |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| git_diffA | Get git diff showing code changes. Usage:
|
| list_promptsA | List all available commit message prompts (both built-in and user-defined) |
| generate_commit_message_promptB | Generate AI prompt for commit message based on diff. Supports custom prompts:
|
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 3 tools
Each tool has a distinct role: git_diff retrieves changes, list_prompts enumerates available prompt templates, and generate_commit_message_prompt builds the AI prompt from the diff. The two prompt-related tools are cleanly separated by action (list vs. generate), and the descriptions make the workflow order obvious.
All names use snake_case and two follow a verb_noun pattern (list_prompts, generate_commit_message_prompt). git_diff deviates slightly by using a noun_noun 'git_' prefix rather than a verb, but it remains readable and unambiguous.
Three tools is a tight, purpose-fit surface for a commit-message helper: fetch diff, discover prompts, produce prompt. No tool feels redundant or padded, and nothing obviously missing at this scope.
The diff-to-prompt lifecycle is covered end to end, but the surface stops at prompt generation — there is no tool to actually produce or apply a commit message, nor to inspect or manage individual custom prompts beyond naming them. These are minor, workable gaps given the deliberately narrow scope.