mcp-server-github-api

fnf-deepHeading/mcp-server-github-api

3.1

If you are the rightful owner of mcp-server-github-api and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

MCP Server is a GitHub integration server that can be used with Cursor IDE.

MCP Server

Cursor IDEμ—μ„œ μ‚¬μš©ν•  수 μžˆλŠ” GitHub 톡합 μ„œλ²„μž…λ‹ˆλ‹€.

μ„€μΉ˜ 방법

  1. νŒ¨ν‚€μ§€ μ„€μΉ˜:
pip install -e .
  1. ν™˜κ²½ λ³€μˆ˜ μ„€μ •: .env νŒŒμΌμ„ μƒμ„±ν•˜κ³  λ‹€μŒ λ‚΄μš©μ„ μΆ”κ°€ν•˜μ„Έμš”:
GITHUB_TOKEN=your_github_token
GITHUB_REPO=your_repo_name

μ„œλ²„ μ‹€ν–‰

python -m mcp_server

Cursorμ—μ„œ μ‚¬μš©ν•˜κΈ°

  1. Cursorμ—μ„œ μƒˆλ‘œμš΄ Python νŒŒμΌμ„ μƒμ„±ν•©λ‹ˆλ‹€.
  2. λ‹€μŒ μ½”λ“œλ₯Ό μΆ”κ°€ν•˜μ—¬ MCP ν΄λΌμ΄μ–ΈνŠΈλ₯Ό μ‚¬μš©ν•  수 μžˆμŠ΅λ‹ˆλ‹€:
from mcp_client import update_file, create_pr, search_code

# 파일 μ—…λ°μ΄νŠΈ
result = update_file(
    file_path="path/to/file.py",
    content="new content",
    branch_name="feature/new-feature"
)

# PR 생성
result = create_pr(
    title="μƒˆλ‘œμš΄ κΈ°λŠ₯ μΆ”κ°€",
    body="λ³€κ²½ 사항 μ„€λͺ…",
    head_branch="feature/new-feature"
)

# μ½”λ“œ 검색
results = search_code("검색어")

κΈ°λŠ₯

  • 파일 μ—…λ°μ΄νŠΈ
  • PR 생성
  • μ½”λ“œ 검색
  • μžλ™ μ½”λ“œ κ²€μˆ˜
  • 컴파일 였λ₯˜ 검사