github-mcp-server
Enables management of GitHub issues, milestones, projects, and labels for a single repository via MCP tools.
README
GitHub MCP Server
Model Context Protocol (MCP) sunucusu: Cursor ve benzeri istemcilerden GitHub REST API’ye (Octokit) güvenli köprü. Tek bir depo (GITHUB_OWNER / GITHUB_REPO) için issue, milestone, proje ve label işlemlerini MCP tool olarak sunar.
Özellikler
- Issue: listele, getir, oluştur, güncelle
- Milestone: listele, oluştur, güncelle
- Project ve label listeleri
- stdio transport — Cursor MCP yapılandırması ile yerel
node dist/index.jsçalıştırılır
Gereksinimler
- Node.js 18+ (TypeScript 5.x ile derleme)
- GitHub Personal Access Token (klasik veya fine-grained; repo/issue/project izinleri ihtiyaca göre)
Kurulum
git clone https://github.com/eemredemirci/github-mcp-server.git
cd github-mcp-server
npm install
npm run build
Ortam değişkenleri
Proje kökünde .env:
GITHUB_TOKEN=ghp_xxxxxxxx
GITHUB_OWNER=eemredemirci
GITHUB_REPO=your-repo-name
GITHUB_TOKEN asla depoya commit edilmemelidir.
Çalıştırma
npm start
Bu komut dist/index.js dosyasını çalıştırır (package.json → "start": "node dist/index.js").
Cursor’a ekleme
- Cursor → Settings → MCP (veya proje
.cursor/mcp.json) - stdio sunucusu:
node+ tam yol...\github-mcp-server\dist\index.js - Ortam değişkenlerini Cursor MCP tanımında veya
.envile sağlayın (Cursor sürümüne göre değişir).
Sunulan araçlar (tools)
| Tool | Açıklama |
|---|---|
github_list_issues |
Filtrelerle issue listesi |
github_get_issue |
Tek issue detayı |
github_create_issue |
Yeni issue |
github_update_issue |
Issue güncelle |
github_list_milestones |
Milestone listesi |
github_create_milestone |
Milestone oluştur |
github_update_milestone |
Milestone güncelle |
github_list_projects |
Repodaki projeler |
github_create_project |
Proje oluştur |
github_list_labels |
Etiket listesi |
Teknik yığın
- TypeScript, ES modules
- Octokit (GitHub REST)
- @modelcontextprotocol/sdk
- Zod şema doğrulama
- dotenv
Örnek .cursor/mcp.json
{
"mcpServers": {
"github": {
"command": "node",
"args": ["${workspaceFolder}/dist/index.js"],
"env": {
"GITHUB_TOKEN": "${env:GITHUB_TOKEN}",
"GITHUB_OWNER": "your-org-or-user",
"GITHUB_REPO": "your-repo"
}
}
}
}
Yolları kendi makinenize göre düzenleyin.
Lisans
ISC — package.json ile uyumlu.
İletişim
- GitHub: @eemredemirci
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.