개발
환경 설정
먼저, uv를 설치하고 Python 프로젝트와 환경을 설정해 보겠습니다.
지엑스피1
uv 명령이 인식되도록 터미널을 다시 시작하세요.
이제 프로젝트를 만들고 설정해 보겠습니다.
로컬 클로드 데스크톱 앱으로 실행 중
도구를 등록하려면 claude_desktop_config.json을 업데이트해야 합니다.
claude_desktop_config.json을 찾을 수 있습니다:
For Windows : code $env:AppData\Claude\claude_desktop_config.json
For Mac/Linux :code ~/Library/Application\ Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"Github-Oauth": {
"command": "C:\\Users\\Hp\\.local\\bin\\uv",
"args": [
"--directory",
"C:\\Users\\Hp\\Github-Oauth\\src\\github_oauth",
"run",
"server.py"
]
}
}
}
디버깅
MCP 서버는 stdio를 통해 실행되므로 디버깅이 어려울 수 있습니다. 최상의 디버깅 환경을 위해서는 MCP Inspector 사용을 강력히 권장합니다.
다음 명령을 사용하여 npm
통해 MCP Inspector를 시작할 수 있습니다.
npx @modelcontextprotocol/inspector uv --directory C:\Users\Hp\Github-Oauth run github-oauth
Inspector를 실행하면 브라우저에서 접근하여 디버깅을 시작할 수 있는 URL이 표시됩니다.
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
OAuth 프로토콜을 사용하여 GitHub에 대한 인증을 용이하게 하여 GitHub 저장소 및 서비스에 대한 안전한 액세스 및 상호작용을 허용합니다.
Related Resources
Related MCP Servers
- AsecurityFlicenseAqualityProvides tools for mapping and analyzing GitHub repositories. It allows users to set a GitHub Personal Access Token and retrieve detailed information about a specified repository, including its structure and summary statistics.Last updated -219
- -securityFlicense-qualityEnables interaction with GitHub through the GitHub API, supporting file operations, repository management, advanced search, and issue tracking with comprehensive error handling and automatic branch creation.Last updated -3,2641
- AsecurityFlicenseAqualityEnables comprehensive GitHub operations through natural language including file management, repository administration, issue tracking, and advanced code searching.Last updated -4711
- -securityAlicense-qualityEnables interaction with GitHub repositories through the GitHub API, allowing file operations, repository management, issue tracking, and code search through natural language commands.Last updated -3322MIT License