karanshah229
MCP Serverkaranshah229public

commit message generator

AI agent that writes commit messages

Repository Info

0
Stars
0
Forks
0
Watchers
0
Issues
Python
Language
-
License

About This Server

AI agent that writes commit messages

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

Automatic Commit Message Generator

What You'll Build

Your AI agent will analyze code changes and generate commit messages following the Conventional Commits specification.

Inputs

Your agent will have access to:

  • Git diff: The staged changes in your repository
  • Branch name: The current Git branch you're working on
  • Recent commits: A list of previous commit messages for context
  • Kanban integration: A pre-configured MCP server to fetch ticket details

Tools You Can Use

  • Kanban MCP Server: Already integrated into your project. You can fetch the ticket details using the tools provided by this server.

Note: You need to write the code that exposes the tools from the MCP server. See kanban/main.py

Placeholder

Insert the token {git_diff} anywhere in user_prompt.txt - the grading harness will replace it with the actual git diff. Same goes for {branch_name} and {recent_commits}

Requirements

Your generated commit messages must be:

  • Concise and Clear: Easy to understand at a glance
  • Correctly Formatted: Follow the Conventional Commits specification
  • Accurate: Reflect the actual changes in your code
  • Consistent: Match the tone and style of previous commits
  • Context-Aware: Use ticket information when available (e.g., from branch names like feature/TICKET-123-new-auth-flow)

Example

Here's what a good commit message looks like:

feat(api): add support for pagination

-   Enables cursor-based pagination for large datasets
-   Adds `pageToken` and `limit` query params to endpoints

Evaluation Criteria

Your solution will be evaluated on:

  • Correctness: Produces valid Conventional Commit messages
  • Relevance: Messages accurately describe the code changes
  • Consistency: Matches the style of previous commits
  • Tool Integration: Properly uses Kanban server when ticket IDs are present
  • Code Quality: Well-structured, readable, and maintainable code

Quick Start

1

Clone the repository

git clone https://github.com/karanshah229/commit-message-generator
2

Install dependencies

cd commit-message-generator
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownerkaranshah229
Repocommit-message-generator
LanguagePython
License-
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation