About MCP Server
An MCP server that integrates GitHub operations for use with Cursor IDE. It supports repository file updates, pull request creation, code search, automated code review, and compile-error checks.
Key features
- 01Update repository files
- 02Create pull requests
- 03Search code
- 04Automated code review
- 05Check compilation errors
Use cases
- 01Updating a file in a GitHub repository
- 02Searching code and creating a pull request
MCP support
Provides GitHub-related tools to MCP clients, including file updates, pull request creation, and code search.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEMCP 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 생성
- 코드 검색
- 자동 코드 검수
- 컴파일 오류 검사
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.