drio
Open app

Git Auto Commit

Source

Auto commits changes and creates commit message in the form of conventional commits

Catalog onlyCatalog onlySTDIO

Overview

Git Auto Commit is a tool that automates the process of committing changes in a Git repository by generating commit messages in the conventional commits format using OpenAI's GPT models.

To use Git Auto Commit, clone the repository, install the necessary dependencies, set up your OpenAI API key, and run the server script to analyze your Git changes and generate commit messages automatically.

  • Analyzes both staged and unstaged Git changes in your repository. - Generates conventional commit messages using GPT-4o-mini. - Provides detailed summaries of modified, newly added, and deleted files, along with changes in each file. - Adds an auto-commit signature to each commit.
  1. Automating commit message generation for software development projects.
  2. Enhancing productivity by reducing the manual effort of writing commit messages.
  3. Ensuring consistency in commit messages across a team.

Add to your AI client

Use these steps to connect Git Auto Commit in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "git-auto-commit-jatinsandilya": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-git-auto-commit-jatinsandilya"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "git-auto-commit-jatinsandilya": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-git-auto-commit-jatinsandilya"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "git-auto-commit-jatinsandilya": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-git-auto-commit-jatinsandilya"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "git-auto-commit-jatinsandilya": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-git-auto-commit-jatinsandilya"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "git-auto-commit-jatinsandilya": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-git-auto-commit-jatinsandilya"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "git-auto-commit-jatinsandilya": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-git-auto-commit-jatinsandilya"
      ]
    }
  }
}

FAQ

Can Git Auto Commit work with any Git repository?

Yes! Git Auto Commit can be used with any Git repository as long as the prerequisites are met.

Is there a cost associated with using Git Auto Commit?

Git Auto Commit is free to use, but you will need an OpenAI API key which may have associated costs depending on usage.

How does Git Auto Commit ensure the quality of commit messages?

Git Auto Commit uses OpenAI's GPT-4o-mini model to generate high-quality commit messages based on the changes detected in the repository.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":2327,"uuid":"87bfd396-d07c-45d2-a8a1-7c4ba0f9268c","name":"Git Auto Commit","title":"Git Auto Commit","description":"Auto commits changes and creates commit message in the form of conventional commits","avatar_url":null,"created_at":"2025-03-10T12:07:49.283Z","updated_at":"2025-03-12T12:40:15.794Z","status":"created","author_name":"jatinsandilya","author_avatar_url":null,"tags":"git,auto-commit,git-helper","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/jatinsandilya/mcp-server-auto-commit","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":"1f9ba7f9-8a4e-460a-ad36-c6ac60b7bcfd","tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]