VOOZH about

URL: https://glama.ai/mcp/servers/kjozsa/git-mcp?locale=ko-KR

⇱ κΉƒ MCP by kjozsa | Glama


κΉƒ MCP

πŸ‘ λŒ€μž₯κ°„ λ°°μ§€
둜컬 μ €μž₯μ†Œμ—μ„œ Git μž‘μ—…μ„ κ΄€λ¦¬ν•˜κΈ° μœ„ν•œ MCP μ„œλ²„μž…λ‹ˆλ‹€.

μ„€μΉ˜

Smitheryλ₯Ό 톡해 μ„€μΉ˜

Smitheryλ₯Ό 톡해 Claude Desktop에 Git MCPλ₯Ό μžλ™μœΌλ‘œ μ„€μΉ˜ν•˜λ €λ©΄:

μ§€μ—‘μŠ€ν”Ό1

μˆ˜λ™ μ„€μΉ˜

uvx install git-mcp

Related MCP server: MCP Git Server

ꡬ성

λ‹€μŒ JSON ꡬ성 μŠ€λ‹ˆνŽ«μ„ μ‚¬μš©ν•˜μ—¬ MCP μ„œλ²„λ₯Ό μΆ”κ°€ν•©λ‹ˆλ‹€.

{
 "mcpServers": {
 "git-mcp": {
 "command": "uvx",
 "args": ["git-mcp"],
 "env": {
 "GIT_REPOS_PATH": "/path/to/your/git/repositories"
 }
 }
 }
}

νŠΉμ§• 및 μ‚¬μš©λ²•

ν™˜κ²½ λ³€μˆ˜

  • GIT_REPOS_PATH : Git μ €μž₯μ†Œκ°€ μžˆλŠ” 디렉토리 경둜(ν•„μˆ˜)

이λ₯Ό μ‚¬μš©μž ν™˜κ²½μ—μ„œ μ„€μ •ν•  μˆ˜λ„ 있고, μ„œλ²„λ₯Ό μ‹€ν–‰ν•˜λŠ” 디렉토리에 .env νŒŒμΌμ„ λ§Œλ“€ μˆ˜λ„ μžˆμŠ΅λ‹ˆλ‹€.

μ‚¬μš© κ°€λŠ₯ν•œ 방법

μ €μž₯μ†Œ λͺ©λ‘

κ΅¬μ„±λœ κ²½λ‘œμ— μžˆλŠ” λͺ¨λ“  Git μ €μž₯μ†Œλ₯Ό λ‚˜μ—΄ν•©λ‹ˆλ‹€.

  • λ§€κ°œλ³€μˆ˜: μ—†μŒ

  • λ°˜ν™˜: μ €μž₯μ†Œ 이름 λͺ©λ‘

λ§ˆμ§€λ§‰_git_νƒœκ·Έλ₯Ό_κ°€μ Έμ˜€κΈ°

μ§€μ •λœ μ €μž₯μ†Œμ—μ„œ λ§ˆμ§€λ§‰ Git νƒœκ·Έλ₯Ό μ°ΎμŠ΅λ‹ˆλ‹€.

  • λ§€κ°œλ³€μˆ˜: repo_name (Git μ €μž₯μ†Œ 이름)

  • λ°˜ν™˜: version (νƒœκ·Έ 이름) 및 date (νƒœκ·Έ 생성 λ‚ μ§œ)κ°€ ν¬ν•¨λœ 사전

λ§ˆμ§€λ§‰ νƒœκ·Έ μ΄ν›„μ˜ 컀밋 λͺ©λ‘

λ§ˆμ§€λ§‰ Git νƒœκ·Έμ™€ HEAD μ‚¬μ΄μ˜ 컀밋 λ©”μ‹œμ§€λ₯Ό λ‚˜μ—΄ν•©λ‹ˆλ‹€.

  • λ§€κ°œλ³€μˆ˜:

    • repo_name : Git μ €μž₯μ†Œμ˜ 이름

    • max_count (선택 사항): λ°˜ν™˜ν•  μ»€λ°‹μ˜ μ΅œλŒ€ 수

  • λ°˜ν™˜: hash , author , date 및 message ν¬ν•¨λœ 사전 λͺ©λ‘

create_git_tag

μ§€μ •λœ μ €μž₯μ†Œμ— μƒˆλ‘œμš΄ git νƒœκ·Έλ₯Ό μƒμ„±ν•©λ‹ˆλ‹€.

  • λ§€κ°œλ³€μˆ˜:

    • repo_name : git μ €μž₯μ†Œμ˜ 이름

    • tag_name : 생성할 νƒœκ·Έμ˜ 이름

    • message (선택 사항): 주석이 달린 νƒœκ·Έμ— λŒ€ν•œ λ©”μ‹œμ§€(μ œκ³΅λ˜μ§€ μ•ŠμœΌλ©΄ κ°€λ²Όμš΄ νƒœκ·Έκ°€ 생성됨)

  • λ°˜ν™˜: status , version (νƒœκ·Έ 이름), date (νƒœκ·Έ 생성 λ‚ μ§œ), type (주석 있음 λ˜λŠ” κ²½λŸ‰)이 ν¬ν•¨λœ 사전

ν‘Έμ‹œ_git_νƒœκ·Έ

κΈ°μ‘΄ git νƒœκ·Έλ₯Ό κΈ°λ³Έ 원격 μ €μž₯μ†Œμ— ν‘Έμ‹œν•©λ‹ˆλ‹€.

  • λ§€κ°œλ³€μˆ˜:

    • repo_name : git μ €μž₯μ†Œμ˜ 이름

    • tag_name : ν‘Έμ‹œν•  νƒœκ·Έμ˜ 이름

  • λ°˜ν™˜: status , remote (μ›κ²©μ˜ 이름), tag (νƒœκ·Έμ˜ 이름), message (성곡 λ©”μ‹œμ§€)κ°€ ν¬ν•¨λœ 사전

μ €μž₯μ†Œ μƒˆλ‘œ κ³ μΉ¨

메인 브랜치(λ˜λŠ” λŒ€μ²΄μš©μœΌλ‘œ λ§ˆμŠ€ν„°)λ₯Ό μ²΄ν¬μ•„μ›ƒν•˜κ³  λͺ¨λ“  원격 λΈŒλžœμΉ˜μ—μ„œ κ°€μ Έμ™€μ„œ μ €μž₯μ†Œλ₯Ό μƒˆλ‘œ κ³ μΉ©λ‹ˆλ‹€.

  • λ§€κ°œλ³€μˆ˜:

    • repo_name : git μ €μž₯μ†Œμ˜ 이름

  • λ°˜ν™˜: status , repository , branch 및 pull_results (각 원격에 λŒ€ν•œ κ²°κ³Ό)κ°€ ν¬ν•¨λœ 사전

문제 ν•΄κ²°

  • μ €μž₯μ†Œλ₯Ό 찾을 수 μ—†μŒ : GIT_REPOS_PATH μ˜¬λ°”λ₯΄κ²Œ μ„€μ •λ˜μ—ˆκ³  μ €μž₯μ†Œκ°€ μžˆλŠ”μ§€ ν™•μΈν•˜μ„Έμš”.

  • νƒœκ·Έλ₯Ό 찾을 수 μ—†μŠ΅λ‹ˆλ‹€ . μ €μž₯μ†Œμ— 아직 νƒœκ·Έκ°€ μ—†μŠ΅λ‹ˆλ‹€.

개발

# Install dependencies
uv pip install -r requirements.txt

# Run in dev mode with Inspector
mcp dev git_mcp/server.py

ν…ŒμŠ€νŠΈ

이 ν”„λ‘œμ νŠΈμ—λŠ” 두 개의 ν…ŒμŠ€νŠΈ μŠ€ν¬λ¦½νŠΈκ°€ ν¬ν•¨λ˜μ–΄ μžˆμŠ΅λ‹ˆλ‹€.

  1. test_git_mcp.py - MCP μ„œλ²„λ₯Ό μ‚¬μš©ν•˜μ§€ μ•Šκ³  κΈ°λ³Έ Git λͺ…λ Ή κΈ°λŠ₯을 직접 ν…ŒμŠ€νŠΈν•©λ‹ˆλ‹€.

  2. test_mcp_server.py - μ„œλ²„ μΈμŠ€ν„΄μŠ€λ₯Ό μ‹œμž‘ν•˜κ³  ν˜ΈμΆœν•˜μ—¬ MCP μ„œλ²„ κΈ°λŠ₯을 ν…ŒμŠ€νŠΈν•©λ‹ˆλ‹€.

ν…ŒμŠ€νŠΈλ₯Ό μ‹€ν–‰ν•˜λ €λ©΄:

# Test the Git command functionality
python test_git_mcp.py

# Test the MCP server (requires the git-mcp package to be installed)
python test_mcp_server.py
F
license - not found
A
quality
D
maintenance

Maintenance

–Maintainers
–Response time
–Release cycle
–Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

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/kjozsa/git-mcp'

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