fnf-deepHeading/mcp-server-github-api
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 ν΅ν© μλ²μ λλ€.
μ€μΉ λ°©λ²
- ν¨ν€μ§ μ€μΉ:
pip install -e .
- νκ²½ λ³μ μ€μ :
.env
νμΌμ μμ±νκ³ λ€μ λ΄μ©μ μΆκ°νμΈμ:
GITHUB_TOKEN=your_github_token
GITHUB_REPO=your_repo_name
μλ² μ€ν
python -m mcp_server
Cursorμμ μ¬μ©νκΈ°
- Cursorμμ μλ‘μ΄ Python νμΌμ μμ±ν©λλ€.
- λ€μ μ½λλ₯Ό μΆκ°νμ¬ 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 μμ±
- μ½λ κ²μ
- μλ μ½λ κ²μ
- μ»΄νμΌ μ€λ₯ κ²μ¬