← Discover MCPs and Agents
g
MCPAI & MLGitHub

gh-copmit

Links

README

From the repo.

gh-copmit

Latest Release License gh extension

🤖 AI-powered Conventional Commits using GitHub Models

A gh CLI extension that generates Conventional Commit messages and bodies automatically using GitHub Models AI.


✨ Features

  • 🎯 AI-generated commits using GitHub Models (gh models)
  • 📝 Conventional Commits format (feat, fix, docs, etc.)
  • 🌍 Multi-language support (English, Spanish, and more)
  • 🔍 Dry-run mode to preview commits before creating them
  • 🚀 Auto-push option after committing

📦 Installation

gh extension install svg153/gh-copmit

Prerequisites:

  • GitHub CLI authenticated
  • gh models extension (auto-installed with --yes flag)
  • jq (optional, for robust JSON parsing)

🚀 Usage

# Show help
gh copmit --help

# Stage all changes and create commit (English, default model)
gh copmit --all

# Preview commit message (dry-run)
gh copmit --all --dry-run

# Create commit in Spanish
gh copmit --all --lang es

# Create commit and push
gh copmit --all --push

📁 Repository Files

  • gh-copmit.sh - Main extension script that generates AI-powered commit messages
  • .gitignore - Git ignore rules for the project

For additional scripts, documentation, and examples, check the local repository or future releases.

🔧 Development

Local installation for development:

ln -s $(pwd) ~/.local/share/gh/extensions/gh-copmit

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

🙏 Acknowledgments


If you find this extension useful, consider giving it a ⭐ on GitHub!

Collected info

  • 1 stars
  • Language: Shell
  • Source updated: 5/28/2026

Config for your environment

Replace {MCP_ENDPOINT_URL} with this MCP’s endpoint URL (from its repo or docs above). No API key — you connect directly.

Tool

OS

Config file: ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp-server": {
      "url": "{MCP_ENDPOINT_URL}"
    }
  }
}

Paste into mcpServers in the config file. Restart Cursor after saving.

If this MCP is also published on mcpchannel.ai, you can subscribe from Browse and use the gateway config there instead.