github-mcp
github-mcp
GitHub REST API용 MCP 서버 — 44개 모든 API 카테고리를 아우르는 1,112개의 도구.
GitHub의 OpenAPI 사양에서 Zod 검증이 포함된 타입 지정 도구 정의를 생성하는 코드 생성기를 사용하여 자동 생성되었습니다.
설치
npm install github-rest-mcp또는 GitHub Packages에서 설치:
npm install @eyalm321/github-mcp구성
GitHub 개인 액세스 토큰을 설정하세요:
export GITHUB_TOKEN=ghp_your_token_here카테고리 필터
기본적으로 1,112개의 도구가 모두 등록됩니다. 특정 카테고리만 활성화하려면:
export GITHUB_MCP_CATEGORIES=repos,issues,pulls,actionsClaude Desktop
claude_desktop_config.json에 추가하세요:
{
"mcpServers": {
"github": {
"command": "npx",
"args": ["-y", "github-rest-mcp"],
"env": {
"GITHUB_TOKEN": "ghp_your_token_here",
"GITHUB_MCP_CATEGORIES": "repos,issues,pulls,actions,users,orgs,git,search"
}
}
}
}API 카테고리
카테고리 | 도구 수 | 카테고리 | 도구 수 |
actions | 184 | activity | 32 |
agent-tasks | 5 | apps | 37 |
billing | 10 | campaigns | 5 |
checks | 12 | classroom | 6 |
code-scanning | 21 | code-security | 20 |
codes-of-conduct | 2 | codespaces | 48 |
copilot | 25 | credentials | 1 |
dependabot | 22 | dependency-graph | 3 |
emojis | 1 | enterprise-team-memberships | 6 |
enterprise-team-organizations | 6 | enterprise-teams | 5 |
gists | 20 | git | 13 |
gitignore | 2 | hosted-compute | 6 |
interactions | 9 | issues | 55 |
licenses | 3 | markdown | 2 |
meta | 5 | migrations | 22 |
oidc | 8 | orgs | 108 |
packages | 27 | private-registries | 6 |
projects | 26 | pulls | 27 |
rate-limit | 1 | reactions | 15 |
repos | 201 | search | 7 |
secret-scanning | 9 | security-advisories | 10 |
teams | 32 | users | 47 |
도구 명명 규칙
도구는 GitHub의 작업 ID에서 파생된 github_{category}_{action} 패턴을 따릅니다:
github_repos_get— 리포지토리 가져오기github_issues_create— 이슈 생성github_pulls_list— 풀 리퀘스트 목록 조회github_actions_list_workflow_runs— 워크플로우 실행 목록 조회
개발
# Install dependencies
npm install
# Regenerate tools from OpenAPI spec
npm run generate
# Build
npm run build
# Run tests
npm test
# Start the server
npm start도구 재생성
src/tools/의 도구 파일들은 GitHub의 OpenAPI 사양에서 자동 생성됩니다. 업데이트하려면:
# Delete cached spec to force re-download
rm -f api-description.json
# Regenerate
npm run generate라이선스
MIT
This server cannot be installed
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/Eyalm321/github-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server