git-commit-aider MCP Server
@MrOrz
About git-commit-aider MCP Server
A simple MCP server that makes git commits on behave of AI, so that you can track AI contribution in your codebase
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"git-commit-aider": {
"command": "npx",
"args": [
"mcp-git-commit-aider"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is git-commit-aider MCP Server?
This server provides an MCP tool to commit staged Git changes while automatically appending "(aider)" to the committer name. It is intended for developers who want to clearly attribute AI‑generated commits in their codebase.
How to use git-commit-aider MCP Server?
Add the server configuration to your MCP settings file using npx mcp-git-commit-aider. Once installed, invoke the commit_staged tool with a required commit message and an optional cwd parameter to specify the working directory. The server reads committer information from GIT_COMMITTER_NAME/GIT_COMMITTER_EMAIL environment variables or falls back to git config values.
Key features of git-commit-aider MCP Server
- Provides one tool:
commit_stagedwith a required message string. - Accepts an optional
cwdpath for the git working directory. - Automatically appends "(aider)" to the committer name.
- Uses environment variables or local git config for author identity.
Use cases of git-commit-aider MCP Server
- Let an AI assistant commit staged changes with a clear AI attribution.
- Track AI‑generated contributions in a Git repository.
- Feed attributed commits into tools like
aider --statsfor contribution analysis.
FAQ from git-commit-aider MCP Server
What does commit_staged actually do?
It commits all staged changes in the repository with the provided message and modifies the committer name to include "(aider)".
How is the committer name and email determined?
First, the server checks the environment variables GIT_COMMITTER_NAME and GIT_COMMITTER_EMAIL. If those are not set, it falls back to the output of git config user.name and git config user.email.
How can I calculate the AI contribution in my codebase?
You can use the aider --stats command (from the Aider‑AI project) or run the shell script provided in the README. The script parses git log --numstat over a revision range and outputs a JSON report of added/deleted lines per author, identifying AI commits by the "(aider)" marker.
Is there an alternative to using this MCP server?
Yes. You can commit normally and then run git commit --amend --author="$(git config user.name) (aider) <$(git config user.email)>" to manually add the "(aider)" marker. A git alias (git aimend) can simplify this process.
Frequently asked questions
What does `commit_staged` actually do?
It commits all staged changes in the repository with the provided message and modifies the committer name to include "(aider)".
How is the committer name and email determined?
First, the server checks the environment variables `GIT_COMMITTER_NAME` and `GIT_COMMITTER_EMAIL`. If those are not set, it falls back to the output of `git config user.name` and `git config user.email`.
How can I calculate the AI contribution in my codebase?
You can use the `aider --stats` command (from the Aider‑AI project) or run the shell script provided in the README. The script parses `git log --numstat` over a revision range and outputs a JSON report of added/deleted lines per author, identifying AI commits by the "(aider)" marker.
Is there an alternative to using this MCP server?
Yes. You can commit normally and then run `git commit --amend --author="$(git config user.name) (aider) <$(git config user.email)>"` to manually add the "(aider)" marker. A git alias (`git aimend`) can simplify this process.
Basic information
More Version Control MCP servers
Gerrit Review MCP Server
cayirtepeomerThis MCP server provides integration with Gerrit code review system, allowing AI assistants to review code changes and their details through a simple interface.
Atlassian Jira MCP Server
aashariNode.js/TypeScript MCP server for Atlassian Jira. Equips AI systems (LLMs) with tools to list/get projects, search/get issues (using JQL/ID), and view dev info (commits, PRs). Connects AI capabilities directly into Jira project management and issue tracking workflows.

GitLab
modelcontextprotocolModel Context Protocol Servers
Gitlab Mcp Server
jmrplensOpen source GitLab MCP server for AI assistants: 2-tool dynamic find/execute over 860+ GitLab actions (1,000+ Enterprise), stdio/HTTP/OAuth, safe/read-only modes.
MCP Atlassian Server (by phuc-nt)
phuc-ntMCP server connecting AI assistants with Jira & Confluence for smart project management.
Comments