ใช้ทำอะไรได้
ยังไม่มีคำอธิบายภาษาไทย ดูข้อเท็จจริงด้านล่าง หรือเปิดคำอธิบายต้นฉบับจากผู้ทำ
- ต่อแบบ ติดตั้งในเครื่อง
- บัญชีหรือคีย์ ต้องมี GERRIT_TOKEN · ต้องกรอกค่าตั้ง 2 ช่อง (GERRIT_URL, GERRIT_USERNAME)
- หมวด เครื่องมือนักพัฒนา
คำอธิบายต้นฉบับจากผู้ทำ (อังกฤษ)
Capability-gated Gerrit code review tools with opt-in review notifications pushed into the sessionใช้คู่กับ
Skill ที่สอน AI ทำงานแบบนี้ ใช้ร่วมกับตัวนี้ได้
andrej-karpathy-skills
andrej-karpathy-skills เป็นไฟล์ CLAUDE.md ไฟล์เดียวที่ใช้ปรับพฤติกรรมของ Claude Code ให้ดีขึ้น โดยอ้างอิงจากข้อสังเกตของ Andrej Karpathy เกี่ยวกับข้อผิดพลาดที่พบบ่อยเมื่อ LLM เขียนโค้ด
ทำไมอยู่อันดับนี้
หน้ารายการเรียงด้วยคะแนนการใช้งาน (เต็ม 100) จากส่วนเหล่านี้
| ความนิยม | 12/80 | ดาว GitHub หรือยอดดาวน์โหลดต่อสัปดาห์ ค่ามากนับ 60 ค่าน้อยนับ 20 |
|---|---|---|
| ความสด | 12/12 | ออกรุ่นหรือแก้โค้ดใน 30 วัน ได้เต็ม |
| ระบบยังตอบ | 0/8 | endpoint บนคลาวด์ตอบตอนตรวจล่าสุด |
| คะแนนการใช้งาน | 24/100 |
คุณภาพ: ผลตรวจเบื้องต้นผ่าน 3/3 ข้อ (แสดงให้ดู ไม่ได้ใช้เรียง) · ความมาแรง: ยังไม่มีข้อมูล (ใช้เรียงเฉพาะแท็บมาแรง)
ติดตั้ง
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ให้ AI ติดตั้งให้ด้วยประโยคเดียว
ติดตั้ง Gerrit Code Review ให้หน่อย ทำตาม https://mcp.popnx.com/i/team-gaijin-go-gerrit-mcp.md แสดงคำสั่งให้ฉันดูและรอฉันตกลงก่อนรันคัดลอกไปวางในแชตของ AI ที่ทำงานในเครื่องคุณได้ (เช่น Claude Code, Cursor) · AI จะอ่านขั้นตอนจากเรา แสดงคำสั่งให้ดู และรอคุณตกลงก่อน · ไม่ต้องใช้คีย์ ไม่ต้องสมัคร · ดูข้อความเต็มที่ AI จะอ่าน
ผลตรวจผ่าน 3/3 · ทำงานบนเครื่องคุณ · ✓ ตรวจคำสั่งแล้ว 14 พ.ย. 2569
ขั้นแรก: คุณใช้ AI ตัวไหน
เลือกแอปที่คุณใช้ ขั้นตอนจะขึ้นด้านล่าง
ต่อกับ Claude ได้ แต่ต้องเตรียมก่อน
ต้องมีคีย์ของ Gerrit Code Review (สร้างที่เว็บของผู้ทำ) · ต้องกรอกค่าตั้ง 2 ช่อง (GERRIT_URL, GERRIT_USERNAME) · ต้องลง Docker ในเครื่องก่อน (ทำครั้งเดียว) · ใช้ได้เฉพาะแอป Claude บนคอม (Windows หรือ Mac) ไม่ใช่บนเว็บหรือมือถือ
ให้ AI ติดตั้งให้
คัดลอกข้อความนี้ไปวางในแชตของ Claude AI จะเช็กเครื่อง บอกว่าจะแก้ไฟล์ไหน และรอคุณตกลงก่อนทุกครั้ง
ช่วยติดตั้ง MCP server ชื่อ Gerrit Code Review ให้ Claude ในเครื่องนี้ ทำตามลำดับ 1) เช็กว่ามี Docker ด้วยคำสั่ง docker --version ถ้าไม่มี ให้บอกฉันไปลงจาก https://www.docker.com/products/docker-desktop/ ห้ามลงเอง 2) ใช้คอนฟิกนี้เท่านั้น (ผ่านตัวตรวจของ PopNx MCP แล้ว): { "mcpServers": { "go-gerrit": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "GERRIT_URL", "-e", "GERRIT_USERNAME", "-e", "GERRIT_TOKEN", "ghcr.io/gaijinentertainment/go-gerrit-mcp:1.1.3" ], "env": { "GERRIT_URL": "ใส่ค่าของคุณ", "GERRIT_USERNAME": "ใส่ค่าของคุณ", "GERRIT_TOKEN": "ใส่ค่าของคุณ" } } } } 3) บอก path เต็มของไฟล์ที่จะแก้ หรือคำสั่งที่จะรัน แล้วรอฉันตกลงก่อน 4) ช่อง GERRIT_TOKEN, GERRIT_URL, GERRIT_USERNAME ให้คงคำว่า "ใส่ค่าของคุณ" ไว้ก่อน แล้วบอกให้ฉันวางค่าจริงเองในไฟล์หรือช่องของแอป ห้ามขอให้ฉันพิมพ์คีย์ในแชต 5) ทำตามที่ตกลง แล้วตรวจว่าเครื่องมือของ Gerrit Code Review ขึ้นจริงข้อความนี้ไม่มีคีย์ของคุณ ถ้าต้องใช้คีย์ AI จะบอกให้คุณวางเองในไฟล์หรือช่องของแอป
ลง Docker ในเครื่อง (ถ้ายังไม่มี)
ลงไว้แล้วหรือยัง? เช็กก่อน · เปิด Terminal แล้วพิมพ์คำสั่งนี้ กด Enter
docker --version- ขึ้นเลขรุ่น เช่น Docker version … = ลงแล้ว ข้ามขั้นนี้ได้
- ขึ้นว่า "command not found" (Windows ขึ้นว่า "is not recognized") = ยังไม่ได้ลง หรือเพิ่งลงแต่ยังไม่ได้ปิดแล้วเปิด Terminal ใหม่
เปิด Terminal ยังไง
Mac: กด ⌘ + Space พิมพ์ Terminal แล้วกด Enter
Windows: เปิดเมนู Start พิมพ์ Windows PowerShell แล้วกด Open
ยังไม่ได้ลง: ลง Docker Desktop: Mac เปิดไฟล์ Docker.dmg แล้วลากไอคอนไปที่ Applications (เลือกรุ่น Apple silicon หรือ Intel ให้ตรงเครื่อง) · Windows ดับเบิลคลิก Docker Desktop Installer.exe · ลงเสร็จเปิดแอป Docker Desktop ทิ้งไว้ ไม่ต้องใช้คำสั่ง curl
ลงเสร็จแล้ว ปิด Terminal เปิดใหม่ แล้วพิมพ์คำสั่งเดิมอีกครั้ง ต้องขึ้นเลขรุ่น:
docker --versionลงครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Docker
สมัครและสร้างคีย์ของ Gerrit Code Review
เปิดเว็บของผู้ทำ สมัครบัญชีแล้วสร้างคีย์ (API key) เก็บไว้ ใช้ในขั้นถัดไป ราคาและแผนฟรีดูที่เว็บของผู้ทำ
วิธีขอคีย์อยู่ใน README ของผู้ทำด้านล่าง
กรอกค่าตั้ง 2 ช่อง
ค่าเหล่านี้เป็นค่าตั้งของโปรแกรม ไม่ใช่คีย์ ไม่ต้องสมัครอะไร ใส่ตามที่ผู้ทำอธิบาย
GERRIT_URLBase URL ของอินสแตนซ์ Gerritดูต้นฉบับภาษาอังกฤษ
Base URL of the Gerrit instanceGERRIT_USERNAMEชื่อผู้ใช้บัญชีสำหรับการยืนยันตัวตนผ่าน HTTPดูต้นฉบับภาษาอังกฤษ
Account username for HTTP authentication
คำอธิบายแปลอัตโนมัติ ชื่อตัวแปรคงตามต้นฉบับ ถ้าไม่แน่ใจให้ดูต้นฉบับ
เปิดไฟล์ตั้งค่าของแอป Claude บนคอม
SettingsDeveloperEdit Config
วางค่าตั้งนี้แล้วบันทึกไฟล์
{ "mcpServers": { "go-gerrit": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "GERRIT_URL", "-e", "GERRIT_USERNAME", "-e", "GERRIT_TOKEN", "ghcr.io/gaijinentertainment/go-gerrit-mcp:1.1.3" ], "env": { "GERRIT_URL": "ใส่ค่าของคุณ", "GERRIT_USERNAME": "ใส่ค่าของคุณ", "GERRIT_TOKEN": "ใส่ค่าของคุณ" } } } }วางคีย์ในช่องของแอปเท่านั้น อย่าวางในแชตหรือส่งให้ใคร
ปิดแอป Claude แล้วเปิดใหม่
ลองเลย
ใช้ Gerrit Code Review บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง✓ ถ้า Claude บอกว่ากำลังใช้ Gerrit Code Review หรือมีชื่อเครื่องมือของ Gerrit Code Review ขึ้นในคำตอบ แปลว่าต่อสำเร็จ
ค่าตั้งเพิ่มเติม 8 ช่อง (ไม่ต้องกรอกก็ใช้ได้)
คำสั่งด้านบนใช้ได้เลยโดยไม่ต้องใส่ค่าเหล่านี้ ถ้าอยากปรับค่อยเพิ่มเองตามคำอธิบายของผู้ทำ
GERRIT_MCP_GROUPSกลุ่มความสามารถที่จะเปิดใช้งาน คั่นด้วยเครื่องหมายจุลภาค: read, comment, transition· ค่าเริ่มต้น readดูต้นฉบับภาษาอังกฤษ
Comma-separated capability groups to enable: read, comment, transitionGERRIT_MCP_PROJECTSรายการอนุญาตโปรเจกต์ Gerrit คั่นด้วยเครื่องหมายจุลภาค ซึ่งจำกัดทุกการดำเนินการให้อยู่ในขอบเขตนี้ดูต้นฉบับภาษาอังกฤษ
Comma-separated Gerrit project allowlist confining every operationGERRIT_MCP_OWN_CHANGES_ONLYปฏิเสธการดำเนินการที่ทิ้งร่องรอยไว้กับการเปลี่ยนแปลงที่ไม่ได้เป็นของบัญชีที่ยืนยันตัวตนแล้ว· ค่าเริ่มต้น trueดูต้นฉบับภาษาอังกฤษ
Refuse trail-leaving operations on changes not owned by the authenticated accountGERRIT_MCP_REVIEW_NOTIFICATIONSเปิดการแจ้งเตือนการรีวิว: ดึงข้อมูลกิจกรรมจาก Gerrit ของการเปลี่ยนแปลงที่สมัครรับไว้ แล้วส่งเข้าเซสชันของเอเจนต์ (ต้องใช้ไคลเอนต์ที่รองรับช่องทาง)· ค่าเริ่มต้น falseดูต้นฉบับภาษาอังกฤษ
Enable review notifications: poll Gerrit for activity on subscribed changes and push it into the agent's session (requires a client with channel support)GERRIT_MCP_REVIEW_NOTIFICATIONS_POLL_INTERVALความถี่ในการตรวจสอบการเปลี่ยนแปลงที่สมัครรับไว้ ในรูปแบบระยะเวลาของ Go· ค่าเริ่มต้น 60sดูต้นฉบับภาษาอังกฤษ
Poll cadence for subscribed changes, as a Go durationGERRIT_MCP_REVIEW_NOTIFICATIONS_INCLUDE_OWNเก็บกิจกรรมของบัญชีที่ยืนยันตัวตนไว้ในการแจ้งเตือนการตรวจสอบ· ค่าเริ่มต้น falseดูต้นฉบับภาษาอังกฤษ
Keep the authenticated account's own activity in review notificationsGERRIT_MCP_REVIEW_NOTIFICATIONS_EXCLUDE_ACCOUNTSชื่อผู้ใช้หรือรหัสบัญชีตัวเลขที่คั่นด้วยเครื่องหมายจุลภาค ซึ่งกิจกรรมของบัญชีเหล่านี้จะไม่ก่อให้เกิดการแจ้งเตือนการตรวจสอบดูต้นฉบับภาษาอังกฤษ
Comma-separated usernames or numeric account IDs whose activity never becomes a review notificationGERRIT_MCP_REVIEW_NOTIFICATIONS_EXCLUDE_PATTERNSนิพจน์ทั่วไปที่คั่นด้วยเครื่องหมายจุลภาค ข้อความหรือความคิดเห็นที่ตรงกับนิพจน์เหล่านี้จะไม่ถูกส่งเป็นการแจ้งเตือนการรีวิวดูต้นฉบับภาษาอังกฤษ
Comma-separated regular expressions; matching message or comment text never becomes a review notification
คำอธิบายแปลอัตโนมัติ ชื่อตัวแปรคงตามต้นฉบับ ถ้าไม่แน่ใจให้ดูต้นฉบับ
ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป
ChatGPT ยังต่อ Gerrit Code Review ไม่ได้
Gerrit Code Review ต้องติดตั้งในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะตัวที่ทำงานบนเว็บ
คุณทำแบบนี้แทนได้
ก · ใช้แอปที่ต่อ Gerrit Code Review ได้
- ต้องมีคีย์ของ Gerrit Code Review (สร้างที่เว็บของผู้ทำ) · ต้องกรอกค่าตั้ง 2 ช่อง (GERRIT_URL, GERRIT_USERNAME) · ต้องลง Docker ในเครื่องก่อน (ทำครั้งเดียว) · ใช้ได้เฉพาะแอป Claude บนคอม (Windows หรือ Mac) ไม่ใช่บนเว็บหรือมือถือ
- ต้องมีคีย์ของ Gerrit Code Review (สร้างที่เว็บของผู้ทำ) · ต้องกรอกค่าตั้ง 2 ช่อง (GERRIT_URL, GERRIT_USERNAME) · ต้องลง Docker ในเครื่องก่อน (ทำครั้งเดียว)
- ต้องมีคีย์ของ Gerrit Code Review (สร้างที่เว็บของผู้ทำ) · ต้องกรอกค่าตั้ง 2 ช่อง (GERRIT_URL, GERRIT_USERNAME) · ต้องลง Docker ในเครื่องก่อน (ทำครั้งเดียว)
- ต้องมีคีย์ของ Gerrit Code Review (สร้างที่เว็บของผู้ทำ) · ต้องกรอกค่าตั้ง 2 ช่อง (GERRIT_URL, GERRIT_USERNAME) · ต้องลง Docker ในเครื่องก่อน (ทำครั้งเดียว)
ข · ตัวอื่นในหมวด เครื่องมือนักพัฒนา ที่ต่อกับ ChatGPT ได้
เลือกจากตัวที่ใช้มากในหมวดเดียวกัน เฉพาะตัวที่ต่อด้วยที่อยู่ได้โดยไม่ต้องใส่คีย์
- Sentry✓ ChatGPT
- Compiler Explorer✓ ChatGPT
- GitDiagram✓ ChatGPT
ต่อกับ Claude Code ได้ แต่ต้องเตรียมก่อน
ต้องมีคีย์ของ Gerrit Code Review (สร้างที่เว็บของผู้ทำ) · ต้องกรอกค่าตั้ง 2 ช่อง (GERRIT_URL, GERRIT_USERNAME) · ต้องลง Docker ในเครื่องก่อน (ทำครั้งเดียว)
ให้ AI ติดตั้งให้
คัดลอกข้อความนี้ไปวางในแชตของ Claude Code AI จะเช็กเครื่อง บอกว่าจะแก้ไฟล์ไหน และรอคุณตกลงก่อนทุกครั้ง
ช่วยติดตั้ง MCP server ชื่อ Gerrit Code Review ให้ Claude Code ในเครื่องนี้ ทำตามลำดับ 1) เช็กว่ามี Docker ด้วยคำสั่ง docker --version ถ้าไม่มี ให้บอกฉันไปลงจาก https://www.docker.com/products/docker-desktop/ ห้ามลงเอง 2) ใช้คอนฟิกนี้เท่านั้น (ผ่านตัวตรวจของ PopNx MCP แล้ว): claude mcp add --scope user go-gerrit --env GERRIT_URL='ใส่ค่าของคุณ' --env GERRIT_USERNAME='ใส่ค่าของคุณ' --env GERRIT_TOKEN='ใส่ค่าของคุณ' -- docker run -i --rm -e GERRIT_URL -e GERRIT_USERNAME -e GERRIT_TOKEN ghcr.io/gaijinentertainment/go-gerrit-mcp:1.1.3 3) บอก path เต็มของไฟล์ที่จะแก้ หรือคำสั่งที่จะรัน แล้วรอฉันตกลงก่อน 4) ช่อง GERRIT_TOKEN, GERRIT_URL, GERRIT_USERNAME ให้คงคำว่า "ใส่ค่าของคุณ" ไว้ก่อน แล้วบอกให้ฉันวางค่าจริงเองในไฟล์หรือช่องของแอป ห้ามขอให้ฉันพิมพ์คีย์ในแชต 5) ทำตามที่ตกลง แล้วตรวจว่าเครื่องมือของ Gerrit Code Review ขึ้นจริงข้อความนี้ไม่มีคีย์ของคุณ ถ้าต้องใช้คีย์ AI จะบอกให้คุณวางเองในไฟล์หรือช่องของแอป
ลง Docker ในเครื่อง (ถ้ายังไม่มี)
ลงไว้แล้วหรือยัง? เช็กก่อน · เปิด Terminal แล้วพิมพ์คำสั่งนี้ กด Enter
docker --version- ขึ้นเลขรุ่น เช่น Docker version … = ลงแล้ว ข้ามขั้นนี้ได้
- ขึ้นว่า "command not found" (Windows ขึ้นว่า "is not recognized") = ยังไม่ได้ลง หรือเพิ่งลงแต่ยังไม่ได้ปิดแล้วเปิด Terminal ใหม่
เปิด Terminal ยังไง
Mac: กด ⌘ + Space พิมพ์ Terminal แล้วกด Enter
Windows: เปิดเมนู Start พิมพ์ Windows PowerShell แล้วกด Open
ยังไม่ได้ลง: ลง Docker Desktop: Mac เปิดไฟล์ Docker.dmg แล้วลากไอคอนไปที่ Applications (เลือกรุ่น Apple silicon หรือ Intel ให้ตรงเครื่อง) · Windows ดับเบิลคลิก Docker Desktop Installer.exe · ลงเสร็จเปิดแอป Docker Desktop ทิ้งไว้ ไม่ต้องใช้คำสั่ง curl
ลงเสร็จแล้ว ปิด Terminal เปิดใหม่ แล้วพิมพ์คำสั่งเดิมอีกครั้ง ต้องขึ้นเลขรุ่น:
docker --versionลงครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Docker
สมัครและสร้างคีย์ของ Gerrit Code Review
เปิดเว็บของผู้ทำ สมัครบัญชีแล้วสร้างคีย์ (API key) เก็บไว้ ใช้ในขั้นถัดไป ราคาและแผนฟรีดูที่เว็บของผู้ทำ
วิธีขอคีย์อยู่ใน README ของผู้ทำด้านล่าง
กรอกค่าตั้ง 2 ช่อง
ค่าเหล่านี้เป็นค่าตั้งของโปรแกรม ไม่ใช่คีย์ ไม่ต้องสมัครอะไร ใส่ตามที่ผู้ทำอธิบาย
GERRIT_URLBase URL ของอินสแตนซ์ Gerritดูต้นฉบับภาษาอังกฤษ
Base URL of the Gerrit instanceGERRIT_USERNAMEชื่อผู้ใช้บัญชีสำหรับการยืนยันตัวตนผ่าน HTTPดูต้นฉบับภาษาอังกฤษ
Account username for HTTP authentication
คำอธิบายแปลอัตโนมัติ ชื่อตัวแปรคงตามต้นฉบับ ถ้าไม่แน่ใจให้ดูต้นฉบับ
เปิด Terminal
Mac: กด Command+Space พิมพ์ Terminal · Windows: เปิด PowerShell
วางคำสั่งนี้แล้วกด Enter
claude mcp add --scope user go-gerrit --env GERRIT_URL='ใส่ค่าของคุณ' --env GERRIT_USERNAME='ใส่ค่าของคุณ' --env GERRIT_TOKEN='ใส่ค่าของคุณ' -- docker run -i --rm -e GERRIT_URL -e GERRIT_USERNAME -e GERRIT_TOKEN ghcr.io/gaijinentertainment/go-gerrit-mcp:1.1.3แก้ “ใส่ค่าของคุณ” เป็นคีย์ของคุณก่อนกด Enter
วางคีย์ในช่องของแอปเท่านั้น อย่าวางในแชตหรือส่งให้ใคร
พิมพ์ /mcp ใน Claude Code
ต้องเห็น Gerrit Code Review ในรายการและขึ้นว่าเชื่อมต่อแล้ว
ลองเลย
ใช้ Gerrit Code Review บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง✓ ถ้า Claude Code บอกว่ากำลังใช้ Gerrit Code Review หรือมีชื่อเครื่องมือของ Gerrit Code Review ขึ้นในคำตอบ แปลว่าต่อสำเร็จ
ค่าตั้งเพิ่มเติม 8 ช่อง (ไม่ต้องกรอกก็ใช้ได้)
คำสั่งด้านบนใช้ได้เลยโดยไม่ต้องใส่ค่าเหล่านี้ ถ้าอยากปรับค่อยเพิ่มเองตามคำอธิบายของผู้ทำ
GERRIT_MCP_GROUPSกลุ่มความสามารถที่จะเปิดใช้งาน คั่นด้วยเครื่องหมายจุลภาค: read, comment, transition· ค่าเริ่มต้น readดูต้นฉบับภาษาอังกฤษ
Comma-separated capability groups to enable: read, comment, transitionGERRIT_MCP_PROJECTSรายการอนุญาตโปรเจกต์ Gerrit คั่นด้วยเครื่องหมายจุลภาค ซึ่งจำกัดทุกการดำเนินการให้อยู่ในขอบเขตนี้ดูต้นฉบับภาษาอังกฤษ
Comma-separated Gerrit project allowlist confining every operationGERRIT_MCP_OWN_CHANGES_ONLYปฏิเสธการดำเนินการที่ทิ้งร่องรอยไว้กับการเปลี่ยนแปลงที่ไม่ได้เป็นของบัญชีที่ยืนยันตัวตนแล้ว· ค่าเริ่มต้น trueดูต้นฉบับภาษาอังกฤษ
Refuse trail-leaving operations on changes not owned by the authenticated accountGERRIT_MCP_REVIEW_NOTIFICATIONSเปิดการแจ้งเตือนการรีวิว: ดึงข้อมูลกิจกรรมจาก Gerrit ของการเปลี่ยนแปลงที่สมัครรับไว้ แล้วส่งเข้าเซสชันของเอเจนต์ (ต้องใช้ไคลเอนต์ที่รองรับช่องทาง)· ค่าเริ่มต้น falseดูต้นฉบับภาษาอังกฤษ
Enable review notifications: poll Gerrit for activity on subscribed changes and push it into the agent's session (requires a client with channel support)GERRIT_MCP_REVIEW_NOTIFICATIONS_POLL_INTERVALความถี่ในการตรวจสอบการเปลี่ยนแปลงที่สมัครรับไว้ ในรูปแบบระยะเวลาของ Go· ค่าเริ่มต้น 60sดูต้นฉบับภาษาอังกฤษ
Poll cadence for subscribed changes, as a Go durationGERRIT_MCP_REVIEW_NOTIFICATIONS_INCLUDE_OWNเก็บกิจกรรมของบัญชีที่ยืนยันตัวตนไว้ในการแจ้งเตือนการตรวจสอบ· ค่าเริ่มต้น falseดูต้นฉบับภาษาอังกฤษ
Keep the authenticated account's own activity in review notificationsGERRIT_MCP_REVIEW_NOTIFICATIONS_EXCLUDE_ACCOUNTSชื่อผู้ใช้หรือรหัสบัญชีตัวเลขที่คั่นด้วยเครื่องหมายจุลภาค ซึ่งกิจกรรมของบัญชีเหล่านี้จะไม่ก่อให้เกิดการแจ้งเตือนการตรวจสอบดูต้นฉบับภาษาอังกฤษ
Comma-separated usernames or numeric account IDs whose activity never becomes a review notificationGERRIT_MCP_REVIEW_NOTIFICATIONS_EXCLUDE_PATTERNSนิพจน์ทั่วไปที่คั่นด้วยเครื่องหมายจุลภาค ข้อความหรือความคิดเห็นที่ตรงกับนิพจน์เหล่านี้จะไม่ถูกส่งเป็นการแจ้งเตือนการรีวิวดูต้นฉบับภาษาอังกฤษ
Comma-separated regular expressions; matching message or comment text never becomes a review notification
คำอธิบายแปลอัตโนมัติ ชื่อตัวแปรคงตามต้นฉบับ ถ้าไม่แน่ใจให้ดูต้นฉบับ
ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป
ต่อกับ Cursor ได้ แต่ต้องเตรียมก่อน
ต้องมีคีย์ของ Gerrit Code Review (สร้างที่เว็บของผู้ทำ) · ต้องกรอกค่าตั้ง 2 ช่อง (GERRIT_URL, GERRIT_USERNAME) · ต้องลง Docker ในเครื่องก่อน (ทำครั้งเดียว)
ให้ AI ติดตั้งให้
คัดลอกข้อความนี้ไปวางในแชตของ Cursor AI จะเช็กเครื่อง บอกว่าจะแก้ไฟล์ไหน และรอคุณตกลงก่อนทุกครั้ง
ช่วยติดตั้ง MCP server ชื่อ Gerrit Code Review ให้ Cursor ในเครื่องนี้ ทำตามลำดับ 1) เช็กว่ามี Docker ด้วยคำสั่ง docker --version ถ้าไม่มี ให้บอกฉันไปลงจาก https://www.docker.com/products/docker-desktop/ ห้ามลงเอง 2) ใช้คอนฟิกนี้เท่านั้น (ผ่านตัวตรวจของ PopNx MCP แล้ว): { "mcpServers": { "go-gerrit": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "GERRIT_URL", "-e", "GERRIT_USERNAME", "-e", "GERRIT_TOKEN", "ghcr.io/gaijinentertainment/go-gerrit-mcp:1.1.3" ], "env": { "GERRIT_URL": "ใส่ค่าของคุณ", "GERRIT_USERNAME": "ใส่ค่าของคุณ", "GERRIT_TOKEN": "ใส่ค่าของคุณ" } } } } 3) บอก path เต็มของไฟล์ที่จะแก้ หรือคำสั่งที่จะรัน แล้วรอฉันตกลงก่อน 4) ช่อง GERRIT_TOKEN, GERRIT_URL, GERRIT_USERNAME ให้คงคำว่า "ใส่ค่าของคุณ" ไว้ก่อน แล้วบอกให้ฉันวางค่าจริงเองในไฟล์หรือช่องของแอป ห้ามขอให้ฉันพิมพ์คีย์ในแชต 5) ทำตามที่ตกลง แล้วตรวจว่าเครื่องมือของ Gerrit Code Review ขึ้นจริงข้อความนี้ไม่มีคีย์ของคุณ ถ้าต้องใช้คีย์ AI จะบอกให้คุณวางเองในไฟล์หรือช่องของแอป
ลง Docker ในเครื่อง (ถ้ายังไม่มี)
ลงไว้แล้วหรือยัง? เช็กก่อน · เปิด Terminal แล้วพิมพ์คำสั่งนี้ กด Enter
docker --version- ขึ้นเลขรุ่น เช่น Docker version … = ลงแล้ว ข้ามขั้นนี้ได้
- ขึ้นว่า "command not found" (Windows ขึ้นว่า "is not recognized") = ยังไม่ได้ลง หรือเพิ่งลงแต่ยังไม่ได้ปิดแล้วเปิด Terminal ใหม่
เปิด Terminal ยังไง
Mac: กด ⌘ + Space พิมพ์ Terminal แล้วกด Enter
Windows: เปิดเมนู Start พิมพ์ Windows PowerShell แล้วกด Open
ยังไม่ได้ลง: ลง Docker Desktop: Mac เปิดไฟล์ Docker.dmg แล้วลากไอคอนไปที่ Applications (เลือกรุ่น Apple silicon หรือ Intel ให้ตรงเครื่อง) · Windows ดับเบิลคลิก Docker Desktop Installer.exe · ลงเสร็จเปิดแอป Docker Desktop ทิ้งไว้ ไม่ต้องใช้คำสั่ง curl
ลงเสร็จแล้ว ปิด Terminal เปิดใหม่ แล้วพิมพ์คำสั่งเดิมอีกครั้ง ต้องขึ้นเลขรุ่น:
docker --versionลงครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Docker
สมัครและสร้างคีย์ของ Gerrit Code Review
เปิดเว็บของผู้ทำ สมัครบัญชีแล้วสร้างคีย์ (API key) เก็บไว้ ใช้ในขั้นถัดไป ราคาและแผนฟรีดูที่เว็บของผู้ทำ
วิธีขอคีย์อยู่ใน README ของผู้ทำด้านล่าง
กรอกค่าตั้ง 2 ช่อง
ค่าเหล่านี้เป็นค่าตั้งของโปรแกรม ไม่ใช่คีย์ ไม่ต้องสมัครอะไร ใส่ตามที่ผู้ทำอธิบาย
GERRIT_URLBase URL ของอินสแตนซ์ Gerritดูต้นฉบับภาษาอังกฤษ
Base URL of the Gerrit instanceGERRIT_USERNAMEชื่อผู้ใช้บัญชีสำหรับการยืนยันตัวตนผ่าน HTTPดูต้นฉบับภาษาอังกฤษ
Account username for HTTP authentication
คำอธิบายแปลอัตโนมัติ ชื่อตัวแปรคงตามต้นฉบับ ถ้าไม่แน่ใจให้ดูต้นฉบับ
ใส่คีย์ในช่องที่ว่างไว้
ในค่าตั้งของ Gerrit Code Review ช่อง GERRIT_TOKEN, GERRIT_URL, GERRIT_USERNAME ยังว่าง ใส่คีย์ของคุณแล้วบันทึก
วางคีย์ในช่องของแอปเท่านั้น อย่าวางในแชตหรือส่งให้ใคร
เปิดแชตของ AI ใน Cursor โหมด Agent
ลองเลย
ใช้ Gerrit Code Review บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง✓ ถ้า Cursor บอกว่ากำลังใช้ Gerrit Code Review หรือมีชื่อเครื่องมือของ Gerrit Code Review ขึ้นในคำตอบ แปลว่าต่อสำเร็จ
ค่าตั้งเพิ่มเติม 8 ช่อง (ไม่ต้องกรอกก็ใช้ได้)
คำสั่งด้านบนใช้ได้เลยโดยไม่ต้องใส่ค่าเหล่านี้ ถ้าอยากปรับค่อยเพิ่มเองตามคำอธิบายของผู้ทำ
GERRIT_MCP_GROUPSกลุ่มความสามารถที่จะเปิดใช้งาน คั่นด้วยเครื่องหมายจุลภาค: read, comment, transition· ค่าเริ่มต้น readดูต้นฉบับภาษาอังกฤษ
Comma-separated capability groups to enable: read, comment, transitionGERRIT_MCP_PROJECTSรายการอนุญาตโปรเจกต์ Gerrit คั่นด้วยเครื่องหมายจุลภาค ซึ่งจำกัดทุกการดำเนินการให้อยู่ในขอบเขตนี้ดูต้นฉบับภาษาอังกฤษ
Comma-separated Gerrit project allowlist confining every operationGERRIT_MCP_OWN_CHANGES_ONLYปฏิเสธการดำเนินการที่ทิ้งร่องรอยไว้กับการเปลี่ยนแปลงที่ไม่ได้เป็นของบัญชีที่ยืนยันตัวตนแล้ว· ค่าเริ่มต้น trueดูต้นฉบับภาษาอังกฤษ
Refuse trail-leaving operations on changes not owned by the authenticated accountGERRIT_MCP_REVIEW_NOTIFICATIONSเปิดการแจ้งเตือนการรีวิว: ดึงข้อมูลกิจกรรมจาก Gerrit ของการเปลี่ยนแปลงที่สมัครรับไว้ แล้วส่งเข้าเซสชันของเอเจนต์ (ต้องใช้ไคลเอนต์ที่รองรับช่องทาง)· ค่าเริ่มต้น falseดูต้นฉบับภาษาอังกฤษ
Enable review notifications: poll Gerrit for activity on subscribed changes and push it into the agent's session (requires a client with channel support)GERRIT_MCP_REVIEW_NOTIFICATIONS_POLL_INTERVALความถี่ในการตรวจสอบการเปลี่ยนแปลงที่สมัครรับไว้ ในรูปแบบระยะเวลาของ Go· ค่าเริ่มต้น 60sดูต้นฉบับภาษาอังกฤษ
Poll cadence for subscribed changes, as a Go durationGERRIT_MCP_REVIEW_NOTIFICATIONS_INCLUDE_OWNเก็บกิจกรรมของบัญชีที่ยืนยันตัวตนไว้ในการแจ้งเตือนการตรวจสอบ· ค่าเริ่มต้น falseดูต้นฉบับภาษาอังกฤษ
Keep the authenticated account's own activity in review notificationsGERRIT_MCP_REVIEW_NOTIFICATIONS_EXCLUDE_ACCOUNTSชื่อผู้ใช้หรือรหัสบัญชีตัวเลขที่คั่นด้วยเครื่องหมายจุลภาค ซึ่งกิจกรรมของบัญชีเหล่านี้จะไม่ก่อให้เกิดการแจ้งเตือนการตรวจสอบดูต้นฉบับภาษาอังกฤษ
Comma-separated usernames or numeric account IDs whose activity never becomes a review notificationGERRIT_MCP_REVIEW_NOTIFICATIONS_EXCLUDE_PATTERNSนิพจน์ทั่วไปที่คั่นด้วยเครื่องหมายจุลภาค ข้อความหรือความคิดเห็นที่ตรงกับนิพจน์เหล่านี้จะไม่ถูกส่งเป็นการแจ้งเตือนการรีวิวดูต้นฉบับภาษาอังกฤษ
Comma-separated regular expressions; matching message or comment text never becomes a review notification
คำอธิบายแปลอัตโนมัติ ชื่อตัวแปรคงตามต้นฉบับ ถ้าไม่แน่ใจให้ดูต้นฉบับ
ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Cursor เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป
ต่อกับ VS Code ได้ แต่ต้องเตรียมก่อน
ต้องมีคีย์ของ Gerrit Code Review (สร้างที่เว็บของผู้ทำ) · ต้องกรอกค่าตั้ง 2 ช่อง (GERRIT_URL, GERRIT_USERNAME) · ต้องลง Docker ในเครื่องก่อน (ทำครั้งเดียว)
ให้ AI ติดตั้งให้
คัดลอกข้อความนี้ไปวางในแชตของ VS Code AI จะเช็กเครื่อง บอกว่าจะแก้ไฟล์ไหน และรอคุณตกลงก่อนทุกครั้ง
ช่วยติดตั้ง MCP server ชื่อ Gerrit Code Review ให้ VS Code ในเครื่องนี้ ทำตามลำดับ 1) เช็กว่ามี Docker ด้วยคำสั่ง docker --version ถ้าไม่มี ให้บอกฉันไปลงจาก https://www.docker.com/products/docker-desktop/ ห้ามลงเอง 2) ใช้คอนฟิกนี้เท่านั้น (ผ่านตัวตรวจของ PopNx MCP แล้ว): { "servers": { "go-gerrit": { "type": "stdio", "command": "docker", "args": [ "run", "-i", "--rm", "-e", "GERRIT_URL", "-e", "GERRIT_USERNAME", "-e", "GERRIT_TOKEN", "ghcr.io/gaijinentertainment/go-gerrit-mcp:1.1.3" ], "env": { "GERRIT_URL": "ใส่ค่าของคุณ", "GERRIT_USERNAME": "ใส่ค่าของคุณ", "GERRIT_TOKEN": "ใส่ค่าของคุณ" } } } } 3) บอก path เต็มของไฟล์ที่จะแก้ หรือคำสั่งที่จะรัน แล้วรอฉันตกลงก่อน 4) ช่อง GERRIT_TOKEN, GERRIT_URL, GERRIT_USERNAME ให้คงคำว่า "ใส่ค่าของคุณ" ไว้ก่อน แล้วบอกให้ฉันวางค่าจริงเองในไฟล์หรือช่องของแอป ห้ามขอให้ฉันพิมพ์คีย์ในแชต 5) ทำตามที่ตกลง แล้วตรวจว่าเครื่องมือของ Gerrit Code Review ขึ้นจริงข้อความนี้ไม่มีคีย์ของคุณ ถ้าต้องใช้คีย์ AI จะบอกให้คุณวางเองในไฟล์หรือช่องของแอป
ลง Docker ในเครื่อง (ถ้ายังไม่มี)
ลงไว้แล้วหรือยัง? เช็กก่อน · เปิด Terminal แล้วพิมพ์คำสั่งนี้ กด Enter
docker --version- ขึ้นเลขรุ่น เช่น Docker version … = ลงแล้ว ข้ามขั้นนี้ได้
- ขึ้นว่า "command not found" (Windows ขึ้นว่า "is not recognized") = ยังไม่ได้ลง หรือเพิ่งลงแต่ยังไม่ได้ปิดแล้วเปิด Terminal ใหม่
เปิด Terminal ยังไง
Mac: กด ⌘ + Space พิมพ์ Terminal แล้วกด Enter
Windows: เปิดเมนู Start พิมพ์ Windows PowerShell แล้วกด Open
ยังไม่ได้ลง: ลง Docker Desktop: Mac เปิดไฟล์ Docker.dmg แล้วลากไอคอนไปที่ Applications (เลือกรุ่น Apple silicon หรือ Intel ให้ตรงเครื่อง) · Windows ดับเบิลคลิก Docker Desktop Installer.exe · ลงเสร็จเปิดแอป Docker Desktop ทิ้งไว้ ไม่ต้องใช้คำสั่ง curl
ลงเสร็จแล้ว ปิด Terminal เปิดใหม่ แล้วพิมพ์คำสั่งเดิมอีกครั้ง ต้องขึ้นเลขรุ่น:
docker --versionลงครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Docker
สมัครและสร้างคีย์ของ Gerrit Code Review
เปิดเว็บของผู้ทำ สมัครบัญชีแล้วสร้างคีย์ (API key) เก็บไว้ ใช้ในขั้นถัดไป ราคาและแผนฟรีดูที่เว็บของผู้ทำ
วิธีขอคีย์อยู่ใน README ของผู้ทำด้านล่าง
กรอกค่าตั้ง 2 ช่อง
ค่าเหล่านี้เป็นค่าตั้งของโปรแกรม ไม่ใช่คีย์ ไม่ต้องสมัครอะไร ใส่ตามที่ผู้ทำอธิบาย
GERRIT_URLBase URL ของอินสแตนซ์ Gerritดูต้นฉบับภาษาอังกฤษ
Base URL of the Gerrit instanceGERRIT_USERNAMEชื่อผู้ใช้บัญชีสำหรับการยืนยันตัวตนผ่าน HTTPดูต้นฉบับภาษาอังกฤษ
Account username for HTTP authentication
คำอธิบายแปลอัตโนมัติ ชื่อตัวแปรคงตามต้นฉบับ ถ้าไม่แน่ใจให้ดูต้นฉบับ
ใส่คีย์ในช่องที่ว่างไว้
ในค่าตั้งของ Gerrit Code Review ช่อง GERRIT_TOKEN, GERRIT_URL, GERRIT_USERNAME ยังว่าง ใส่คีย์ของคุณแล้วบันทึก
วางคีย์ในช่องของแอปเท่านั้น อย่าวางในแชตหรือส่งให้ใคร
เปิดแชตของ AI ใน VS Code โหมด Agent
ลองเลย
ใช้ Gerrit Code Review บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง✓ ถ้า VS Code บอกว่ากำลังใช้ Gerrit Code Review หรือมีชื่อเครื่องมือของ Gerrit Code Review ขึ้นในคำตอบ แปลว่าต่อสำเร็จ
ค่าตั้งเพิ่มเติม 8 ช่อง (ไม่ต้องกรอกก็ใช้ได้)
คำสั่งด้านบนใช้ได้เลยโดยไม่ต้องใส่ค่าเหล่านี้ ถ้าอยากปรับค่อยเพิ่มเองตามคำอธิบายของผู้ทำ
GERRIT_MCP_GROUPSกลุ่มความสามารถที่จะเปิดใช้งาน คั่นด้วยเครื่องหมายจุลภาค: read, comment, transition· ค่าเริ่มต้น readดูต้นฉบับภาษาอังกฤษ
Comma-separated capability groups to enable: read, comment, transitionGERRIT_MCP_PROJECTSรายการอนุญาตโปรเจกต์ Gerrit คั่นด้วยเครื่องหมายจุลภาค ซึ่งจำกัดทุกการดำเนินการให้อยู่ในขอบเขตนี้ดูต้นฉบับภาษาอังกฤษ
Comma-separated Gerrit project allowlist confining every operationGERRIT_MCP_OWN_CHANGES_ONLYปฏิเสธการดำเนินการที่ทิ้งร่องรอยไว้กับการเปลี่ยนแปลงที่ไม่ได้เป็นของบัญชีที่ยืนยันตัวตนแล้ว· ค่าเริ่มต้น trueดูต้นฉบับภาษาอังกฤษ
Refuse trail-leaving operations on changes not owned by the authenticated accountGERRIT_MCP_REVIEW_NOTIFICATIONSเปิดการแจ้งเตือนการรีวิว: ดึงข้อมูลกิจกรรมจาก Gerrit ของการเปลี่ยนแปลงที่สมัครรับไว้ แล้วส่งเข้าเซสชันของเอเจนต์ (ต้องใช้ไคลเอนต์ที่รองรับช่องทาง)· ค่าเริ่มต้น falseดูต้นฉบับภาษาอังกฤษ
Enable review notifications: poll Gerrit for activity on subscribed changes and push it into the agent's session (requires a client with channel support)GERRIT_MCP_REVIEW_NOTIFICATIONS_POLL_INTERVALความถี่ในการตรวจสอบการเปลี่ยนแปลงที่สมัครรับไว้ ในรูปแบบระยะเวลาของ Go· ค่าเริ่มต้น 60sดูต้นฉบับภาษาอังกฤษ
Poll cadence for subscribed changes, as a Go durationGERRIT_MCP_REVIEW_NOTIFICATIONS_INCLUDE_OWNเก็บกิจกรรมของบัญชีที่ยืนยันตัวตนไว้ในการแจ้งเตือนการตรวจสอบ· ค่าเริ่มต้น falseดูต้นฉบับภาษาอังกฤษ
Keep the authenticated account's own activity in review notificationsGERRIT_MCP_REVIEW_NOTIFICATIONS_EXCLUDE_ACCOUNTSชื่อผู้ใช้หรือรหัสบัญชีตัวเลขที่คั่นด้วยเครื่องหมายจุลภาค ซึ่งกิจกรรมของบัญชีเหล่านี้จะไม่ก่อให้เกิดการแจ้งเตือนการตรวจสอบดูต้นฉบับภาษาอังกฤษ
Comma-separated usernames or numeric account IDs whose activity never becomes a review notificationGERRIT_MCP_REVIEW_NOTIFICATIONS_EXCLUDE_PATTERNSนิพจน์ทั่วไปที่คั่นด้วยเครื่องหมายจุลภาค ข้อความหรือความคิดเห็นที่ตรงกับนิพจน์เหล่านี้จะไม่ถูกส่งเป็นการแจ้งเตือนการรีวิวดูต้นฉบับภาษาอังกฤษ
Comma-separated regular expressions; matching message or comment text never becomes a review notification
คำอธิบายแปลอัตโนมัติ ชื่อตัวแปรคงตามต้นฉบับ ถ้าไม่แน่ใจให้ดูต้นฉบับ
ชื่อเมนูตรวจกับหน้าช่วยเหลือของ VS Code เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป
สำหรับคนเขียนโค้ด: คำสั่ง Terminal และค่าตั้ง JSON
ติดตั้งในเครื่อง
Claude Code
claude mcp add --scope user go-gerrit --env GERRIT_URL='ใส่ค่าของคุณ' --env GERRIT_USERNAME='ใส่ค่าของคุณ' --env GERRIT_TOKEN='ใส่ค่าของคุณ' -- docker run -i --rm -e GERRIT_URL -e GERRIT_USERNAME -e GERRIT_TOKEN ghcr.io/gaijinentertainment/go-gerrit-mcp:1.1.3Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"go-gerrit": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GERRIT_URL",
"-e",
"GERRIT_USERNAME",
"-e",
"GERRIT_TOKEN",
"ghcr.io/gaijinentertainment/go-gerrit-mcp:1.1.3"
],
"env": {
"GERRIT_URL": "ใส่ค่าของคุณ",
"GERRIT_USERNAME": "ใส่ค่าของคุณ",
"GERRIT_TOKEN": "ใส่ค่าของคุณ"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"go-gerrit": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GERRIT_URL",
"-e",
"GERRIT_USERNAME",
"-e",
"GERRIT_TOKEN",
"ghcr.io/gaijinentertainment/go-gerrit-mcp:1.1.3"
],
"env": {
"GERRIT_URL": "ใส่ค่าของคุณ",
"GERRIT_USERNAME": "ใส่ค่าของคุณ",
"GERRIT_TOKEN": "ใส่ค่าของคุณ"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"go-gerrit": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GERRIT_URL",
"-e",
"GERRIT_USERNAME",
"-e",
"GERRIT_TOKEN",
"ghcr.io/gaijinentertainment/go-gerrit-mcp:1.1.3"
],
"env": {
"GERRIT_URL": "ใส่ค่าของคุณ",
"GERRIT_USERNAME": "ใส่ค่าของคุณ",
"GERRIT_TOKEN": "ใส่ค่าของคุณ"
}
}
}
}ค่าที่ต้องใส่เอง
GERRIT_URLจำเป็น envBase URL ของอินสแตนซ์ Gerritดูต้นฉบับภาษาอังกฤษ
Base URL of the Gerrit instanceGERRIT_USERNAMEจำเป็น envชื่อผู้ใช้บัญชีสำหรับการยืนยันตัวตนผ่าน HTTPดูต้นฉบับภาษาอังกฤษ
Account username for HTTP authenticationGERRIT_TOKENความลับ จำเป็น envรหัสผ่านหรือโทเค็น HTTP ของบัญชีดูต้นฉบับภาษาอังกฤษ
HTTP password or token of the accountGERRIT_MCP_GROUPSenvกลุ่มความสามารถที่จะเปิดใช้งาน คั่นด้วยเครื่องหมายจุลภาค: read, comment, transitionดูต้นฉบับภาษาอังกฤษ
Comma-separated capability groups to enable: read, comment, transitionGERRIT_MCP_PROJECTSenvรายการอนุญาตโปรเจกต์ Gerrit คั่นด้วยเครื่องหมายจุลภาค ซึ่งจำกัดทุกการดำเนินการให้อยู่ในขอบเขตนี้ดูต้นฉบับภาษาอังกฤษ
Comma-separated Gerrit project allowlist confining every operationGERRIT_MCP_OWN_CHANGES_ONLYenvปฏิเสธการดำเนินการที่ทิ้งร่องรอยไว้กับการเปลี่ยนแปลงที่ไม่ได้เป็นของบัญชีที่ยืนยันตัวตนแล้วดูต้นฉบับภาษาอังกฤษ
Refuse trail-leaving operations on changes not owned by the authenticated accountGERRIT_MCP_REVIEW_NOTIFICATIONSenvเปิดการแจ้งเตือนการรีวิว: ดึงข้อมูลกิจกรรมจาก Gerrit ของการเปลี่ยนแปลงที่สมัครรับไว้ แล้วส่งเข้าเซสชันของเอเจนต์ (ต้องใช้ไคลเอนต์ที่รองรับช่องทาง)ดูต้นฉบับภาษาอังกฤษ
Enable review notifications: poll Gerrit for activity on subscribed changes and push it into the agent's session (requires a client with channel support)GERRIT_MCP_REVIEW_NOTIFICATIONS_POLL_INTERVALenvความถี่ในการตรวจสอบการเปลี่ยนแปลงที่สมัครรับไว้ ในรูปแบบระยะเวลาของ Goดูต้นฉบับภาษาอังกฤษ
Poll cadence for subscribed changes, as a Go durationGERRIT_MCP_REVIEW_NOTIFICATIONS_INCLUDE_OWNenvเก็บกิจกรรมของบัญชีที่ยืนยันตัวตนไว้ในการแจ้งเตือนการตรวจสอบดูต้นฉบับภาษาอังกฤษ
Keep the authenticated account's own activity in review notificationsGERRIT_MCP_REVIEW_NOTIFICATIONS_EXCLUDE_ACCOUNTSenvชื่อผู้ใช้หรือรหัสบัญชีตัวเลขที่คั่นด้วยเครื่องหมายจุลภาค ซึ่งกิจกรรมของบัญชีเหล่านี้จะไม่ก่อให้เกิดการแจ้งเตือนการตรวจสอบดูต้นฉบับภาษาอังกฤษ
Comma-separated usernames or numeric account IDs whose activity never becomes a review notificationGERRIT_MCP_REVIEW_NOTIFICATIONS_EXCLUDE_PATTERNSenvนิพจน์ทั่วไปที่คั่นด้วยเครื่องหมายจุลภาค ข้อความหรือความคิดเห็นที่ตรงกับนิพจน์เหล่านี้จะไม่ถูกส่งเป็นการแจ้งเตือนการรีวิวดูต้นฉบับภาษาอังกฤษ
Comma-separated regular expressions; matching message or comment text never becomes a review notification
คำอธิบายแปลอัตโนมัติ ชื่อตัวแปรคงตามต้นฉบับ ถ้าไม่แน่ใจให้ดูต้นฉบับ
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
สรุป
ใช้กับโปรแกรมไหนได้
ดูจากแบบการต่อของ server ตัวนี้ และเอกสารของผู้ทำโปรแกรมแต่ละตัว ตรวจเมื่อ 10 พ.ย. 2569
ติดตั้งบนเครื่องได้ใน
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
คู่มือที่เกี่ยวข้อง
ทำอะไรได้บ้าง
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
ผลตรวจเบื้องต้นi
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 19 พ.ย. 2569
- ✓ ผ่าน
ตัวตนผู้ทำตรงกับ repo
ชื่อใน registry ยืนยันโดเมน gaijin.team แล้ว (registry ตรวจความเป็นเจ้าของโดเมน)
- ✓ ผ่าน
ยังมีคนดูแล
มีการแก้โค้ดล่าสุด 6 วันที่ผ่านมา
- ✓ ผ่าน
มีสัญญาอนุญาต (license)
ใช้ MIT
- – ไม่เกี่ยว
endpoint ตอบ
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
- – ไม่เกี่ยว
ล็อกอินแบบ OAuth
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
- … ยังไม่ตรวจ
คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
ผู้ทำ: ขอให้ตรวจใหม่ หรือแจ้งข้อมูลผิด
สำหรับผู้ทำ: ติดป้ายใน README
ถ้าคุณเป็นผู้ทำตัวนี้ คัดลอกโค้ดนี้ไปวางใน README ได้เลย ป้ายลิงก์กลับมาที่หน้านี้
[](https://mcp.popnx.com/th/servers/team-gaijin-go-gerrit-mcp)พูดคุย
ถาม แชร์เคล็ดลับ หรือแจ้งว่าใช้ไม่ได้ เรียงตามที่คนกดว่ามีประโยชน์
ยังไม่มีใครโพสต์ ถามหรือแชร์เป็นคนแรกได้เลย
ข้อความในส่วนนี้เขียนโดยผู้ใช้ ไม่ใช่ทีม PopNx
รีวิวจากผู้ใช้
ยังไม่มีรีวิว
เทียบกับตัวอื่นในหมวด เครื่องมือนักพัฒนาi
- ดาวมากกว่า 89% ของอีก 6116 ตัวในหมวดนี้
- ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 20% ของอีก 6116 ตัวในหมวดนี้
- ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 99% ของอีก 6116 ตัวในหมวดนี้
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
คำถามที่พบบ่อย
Gerrit Code Review ปลอดภัยไหม?
จากการตรวจเบื้องต้นของเรา ผ่าน 3 จาก 3 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใช้กุญแจหรือรหัสอะไรบ้าง?
ต้องใส่ค่าเหล่านี้: GERRIT_TOKEN
ตัวนี้รันบนเครื่องหรือบนคลาวด์?
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
ยังมีคนดูแลอยู่ไหม?
repo บน GitHub มีการแก้โค้ดล่าสุด 6 วันที่ผ่านมา และส่งรุ่นล่าสุด (1.1.3) เข้า registry 4 เดือนที่ผ่านมา
ใช้กับโปรแกรมไหนได้บ้าง?
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Docker ในเครื่องด้วย
มีตัวไหนใช้แทนได้บ้าง?
ในหมวดเดียวกันมี GitDiagram, Appllama, Cloudflare MCP, Omnara, Repowise
ตัวอื่นที่ทำงานคล้ายกัน
หมวดเดียวกันจากผู้ทำคนอื่น ผ่านตัวตรวจคำสั่งแล้ว ตัวทางการขึ้นก่อน แล้วเรียงตามดาว
อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
GitDiagram
Architecture diagrams, explanations and Mermaid source for public GitHub repositories.
Appllama
Study screens, flows and paywalls from top-earning iOS apps, then build from what wins.
Cloudflare MCP
Cloudflare MCP servers
Omnara
Deploy durable AI agents with Omnara, an open-source managed-agent platform.
Repowise
Codebase intelligence for AI coding agents: graph, git history, docs, decisions, code health.
| ตัวนี้ Gerrit Code Review | GitDiagram | Appllama | Cloudflare MCP | Omnara | Repowise | |
|---|---|---|---|---|---|---|
| ทำงานที่ไหน | ต้องลงในเครื่อง | ใช้บนคลาวด์ ไม่ต้องลงเครื่อง | ใช้บนคลาวด์ ไม่ต้องลงเครื่อง | ใช้บนคลาวด์ ไม่ต้องลงเครื่อง | ใช้บนคลาวด์ ไม่ต้องลงเครื่อง | มีทั้งบนคลาวด์และแบบลงเครื่อง |
| ต้องใส่คีย์ | ใช่ | ไม่ | ไม่ | ไม่ | ไม่ | ไม่ |
| กด + ใน Claude ได้ | ไม่ | ไม่ | ไม่ | ใช่ | ไม่ | ไม่ |
| ผลตรวจเบื้องต้น | 3/3 | 4/4 | 4/4 | 4/4 | 4/4 | 5/5 |
| สัญญาอนุญาต | MIT | MIT | MIT | Apache-2.0 | Apache-2.0 | AGPL-3.0 |
| ราคา | ไม่พบค่าใช้จ่ายในทะเบียน | ไม่พบค่าใช้จ่ายในทะเบียน | ไม่พบค่าใช้จ่ายในทะเบียน | ไม่พบค่าใช้จ่ายในทะเบียน | ไม่พบค่าใช้จ่ายในทะเบียน | ไม่พบค่าใช้จ่ายในทะเบียน |
README จากผู้ทำ
เปิดอ่าน README
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
go-gerrit-mcp
An MCP (Model Context Protocol) server that exposes Gerrit code review operations as capability-gated tools. An AI agent can search and read changes, publish review comments, vote, and drive change-state transitions. Every write capability is an explicit operator opt-in.
- Transport: stdio
- Target platform: Gerrit 3.13+, authenticated via HTTP credentials
- Output: llmxml, semantically tagged text meant to be read by a model (see Output format)
Safety posture
Two defaults encode it:
- Zero configuration exposes the
readgroup only. Write capability never appears unless enabled via--groups. - The own-changes restriction is on by default. Even with write groups enabled, trail-leaving operations (comments, votes, state changes, anything other humans see) are refused on changes the authenticated account does not own, until the operator explicitly passes
--own-changes-only=false.
An agent leaving unwanted trail on colleagues' changes is an externally visible failure; a missing capability is a locally discoverable inconvenience. The defaults are chosen accordingly. Widen deliberately:
# agent may comment and vote on anyone's changes, but only within two projects
go-gerrit-mcp --groups read,comment,transition --own-changes-only=false --projects core,infra
Install
Binary release: download the binary for your platform from GitHub Releases, make it executable, and put it on your PATH:
# macOS on Apple silicon; substitute <os>_<arch> from: linux, darwin, windows x amd64, arm64
curl -Lo /usr/local/bin/go-gerrit-mcp \ https://github.com/GaijinEntertainment/go-gerrit-mcp/releases/latest/download/go-gerrit-mcp_darwin_arm64 chmod +x /usr/local/bin/go-gerrit-mcp
Docker:
docker pull ghcr.io/gaijinentertainment/go-gerrit-mcp:latest
go install:
go install dev.gaijin.team/go/go-gerrit-mcp/cmd/go-gerrit-mcp@latest
Quick start
The server reads connection identity from environment variables only; credentials never travel through flags:
| Variable | Meaning |
|---|---|
GERRIT_URL | Base URL of the Gerrit instance |
GERRIT_USERNAME | Account username for HTTP Basic authentication |
GERRIT_TOKEN | HTTP credential paired with the username |
Generate the credential in Gerrit under Settings → HTTP Credentials (an HTTP password, or an auth token on instances that issue them). All three variables are required; the server exits with an error naming the missing ones.
Claude Code
claude mcp add gerrit \
--env GERRIT_URL=https://gerrit.example.com \ --env GERRIT_USERNAME=your-username \ --env GERRIT_TOKEN=your-http-credential \ -- go-gerrit-mcp
Any MCP client (JSON configuration)
{
"mcpServers": { "gerrit": { "command": "go-gerrit-mcp", "args": ["--groups", "read"], "env": { "GERRIT_URL": "https://gerrit.example.com", "GERRIT_USERNAME": "your-username", "GERRIT_TOKEN": "your-http-credential" } } } }
Docker
{
"mcpServers": { "gerrit": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "GERRIT_URL", "-e", "GERRIT_USERNAME", "-e", "GERRIT_TOKEN", "ghcr.io/gaijinentertainment/go-gerrit-mcp:latest", "--groups", "read" ], "env": { "GERRIT_URL": "https://gerrit.example.com", "GERRIT_USERNAME": "your-username", "GERRIT_TOKEN": "your-http-credential" } } } }
Per-project configuration in Claude Code
Everything the server needs is read from the environment: the identity variables above plus a GERRIT_MCP_* mirror for every flag (see Configuration reference). MCP server processes inherit the session environment, so in Claude Code one user-level registration turns into per-project configuration, down to different Gerrit instances with different credentials per repository.
~/.claude.json holds the registration, with no env block:
{
"mcpServers": { "gerrit": { "command": "go-gerrit-mcp" } } }
/.claude/settings.local.json carries the project's environment; every env entry reaches the server process:
{
"env": { "GERRIT_URL": "https://gerrit.example.com", "GERRIT_USERNAME": "your-username", "GERRIT_TOKEN": "your-http-credential", "GERRIT_MCP_GROUPS": "read,comment", "GERRIT_MCP_PROJECTS": "core,infra" } }
Values shared by most projects can sit one layer down in ~/.claude/settings.json. Settings files merge, with .claude/settings.local.json over .claude/settings.json over ~/.claude/settings.json, so a project declares only its deltas. Anything no layer sets falls back to the server's own defaults: read-only, own changes.
The registration's env block stays empty for a reason. A variable named there shadows every settings layer, and references are no workaround: ${VAR} expands only from the shell environment that launched claude, never from settings files, and anything unresolved reaches the server as a literal string.
Other MCP clients inherit their launch environment the same way, so per-directory tooling such as direnv achieves the identical split without client support.
Capability groups
Capability is selected at startup via --groups as a comma-separated list. Groups are independent and combinable, with no privilege ladder: each write-capable group bundles the minimal change-read subset it needs to work on its own, and enabled groups union.
| Group | Tools |
|---|---|
read | search_changes, get_change, list_change_files, get_file_diff, get_change_comments |
comment | get_change, get_change_comments, post_comments |
transition | get_change, set_vote, transition_change |
Tools
search_changes: query changes with Gerrit's change query syntax, paginated.get_change: one change in review-relevant detail: status, owner, labels with votes, current revision, messages.list_change_files: files touched by a revision, with per-file change stats.get_file_diff: the diff of one file in a revision.get_change_comments: comment threads on a change, with resolution state and comment ids. Returns unresolved threads only by default;status=allfetches the full history,status=resolvedthe settled threads.post_comments: publish a review in one call: optional top-level message plus inline, range, file-level, and reply comments. Replies anchor to comment ids fromget_change_comments;resolvedtoggles the thread state.set_vote: set a label vote (e.g.Code-Review) with an optional message; value0clears an own vote.transition_change: move a change's state:submit,abandon,restore,wip, orready, with an optional message (submit accepts none). Gerrit's refusal (a blocked submit, a restore of a merged change) is reported verbatim.
Review notifications
An opt-in push channel for review activity. The agent subscribes to a change with subscribe_change; from then on, new change messages, votes, inline comment threads, and status transitions arrive in the session on their own as review_activity blocks. The payload uses the same llmxml vocabulary the read tools emit and carries the activity whole, so nothing needs fetching afterwards. unsubscribe_change ends a subscription early. A merged or abandoned change ends its own subscription with a final notification that says so, and a change that becomes unreadable (deleted, or no longer visible to the account) does the same, with the reason spelled out.
Subscriptions are per-session and in-memory: they leave no trace on the Gerrit instance, end with the session, and after a server restart the agent subscribes again. With the feature off (the default) the server is byte-identical to its pre-feature self, with no extra tools or capabilities and no background polling.
Enabling takes both sides:
- Server side: pass
--review-notifications=true(or its mirror). The server registers both subscription tools and polls Gerrit every--review-notifications-poll-interval(default60s): one batched query per tick over all subscribed changes, with detail fetches only for changes that actually moved. - Client side: delivery uses the Claude Code channels contract (research preview, Claude Code 2.1.80 or newer). For a server registered plainly under
mcpServers, launch withclaude --dangerously-load-development-channels server:, whereis the registration key; it becomes thesourceattribute of the injectedblocks. Allowlisted channel plugins load withclaude --channelsinstead.
Research-preview caveats: organization policy can disable channels entirely; the flag syntax may change between Claude Code releases; and a client without channel support silently drops the events, in which case the server behaves exactly as if the feature were off, with no errors on either side.
Noise control is operator configuration. The server applies no heuristics of its own and filters nothing by message tag, because a bot's verdict is often exactly the outcome the agent is waiting for:
- the authenticated account's own activity is skipped by default (
--review-notifications-include-ownkeeps it); --review-notifications-exclude-accountssilences accounts by username or numeric ID;--review-notifications-exclude-patternsdrops events whose message or comment text matches a regular expression; an invalid pattern fails startup with an error naming it.
Every flag has a GERRIT_MCP_* mirror that follows the same settings layering as the rest of the configuration (see Per-project configuration), so a project can enable notifications and pick exclusions in its own settings file.
Configuration reference
Behavior is configured by CLI flags, each mirrored by an environment variable so one configuration style works for binary and Docker invocations alike. Precedence: the flag wins over its mirror, and the mirror wins over the default.
| Flag | Mirror | Default | Meaning |
|---|---|---|---|
--groups | GERRIT_MCP_GROUPS | read | Comma-separated capability groups: read, comment, transition |
--projects | GERRIT_MCP_PROJECTS | (empty) | Project allowlist confining every operation, reads included |
--own-changes-only | GERRIT_MCP_OWN_CHANGES_ONLY | true | Refuse trail-leaving operations on changes not owned by the authenticated account |
--include-tools | GERRIT_MCP_INCLUDE_TOOLS | (empty) | Keep only the listed tools from the group-resolved set |
--exclude-tools | GERRIT_MCP_EXCLUDE_TOOLS | (empty) | Remove the listed tools from the group-resolved set |
--review-notifications | GERRIT_MCP_REVIEW_NOTIFICATIONS | false | Enable review notifications |
--review-notifications-poll-interval | GERRIT_MCP_REVIEW_NOTIFICATIONS_POLL_INTERVAL | 60s | Poll cadence for subscribed changes, as a Go duration |
| --review-notifications-include-own | `GERRIT_MCP_REVIEW_NO