Skip to main content
Glama
MrOrz

git-commit-aider MCP Server

by MrOrz

git-commit-aider MCP サーバー

AI に代わって Git コミットを実行し、コードベースでの AI の貢献を追跡できるようにします。

これは、コミッターの名前に「(aider)」を追加しながら、Git リポジトリ内のステージングされた変更をコミットするためのツールを提供する、TypeScript ベースの MCP サーバーです。

特徴

この MCP サーバーは、次の 1 つのツールのみを提供します。

commit_staged - 特定のメッセージでステージングされた変更をコミットします。

  • コミット メッセージとしてmessage (文字列、必須) を受け取ります。

  • cwd (文字列、オプション) を受け取り、git コマンドの作業ディレクトリを指定します。

  • コミッター名に「(aider)」を自動的に追加します。

  • 設定されている場合、環境変数 ( GIT_COMMITTER_NAMEGIT_COMMITTER_EMAIL ) からコミッター名とメールを読み取ります。設定されていない場合は、 git config user.namegit config user.emailにフォールバックします。

このツールをコード エディターにインストールすると、次のような指示を AI に出すことができます。

変更をコミットする

これは通常、AI がコードベースに何らかの変更を加えた後に発生するため、多くの場合、AI はコンテキストから適切なコミット メッセージを提供できます。

「(aider)」を含むコミットは、 aider --statsコマンドで取得でき、コードベースにおける AI の貢献が表示されます。

Related MCP server: Git Polite

インストール

このサーバーを使用するには、その構成を MCP 設定ファイルに追加します。

{
  "mcpServers": {
    "git-commit-aider": {
      "command": "npx",
      "args": ["mcp-git-commit-aider"]
    }
  }
}

コミッター情報は以下から取得されます:

  1. 環境変数GIT_COMMITTER_NAMEGIT_COMMITTER_EMAILは、 git の規則に従います。

  2. git config user.nameおよびgit config user.emailコマンドの出力。

発達

依存関係をインストールします:

npm install

サーバーを構築します。

npm run build

自動リビルドを使用した開発の場合:

npm run watch

サンプル MCP 構成:

{
  "mcpServers": {
    "git-commit-aider": {
      "command": "node",
      "args": [
        "/path/to/git-commit-aider/build/index.js"
      ]
    }
  }
}

( /path/to/git-commit-aiderこのサーバー ディレクトリへの実際のパスに置き換えます。)

デバッグ

MCPサーバーはstdio経由で通信するため、デバッグが困難になる場合があります。パッケージスクリプトとして提供されているMCP Inspectorの使用をお勧めします。

npm run inspector

インスペクターは、ブラウザでデバッグ ツールにアクセスするための URL を提供します。

Install Server
A
license - permissive license
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    -
    quality
    -
    maintenance
    Enables AI assistants to interact with local Git repositories for operations like status, commits, branching, and diffs, plus GitHub API integration for managing pull requests when authenticated.
  • A
    license
    A
    quality
    C
    maintenance
    Enables AI agents to intelligently organize Git changes into clean, focused commits with autopilot mode or surgical line-by-line staging precision. Supports partial staging of untracked files and handles large diffs with smart truncation.
    5
    1
    MIT
  • F
    license
    B
    quality
    D
    maintenance
    Enables AI-powered code editing and development tasks through natural language conversations with Claude, using Aider's capabilities for improving code, adding features, fixing bugs, refactoring, and checking status.
    5
    1

View all related MCP servers

Related MCP Connectors

  • Edit your Overleaf LaTeX projects from Claude and ChatGPT; every change is a real Git commit.

  • Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

  • Git-backed platform for skills, tools, and context for AI agents

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MrOrz/mcp-git-commit-aider'

If you have feedback or need assistance with the MCP directory API, please join our Discord server