local-only server
The server can only run on the client’s local machine because it depends on local resources.
Integrations
Provides tools for generating prompts based on Git repository content, including the ability to generate PR descriptions by comparing differences between branches or commits.
Git 프롬프트 MCP 서버
이 저장소는 Git 저장소의 콘텐츠를 기반으로 프롬프트를 생성하는 여러 명령을 제공하는 MCP(Model Context Protocol) 서버를 제공합니다.
(이 저장소는 MarkItDown MCP 서버 와 예시 Git MCP 서버 에서 많은 영감을 얻었습니다.)
설치
수동 설치
- 이 저장소를 복제하세요
- 종속성 설치:
uv sync --frozen
용법
Zed Editor용 MCP 서버로서
settings.json
에 다음을 추가하세요:
지엑스피1
명령
서버는 다음 명령에 응답합니다.
/git-diff <ancestor_branch_or_commit>
: HEAD와 지정된 상위 브랜치 또는 커밋 간의 diff 결과를 채웁니다./generate-pr-desc <ancestor_branch_or_commit>
: HEAD와 지정된 상위 브랜치 또는 커밋 간의 diff 결과를 기반으로 풀 리퀘스트 설명을 생성합니다.
- 참고: 이는 대체로
/git-diff
와 동일하지만, 출력의 끝에 풀 리퀘스트 설명을 생성하는 방법에 대한 지침이 포함되어 있습니다.
/git-cached-diff
: 스테이징된 변경 사항과 HEAD에 대한 diff 결과를 채웁니다.
예:
/generate-pr-desc main
/git-diff dev
/git-cached-diff
특허
MIT 라이선스. 자세한 내용은 라이선스를 참조하세요.
This server cannot be installed
Git 저장소 콘텐츠를 기반으로 프롬프트를 생성하는 모델 컨텍스트 프로토콜 서버로, diff에서 PR 설명을 생성하는 명령이 포함되어 있습니다.