MCP.so
登录

git-commit-aider MCP Server

@MrOrz

基本信息

分类

版本控制

许可证

MIT license

传输方式

stdio

作者

MrOrz

关于 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

#git-commit-aider#ai-contribution#git-automation

git-commit-aider MCP Server 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

git-commit-aider MCP Server 工具

1

Commit staged changes with a specific message.

概览

What is git-commit-aider MCP Server?

A TypeScript-based MCP server that provides a tool to commit staged changes in a Git repository while appending "(aider)" to the committer's name. It helps track AI contributions in a codebase.

How to use git-commit-aider MCP Server?

Add its configuration to your MCP settings file, specifying the path to the built index.js. Use the commit_staged tool with a required message parameter and an optional cwd parameter for the working directory.

Key features of git-commit-aider MCP Server

  • Provides a commit_staged tool to commit staged changes.
  • Automatically appends "(aider)" to the committer name.
  • Supports an optional cwd parameter for the working directory.
  • Reads GIT_COMMITTER_NAME and GIT_COMMITTER_EMAIL environment variables.
  • Falls back to Git config for name and email.
  • Built with TypeScript for the Model Context Protocol.

Use cases of git-commit-aider MCP Server

  • Automatically tag AI-made commits with "(aider)".
  • Track AI contributions in a Git codebase.
  • Integrate with MCP-enabled clients to commit changes.
  • Ensure proper attribution for AI-assisted development.

常见问题

1

What tool does this server provide?

It provides the `commit_staged` tool, which commits staged changes with a given message.

2

How do I set the committer name and email?

Set the `GIT_COMMITTER_NAME` and `GIT_COMMITTER_EMAIL` environment variables in the server configuration. If unset, the server falls back to Git's `user.name` and `user.email`.

3

What happens to the committer name?

"(aider)" is appended to the committer name automatically for every commit made with this tool.

4

How do I debug this server?

Debug over stdio using the MCP Inspector, available via `npm run inspector` in the project directory.

5

What runtime is required?

Node.js is required; the server is compiled to JavaScript (index.js) and run with the `node` command.

评论

版本控制 分类下的更多 MCP 服务器