git-commit-aider MCP Server
git-commit-aider MCP 服务器
代表 AI 进行 git 提交,以便您可以在代码库中跟踪 AI 贡献。
这是一个基于 TypeScript 的 MCP 服务器,它提供了一个工具来提交 Git 存储库中的暂存更改,同时在提交者的名称后附加“(aider)”。
特征
此 MCP 服务器仅提供一个工具:
commit_staged - 使用特定消息提交暂存的更改。
将
message(字符串,必需)作为提交消息。使用
cwd(字符串,可选)来指定 git 命令的工作目录。自动将“(aider)”附加到提交者名称。
如果设置,则从环境变量(
GIT_COMMITTER_NAME、GIT_COMMITTER_EMAIL)中读取提交者姓名和电子邮件,否则回退到git config user.name和git 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"]
}
}
}提交者信息从以下位置检索:
环境变量
GIT_COMMITTER_NAME和GIT_COMMITTER_EMAIL,遵循git 的约定。git config user.name和git config user.email命令的输出。
发展
安装依赖项:
npm install构建服务器:
npm run build对于使用自动重建的开发:
npm run watchMCP 配置示例:
{
"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 来访问浏览器中的调试工具。
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- Flicense-quality-maintenanceEnables 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.
- AlicenseAqualityCmaintenanceEnables 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.51MIT
- AlicenseAqualityDmaintenanceEnables AI assistants to create conventional Git commits, update changelogs, and optionally push changes to remote repositories.22MIT
- FlicenseBqualityDmaintenanceEnables 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.51
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
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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