GitHub
server ทางการของ GitHub ให้ AI อ่านและจัดการโค้ด issue และ pull request ในบัญชีของคุณได้ ใช้ผ่านคลาวด์ของ GitHub หรือรันในเครื่องด้วย Docker ก็ได้
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
AI-optimized GitHub MCP server: 112 tools, 98% token reduction, compact responses.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"github": {
"command": "uvx",
"args": [
"github-mcp-server"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add github -- uvx github-mcp-serverวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"github": {
"command": "uvx",
"args": [
"github-mcp-server"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"github": {
"type": "stdio",
"command": "uvx",
"args": [
"github-mcp-server"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub crypto-ninja ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (2.5.7) เข้า registry 11 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย
ในหมวดเดียวกันมี GitHub, Desktop Commander, Cloudflare MCP
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
server ทางการของ GitHub ให้ AI อ่านและจัดการโค้ด issue และ pull request ในบัญชีของคุณได้ ใช้ผ่านคลาวด์ของ GitHub หรือรันในเครื่องด้วย Docker ก็ได้
MCP server for terminal commands, file operations, and process management
Cloudflare MCP servers
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
The most comprehensive GitHub MCP server - Full GitHub workflow automation with Actions monitoring, advanced PR management, intelligent code search, and complete file management. Built for AI-powered development teams.
👉 New here? See the Quick Start Guide
This server is designed with AI agents in mind:
| Format | Use Case | Token Savings |
|---|---|---|
compact | Discovery, lists, status checks | 80-97% smaller |
json | Full details when needed | Full response |
markdown | Human-readable display | Formatted text |
| Resource | Full JSON | Compact | Savings |
|---|---|---|---|
| Commit | ~3,000 chars | ~100 chars | 97% |
| Issue | ~2,500 chars | ~150 chars | 94% |
| Repository | ~4,000 chars | ~200 chars | 95% |
| PR Overview | ~20,000 chars | ~1,800 chars | 91% (GraphQL) |
// Default: Use compact for most operations
const issues = await callMCPTool("github_list_issues", { owner: "user", repo: "repo", limit: 10, response_format: "compact" // 94% smaller! });
// Use json only when you need every field const fullIssue = await callMCPTool("github_get_issue", { owner: "user", repo: "repo", issue_number: 42, response_format: "json" });
Combined with our code-first architecture (98% token reduction), you get the most efficient GitHub MCP server available.
📖 Documentation:
response_format: "compact" (80-97% token savings!)CLAUDE.md renamed to MCP_GUIDE.md with instructions for Claude, Cursor, Windsurf, Copilot, ClinePrevious: v2.5.1 - Architecture Refactor & Performance (December 9, 2025)
github_mcp.py split into modular package structurecallMCPTool now works seamlessly with plain JavaScript objectsPrevious: v2.5.0 - Phase 2 Full Send (December 4, 2025)
MAJOR RELEASE: 47 new tools added (62 → 109 total tools)! Comprehensive GitHub API coverage.
New in v2.5.0:
Previous: v2.4.0 - Phase 1 Tool Expansion (December 4, 2025)
15 new tools added (48 → 62 total tools)!
New in v2.4.0:
github_add_issue_comment for commenting on issuesgithub_list_gists, github_get_gist, github_create_gist, github_update_gistgithub_list_labels, github_create_label, github_delete_labelgithub_list_stargazers, github_star_repository, github_unstar_repositorygithub_get_authenticated_user, github_list_user_repos, github_list_org_repos, github_search_usersgithub_get_user_info back in TypeScript definitionsPrevious: v2.3.1 - Code-First Mode Enforced by Default (January 26, 2025)
true (was false)Previous: v2.3.0 - Architecture Formalization (January 26, 2025)
Single-Tool Architecture Formalized: The intended design from day one - one tool, 98% token reduction!
New in v2.3.0:
github-mcp-cli)GitHub App Authentication: 3x rate limits (15,000 vs 5,000 requests/hour) with fine-grained permissions!
New in v2.2.0:
Zero Failed Tool Calls: Intelligent tool discovery eliminates discovery issues while maintaining 98% token efficiency!
New in v2.1.0:
🔍 Tool Discovery Functions
Benefits:
The Game Changer: 98% token reduction (70,000 → 800 tokens)!
New Architecture:
execute_code tool exposed to ClaudeTotal Tools: 1 tool exposed to MCP clients (execute_code) 🚀 Internal Tools: 61 GitHub tools available via execute_code Token Efficiency: 98% reduction vs traditional MCP
v1.5.0 (Nov 6, 2025) - Infrastructure Upgrade
View Full Changelog
The workspace tools (workspace_grep, workspace_str_replace, workspace_read_file) enable powerful local file operations on YOUR projects.
These tools allow Claude to:
workspace_grep)workspace_str_replace)workspace_read_file)Method 1: Claude Desktop Configuration
Edit your Claude Desktop config file (location varies by OS):
macOS:
{
"mcpServers": { "github-mcp": { "command": "python3", "args": ["-m", "github_mcp"], "env": { "GITHUB_TOKEN": "ghp_...", "MCP_WORKSPACE_ROOT": "/Users/yourname/projects/my-app" } } } }
Windows:
{
"mcpServers": { "github-mcp": { "command": "python", "args": ["-m", "github_mcp"], "env": { "GITHUB_TOKEN": "ghp_...", "MCP_WORKSPACE_ROOT": "C:\\Users\\yourname\\projects\\my-app" } } } }
Linux:
{
"mcpServers": { "github-mcp": { "command": "python3", "args": ["-m", "github_mcp"], "env": { "GITHUB_TOKEN": "ghp_...", "MCP_WORKSPACE_ROOT": "/home/yourname/projects/my-app" } } } }
Method 2: Environment Variable
macOS/Linux:
export MCP_WORKSPACE_ROOT="/path/to/your/project"
python3 -m github_mcp
Windows (Command Prompt):
set MCP_WORKSPACE_ROOT=C:\path\to\your\project
python -m github_mcp
Windows (PowerShell):
$env:MCP_WORKSPACE_ROOT="C:\path\to\your\project"
python -m github_mcp
Method 3: Default Behavior
If MCP_WORKSPACE_ROOT is not set, tools will use your current working directory as the workspace root.
# After setting MCP_WORKSPACE_ROOT="/Users/dave/my-app"
workspace_grep("TODO", file_pattern="*.py")
workspace_read_file("src/main.py", start_line=1, num_lines=50)
workspace_str_replace( path="config/settings.py", old_str="DEBUG = True", new_str="DEBUG = False", description="Disable debug mode for production" )
For working with files directly on GitHub (no cloning required):
ตัดมาแค่ช่วงต้น อ่านต่อใน repo