Skip to main content
Glama
git-commit-message-mcp

git-commit-message-mcp

by halfmoonvic

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PROMPTS_DIRNoUser prompts directory.
GCM_PROMPTS_DIRNoUser prompts directory, using the GCM_* prefix to avoid conflicts.
MAX_DIFF_LENGTHNoMaximum diff length.3000
DEFAULT_PROMPT_FILENoDefault prompt to use.default
GCM_MAX_DIFF_LENGTHNoMaximum diff length, using the GCM_* prefix to avoid conflicts.3000
GCM_DEFAULT_PROMPT_FILENoDefault 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

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
git_diffA

Get git diff showing code changes.

Usage:

  • No params: working directory changes vs HEAD

  • compare="branch": HEAD vs branch

  • base="dev", compare="feature": feature vs dev (shows changes in feature relative to dev)

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:

  • Use promptName to specify a prompt (e.g., "conventional", "simple", "a", "b")

  • Prompts are loaded from: user prompts directory > built-in prompts

  • If no promptName specified, uses default.md

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 3 tools

Disambiguation5/5

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.

Naming Consistency4/5

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.

Tool Count5/5

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.

Completeness4/5

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.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues