github-mcp
GitHub MCP Server ile GitHub API erisimi. Repo, issue, PR, code search, release yonetimi.
от vibeeval★ 554 звезды на GitHub
Установить github-mcp в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
GitHub MCP Server
GitHub MCP vs gh CLI
| Ozellik | GitHub MCP | gh CLI |
|---|---|---|
| Kurulum | MCP server config | brew install gh |
| Auth | PAT token (MCP env) | gh auth login (interactive) |
| Kullanim | Tool call (agent icinden) | Bash komutu |
| Rate limit | REST API limit (5000/h) | Ayni |
| Avantaj | Agent workflow icinde seamless | Terminal scripting |
| Dezavantaj | MCP server calisir olmali | Agent context'ten cikmak lazim |
Ne Zaman Hangisi
GitHub MCP kullan:
- Agent workflow icinde GitHub islemleri gerektiginde
- Birden fazla API call zincirlenecekse
- Structured data response lazimsa
gh CLI kullan:
- Tek seferlik terminal islemleri
- PR olusturma/merge (interaktif)
- Git hook'lari icinde
- Script/otomasyon icinde
MCP Server Kurulumu
1. GitHub PAT Token Olustur
GitHub Settings > Developer Settings > Personal Access Tokens > Fine-grained
Gerekli permission'lar:
- Repository: Read/Write
- Issues: Read/Write
- Pull Requests: Read/Write
- Actions: Read/Write (workflow tetikleme)
- Webhooks: Read/Write (webhook yonetimi)
- Organization: Read (org API)
2. MCP Config (~/.mcp.json)
{
"mcpServers": {
"github": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-github"],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "<PAT_TOKEN>"
}
}
}
}
3. Alternatif: Docker ile
{
"mcpServers": {
"github": {
"command": "docker",
"args": ["run", "-i", "--rm", "-e", "GITHUB_PERSONAL_ACCESS_TOKEN", "ghcr.io/modelcontextprotocol/server-github"],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "<PAT_TOKEN>"
}
}
}
}
Repository Yonetimi
Repo Olusturma
mcp_github.create_repository({
name: "my-project",
description: "Proje aciklamasi",
private: true,
auto_init: true // README ile baslat
})
Repo Bilgisi
mcp_github.get_repository({
owner: "username",
repo: "repo-name"
})
// Response: stars, forks, open_issues, default_branch, language
Fork
mcp_github.fork_repository({
owner: "original-owner",
repo: "original-repo"
})
Branch Yonetimi
// Branch olustur
mcp_github.create_branch({
owner: "username",
repo: "repo-name",
branch: "feature/new-feature",
from_branch: "main"
})
// Branch listele
mcp_github.list_branches({
owner: "username",
repo: "repo-name"
})
Issue Yonetimi
Issue Olusturma
mcp_github.create_issue({
owner: "username",
repo: "repo-name",
title: "Bug: Login form broken",
body: "## Steps to reproduce\n1. Go to /login\n2. Enter credentials\n3. Click submit\n\n## Expected\nRedirect to dashboard\n\n## Actual\n500 error",
labels: ["bug", "P1"],
assignees: ["developer-username"]
})
Issue Listeleme / Filtreleme
mcp_github.list_issues({
owner: "username",
repo: "repo-name",
state: "open",
labels: "bug",
sort: "created",
direction: "desc"
})
Issue Guncelleme
mcp_github.update_issue({
owner: "username",
repo: "repo-name",
issue_number: 42,
state: "closed",
labels: ["bug", "resolved"]
})
Issue Yorum
mcp_github.add_issue_comment({
owner: "username",
repo: "repo-name",
issue_number: 42,
body: "Fixed in PR #45"
})
Pull Request Yonetimi
PR Olusturma
mcp_github.create_pull_request({
owner: "username",
repo: "repo-name",
title: "feat: Add user authentication",
body: "## Summary\n- JWT auth implementation\n- Login/register endpoints\n\n## Test plan\n- [ ] Unit tests pass\n- [ ] Integration tests pass",
head: "feature/auth",
base: "main",
draft: false
})
PR Review
// Review olustur
mcp_github.create_review({
owner: "username",
repo: "repo-name",
pull_number: 45,
event: "APPROVE", // APPROVE | REQUEST_CHANGES | COMMENT
body: "LGTM! Clean implementation."
})
PR Merge
mcp_github.merge_pull_request({
owner: "username",
repo: "repo-name",
pull_number: 45,
merge_method: "squash" // merge | squash | rebase
})
PR Dosya Degisiklikleri
mcp_github.get_pull_request_files({
owner: "username",
repo: "repo-name",
pull_number: 45
})
// Response: filename, status (added/modified/removed), additions, deletions
Code Search
Repository Icinde Arama
mcp_github.search_code({
query: "useEffect cleanup repo:username/repo-name",
per_page: 10
})
Global Arama
// Dil filtreyle
mcp_github.search_code({
query: "rate limiter language:typescript stars:>100"
})
// Organizasyon icinde
mcp_github.search_code({
query: "database migration org:my-org"
})
Arama Operatorleri
repo:owner/na
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл github-mcp?
GitHub MCP Server ile GitHub API erisimi. Repo, issue, PR, code search, release yonetimi.
Как установить скилл github-mcp?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл github-mcp запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…