AI Integration

Supercharge your Git workflow with AI-powered commit messages, conflict resolution, code review, and an MCP server for AI assistants.

Supported AI Providers

GitSmith integrates with the most popular AI providers. Configure your preferred provider in Settings > AI / MCP with your API key.

Anthropic

Claude 3 Opus, Sonnet, Haiku

OpenAI

GPT-4, GPT-4o, GPT-3.5

Google Gemini

Gemini Pro and more

Custom MCP

Any MCP-compatible server

What AI can do in GitSmith

Four powerful AI features built into your daily Git workflow

01

AI Commit Messages

Stop writing commit messages manually. Click the AI button in the Commit Dialog and GitSmith will analyze your staged diff to generate a clear, descriptive commit message following the Conventional Commits convention.

  • Analyzes the full staged diff for context
  • Follows Conventional Commits format (feat:, fix:, chore:, etc.)
  • You can edit the suggestion before committing
  • Works with any configured AI provider
02

AI Conflict Resolution

When a merge conflict occurs, the built-in 3-way editor shows a "Resolve with AI" button. The AI analyzes the ours, theirs, and base versions of the file to suggest an intelligent resolution.

  • Understands both sides of the conflict
  • Shows a preview with LCS diff before applying
  • You accept, modify, or reject the suggestion
  • Handles complex multi-hunk conflicts
03

AI Pull Request Descriptions

Creating a pull request? GitSmith can generate both the title and a detailed description from your branch's commits. If a PR template exists in the repository, the AI uses it as a guide.

  • Auto-generates title from commit range
  • Creates structured description with summary, changes, and testing notes
  • Respects repository PR templates
  • Branch autocomplete for quick base/head selection
04

AI Code Review

Right-click any commit in the graph and select AI Code Review. GitSmith sends the commit diff to your AI provider for an automated review covering bugs, style, performance, and security.

  • Review individual commits or ranges
  • Highlights potential bugs and security issues
  • Suggestions for code quality improvements
  • Results displayed in a dedicated review panel

MCP Server — 50+ Git Tools for AI Assistants

GitSmith includes a built-in MCP (Model Context Protocol) server that exposes over 50 Git operations as tools. This allows external AI assistants (Claude, ChatGPT, Copilot, custom agents) to interact with your repositories through a standardized protocol.

Read Operations

  • Repository status and info
  • Commit log and history
  • Diff between commits
  • Blame annotations
  • Branch and tag listing
  • File contents at any revision
  • Stash list and contents

Write Operations

  • Stage and commit changes
  • Create and checkout branches
  • Merge and rebase
  • Push and pull
  • Create and delete tags
  • Stash and pop
  • Cherry-pick and revert
How to enable: Go to Settings > AI / MCP > MCP Server and toggle it on. Communication happens via the standard MCP stdio protocol.

Quick Setup

  1. Open GitSmith and go to Settings > AI / MCP.
  2. Select your AI provider (Anthropic, OpenAI, or Google Gemini).
  3. Enter your API key.
  4. Choose a model (e.g., claude-3-sonnet, gpt-4, gemini-pro).
  5. Click Save. AI features are now active across the application.

To enable the MCP server for external AI assistants, toggle MCP Server > Enabled in the same settings panel.

Start using AI in your Git workflow

Download GitSmith, plug in your API key, and let AI handle the tedious parts.