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 라이선스. 자세한 내용은 라이선스를 참조하세요.
local-only server
The server can only run on the client's local machine because it depends on local resources.
Git 저장소 콘텐츠를 기반으로 프롬프트를 생성하는 모델 컨텍스트 프로토콜 서버로, diff에서 PR 설명을 생성하는 명령이 포함되어 있습니다.
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol server for Git repository interaction and automation. This server provides tools to read, search, and manipulate Git repositories via Large Language Models.Last updated -1369,726MIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that enables Large Language Models to interact with Git repositories through a robust API, supporting operations like repository initialization, cloning, file staging, committing, and branch management.Last updated -2,311131Apache 2.0
- AsecurityAlicenseAqualityA flexible Model Context Protocol server that makes documentation or codebases searchable by AI assistants, allowing users to chat with code or docs by simply pointing to a git repository or folder.Last updated -11760MIT License
- AsecurityFlicenseAqualityA Model Context Protocol server that provides specialized prompt suggestions for backend development, frontend development, and general tasks to help LLMs generate better content.Last updated -631