Skip to main content
Glama

Git Prompts MCP Server

by ceshine

Git 프롬프트 MCP 서버

이 저장소는 Git 저장소의 콘텐츠를 기반으로 프롬프트를 생성하는 여러 명령을 제공하는 MCP(Model Context Protocol) 서버를 제공합니다.

(이 저장소는 MarkItDown MCP 서버 와 예시 Git MCP 서버 에서 많은 영감을 얻었습니다.)

설치

수동 설치

  1. 이 저장소를 복제하세요

  2. 종속성 설치: uv sync --frozen

Related MCP server: Git MCP Server

용법

Zed Editor용 MCP 서버로서

settings.json 에 다음을 추가하세요:

지엑스피1

명령

서버는 다음 명령에 응답합니다.

  1. /git-diff <ancestor_branch_or_commit> : HEAD와 지정된 상위 브랜치 또는 커밋 간의 diff 결과를 채웁니다.

  2. /generate-pr-desc <ancestor_branch_or_commit> : HEAD와 지정된 상위 브랜치 또는 커밋 간의 diff 결과를 기반으로 풀 리퀘스트 설명을 생성합니다.

  • 참고: 이는 대체로 /git-diff 와 동일하지만, 출력의 끝에 풀 리퀘스트 설명을 생성하는 방법에 대한 지침이 포함되어 있습니다.

  1. /git-cached-diff : 스테이징된 변경 사항과 HEAD에 대한 diff 결과를 채웁니다.

예:

  1. /generate-pr-desc main

  2. /git-diff dev

  3. /git-cached-diff

특허

MIT 라이선스. 자세한 내용은 라이선스를 참조하세요.

Deploy Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

Latest Blog Posts

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/ceshine/git-prompts-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server