git-commit-aider MCP 서버
AI를 대신하여 git 커밋을 수행하면 코드베이스에서 AI 기여도를 추적할 수 있습니다.
이것은 Git 저장소에 단계적 변경 사항을 커밋하고 커미터 이름에 "(aider)"를 추가하는 도구를 제공하는 TypeScript 기반 MCP 서버입니다.
특징
이 MCP 서버는 단 하나의 도구만 제공합니다.
commit_staged
- 특정 메시지로 준비된 변경 사항을 커밋합니다.
- 커밋 메시지로
message
(문자열, 필수)를 사용합니다. - git 명령의 작업 디렉토리를 지정하려면
cwd
(문자열, 선택 사항)를 사용합니다. - 커미터 이름에 자동으로 "(aider)"를 추가합니다.
GIT_COMMITTER_NAME
,GIT_COMMITTER_EMAIL
설정되어 있으면 환경 변수에서 커미터 이름과 이메일을 읽고, 그렇지 않으면git config user.name
및git config user.email
로 돌아갑니다.
코드 편집기에 이 도구를 설치하면 다음과 같이 AI에 지시할 수 있습니다.
나를 위해 변경 사항을 커밋해 주세요
이는 일반적으로 AI가 코드베이스에 몇 가지 변경을 한 후에 발생하므로 AI가 컨텍스트에서 적절한 커밋 메시지를 제공할 수 있는 경우가 많습니다.
"(aider)"가 포함된 커밋은 aider --stats
명령으로 검색할 수 있으며, 이 명령을 사용하면 코드베이스에서 AI의 기여도를 확인할 수 있습니다.
설치
이 서버를 사용하려면 해당 구성을 MCP 설정 파일에 추가하세요.
지엑스피1
커미터 정보는 다음에서 검색됩니다.
GIT_COMMITTER_NAME
및GIT_COMMITTER_EMAIL
환경 변수는 git 규칙을 따릅니다.git config user.name
및git config user.email
명령의 출력.
개발
종속성 설치:
서버를 빌드하세요:
자동 재빌드를 사용한 개발의 경우:
샘플 MCP 구성:
( /path/to/git-commit-aider
이 서버 디렉토리의 실제 경로로 바꾸세요.)
디버깅
MCP 서버는 stdio를 통해 통신하므로 디버깅이 어려울 수 있습니다. 패키지 스크립트로 제공되는 MCP Inspector를 사용하는 것이 좋습니다.
검사기는 브라우저에서 디버깅 도구에 액세스할 수 있는 URL을 제공합니다.
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Tools
"(aider)"를 커미터 이름에 추가하여 AI를 대신하여 git 커밋을 수행하여 코드베이스에서 AI 기여를 추적할 수 있습니다.
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityEnables AI assistants to interact with GitHub through the PyGithub library, providing tools for managing issues, repositories, pull requests, and other GitHub operations with intelligent parameter handling and error management.Last updated -191PythonMIT License
- -securityFlicense-qualityA custom server implementation that allows AI assistants to interact with GitLab repositories, providing capabilities for searching, fetching files, creating/updating content, and managing issues and merge requests.Last updated -JavaScript
- -securityFlicense-qualityA set of tools allowing AI assistants to interact directly with GitHub, enabling automation of tasks like fetching user profiles, creating repositories, and managing pull requests.Last updated -Python
- AsecurityAlicenseAqualityProvides comprehensive Git operations as tools for AI assistants and applications. This server enables AI systems to interact with Git repositories, allowing to initialize, fetch, commit, log, status, etc..Last updated -100TypeScriptMIT License