ใช้ทำอะไรได้
Monitor เป็นเซิร์ฟเวอร์ MCP ของ BetterDB สำหรับติดตามและตรวจสอบสถานะของ Valkey และ Redis โดยใช้งานร่วมกับ Claude Code และไคลเอนต์ MCP อื่น ๆ ได้
แปลอัตโนมัติจากคำอธิบายของผู้ทำ · ทีมยังไม่ได้ตรวจ
- ต่อแบบ ติดตั้งในเครื่อง
- บัญชีหรือคีย์ ต้องมี BETTERDB_TOKEN, BETTERDB_LOCAL_TOKEN
- หมวด เครื่องมือนักพัฒนา
คำอธิบายต้นฉบับจากผู้ทำ (อังกฤษ)
BetterDB MCP server - Valkey and Redis observability for Claude Code and other MCP clientsใช้คู่กับ
Skill ที่สอน AI ทำงานแบบนี้ ใช้ร่วมกับตัวนี้ได้
andrej-karpathy-skills
andrej-karpathy-skills เป็นไฟล์ CLAUDE.md ไฟล์เดียวที่ใช้ปรับพฤติกรรมของ Claude Code ให้ดีขึ้น โดยอ้างอิงจากข้อสังเกตของ Andrej Karpathy เกี่ยวกับข้อผิดพลาดที่พบบ่อยเมื่อ LLM เขียนโค้ด
ทำไมอยู่อันดับนี้
หน้ารายการเรียงด้วยคะแนนการใช้งาน (เต็ม 100) จากส่วนเหล่านี้
| ความนิยม | 34/80 | ดาว GitHub หรือยอดดาวน์โหลดต่อสัปดาห์ ค่ามากนับ 60 ค่าน้อยนับ 20 |
|---|---|---|
| ความสด | 12/12 | ออกรุ่นหรือแก้โค้ดใน 30 วัน ได้เต็ม |
| ระบบยังตอบ | 0/8 | endpoint บนคลาวด์ตอบตอนตรวจล่าสุด |
| คะแนนการใช้งาน | 46/100 |
คุณภาพ: ผลตรวจเบื้องต้นผ่าน 2/3 ข้อ (แสดงให้ดู ไม่ได้ใช้เรียง) · ความมาแรง: 7 (ใช้เรียงเฉพาะแท็บมาแรง)
ติดตั้ง
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ให้ AI ติดตั้งให้ด้วยประโยคเดียว
ติดตั้ง Monitor ให้หน่อย ทำตาม https://mcp.popnx.com/i/betterdb-inc-monitor.md แสดงคำสั่งให้ฉันดูและรอฉันตกลงก่อนรันคัดลอกไปวางในแชตของ AI ที่ทำงานในเครื่องคุณได้ (เช่น Claude Code, Cursor) · AI จะอ่านขั้นตอนจากเรา แสดงคำสั่งให้ดู และรอคุณตกลงก่อน · ไม่ต้องใช้คีย์ ไม่ต้องสมัคร · ดูข้อความเต็มที่ AI จะอ่าน
ผลตรวจผ่าน 2/3 · ทำงานบนเครื่องคุณ · ✓ ตรวจคำสั่งแล้ว 14 พ.ย. 2569
ขั้นแรก: คุณใช้ AI ตัวไหน
เลือกแอปที่คุณใช้ ขั้นตอนจะขึ้นด้านล่าง
ต่อกับ Claude ได้ แต่ต้องเตรียมก่อน
ต้องมีคีย์ของ Monitor (สร้างที่เว็บของผู้ทำ) · ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว) · ใช้ได้เฉพาะแอป Claude บนคอม (Windows หรือ Mac) ไม่ใช่บนเว็บหรือมือถือ
ให้ AI ติดตั้งให้
คัดลอกข้อความนี้ไปวางในแชตของ Claude AI จะเช็กเครื่อง บอกว่าจะแก้ไฟล์ไหน และรอคุณตกลงก่อนทุกครั้ง
ช่วยติดตั้ง MCP server ชื่อ Monitor ให้ Claude ในเครื่องนี้ ทำตามลำดับ 1) เช็กว่ามี Node.js ด้วยคำสั่ง node -v ถ้าไม่มี ให้บอกฉันไปลงจาก https://nodejs.org/en/download ห้ามลงเอง 2) ใช้คอนฟิกนี้เท่านั้น (ผ่านตัวตรวจของ PopNx MCP แล้ว): { "mcpServers": { "monitor": { "command": "npx", "args": [ "-y", "@betterdb/mcp" ], "env": { "BETTERDB_TOKEN": "ใส่ค่าของคุณ", "BETTERDB_LOCAL_TOKEN": "ใส่ค่าของคุณ" } } } } 3) บอก path เต็มของไฟล์ที่จะแก้ หรือคำสั่งที่จะรัน แล้วรอฉันตกลงก่อน 4) ช่อง BETTERDB_TOKEN, BETTERDB_LOCAL_TOKEN ให้คงคำว่า "ใส่ค่าของคุณ" ไว้ก่อน แล้วบอกให้ฉันวางค่าจริงเองในไฟล์หรือช่องของแอป ห้ามขอให้ฉันพิมพ์คีย์ในแชต 5) ทำตามที่ตกลง แล้วตรวจว่าเครื่องมือของ Monitor ขึ้นจริงข้อความนี้ไม่มีคีย์ของคุณ ถ้าต้องใช้คีย์ AI จะบอกให้คุณวางเองในไฟล์หรือช่องของแอป
ลง Node.js ในเครื่อง (ถ้ายังไม่มี)
ลงไว้แล้วหรือยัง? เช็กก่อน · เปิด Terminal แล้วพิมพ์คำสั่งนี้ กด Enter
node -v- ขึ้นเลขรุ่น เช่น v26.13.1 = ลงแล้ว ข้ามขั้นนี้ได้
- ขึ้นว่า "command not found" (Windows ขึ้นว่า "is not recognized") = ยังไม่ได้ลง หรือเพิ่งลงแต่ยังไม่ได้ปิดแล้วเปิด Terminal ใหม่
เปิด Terminal ยังไง
Mac: กด ⌘ + Space พิมพ์ Terminal แล้วกด Enter
Windows: เปิดเมนู Start พิมพ์ Windows PowerShell แล้วกด Open
ยังไม่ได้ลง: เปิดหน้าดาวน์โหลดทางการ เลือกรุ่น LTS แล้วเลือกตัวติดตั้งแบบกดเอง: Mac ไฟล์ .pkg · Windows ไฟล์ .msi ดับเบิลคลิกแล้วกดถัดไปจนจบ ไม่ต้องใช้คำสั่ง curl
ลงเสร็จแล้ว ปิด Terminal เปิดใหม่ แล้วพิมพ์คำสั่งเดิมอีกครั้ง ต้องขึ้นเลขรุ่น:
node -vลงครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Node.js
สมัครและสร้างคีย์ของ Monitor
เปิดเว็บของผู้ทำ สมัครบัญชีแล้วสร้างคีย์ (API key) เก็บไว้ ใช้ในขั้นถัดไป ราคาและแผนฟรีดูที่เว็บของผู้ทำ
วิธีขอคีย์อยู่ใน README ของผู้ทำด้านล่าง
เปิดไฟล์ตั้งค่าของแอป Claude บนคอม
SettingsDeveloperEdit Config
วางค่าตั้งนี้แล้วบันทึกไฟล์
{ "mcpServers": { "monitor": { "command": "npx", "args": [ "-y", "@betterdb/mcp" ], "env": { "BETTERDB_TOKEN": "ใส่ค่าของคุณ", "BETTERDB_LOCAL_TOKEN": "ใส่ค่าของคุณ" } } } }วางคีย์ในช่องของแอปเท่านั้น อย่าวางในแชตหรือส่งให้ใคร
ปิดแอป Claude แล้วเปิดใหม่
ลองเลย
ใช้ Monitor บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง✓ ถ้า Claude บอกว่ากำลังใช้ Monitor หรือมีชื่อเครื่องมือของ Monitor ขึ้นในคำตอบ แปลว่าต่อสำเร็จ
ค่าตั้งเพิ่มเติม 4 ช่อง (ไม่ต้องกรอกก็ใช้ได้)
คำสั่งด้านบนใช้ได้เลยโดยไม่ต้องใส่ค่าเหล่านี้ ถ้าอยากปรับค่อยเพิ่มเองตามคำอธิบายของผู้ทำ
BETTERDB_URLURL ของอินสแตนซ์ BetterDB monitorดูต้นฉบับภาษาอังกฤษ
URL of the BetterDB monitor instanceBETTERDB_INSTANCE_IDID ของอินสแตนซ์ที่ต้องการกำหนดเป้าหมายเมื่อใช้การปรับใช้คลาวด์แบบหลายอินสแตนซ์ดูต้นฉบับภาษาอังกฤษ
Instance ID to target when using multi-instance cloud deploymentsBETTERDB_MCP_TELEMETRYตั้งค่าเป็น false, 0, no หรือ off เพื่อหยุดการส่งเหตุการณ์การใช้งานเครื่องมือไปยัง monitor การส่งเหตุการณ์การใช้งานจะปิดอยู่หากตัวนี้หรือ BETTERDB_TELEMETRY ถูกปิดดูต้นฉบับภาษาอังกฤษ
Set to false, 0, no or off to stop posting tool usage events to the monitor. Usage events are off if this or BETTERDB_TELEMETRY is offBETTERDB_TELEMETRYตั้งค่าเป็น false, 0, no หรือ off เพื่อปิดการส่งข้อมูล telemetry ทั้งของเซิร์ฟเวอร์ MCP และของ monitor ที่เซิร์ฟเวอร์นี้เริ่มต้นดูต้นฉบับภาษาอังกฤษ
Set to false, 0, no or off to turn off telemetry for both the MCP server and a monitor it starts
คำอธิบายแปลอัตโนมัติ ชื่อตัวแปรคงตามต้นฉบับ ถ้าไม่แน่ใจให้ดูต้นฉบับ
ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป
ChatGPT ยังต่อ Monitor ไม่ได้
Monitor ต้องติดตั้งในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะตัวที่ทำงานบนเว็บ
คุณทำแบบนี้แทนได้
ก · ใช้แอปที่ต่อ Monitor ได้
- ต้องมีคีย์ของ Monitor (สร้างที่เว็บของผู้ทำ) · ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว) · ใช้ได้เฉพาะแอป Claude บนคอม (Windows หรือ Mac) ไม่ใช่บนเว็บหรือมือถือ
- ต้องมีคีย์ของ Monitor (สร้างที่เว็บของผู้ทำ) · ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว)
- ต้องมีคีย์ของ Monitor (สร้างที่เว็บของผู้ทำ) · ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว)
- ต้องมีคีย์ของ Monitor (สร้างที่เว็บของผู้ทำ) · ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว)
ข · ตัวอื่นในหมวด เครื่องมือนักพัฒนา ที่ต่อกับ ChatGPT ได้
เลือกจากตัวที่ใช้มากในหมวดเดียวกัน เฉพาะตัวที่ต่อด้วยที่อยู่ได้โดยไม่ต้องใส่คีย์
- Sentry✓ ChatGPT
- Compiler Explorer✓ ChatGPT
- GitDiagram✓ ChatGPT
ต่อกับ Claude Code ได้ แต่ต้องเตรียมก่อน
ต้องมีคีย์ของ Monitor (สร้างที่เว็บของผู้ทำ) · ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว)
ให้ AI ติดตั้งให้
คัดลอกข้อความนี้ไปวางในแชตของ Claude Code AI จะเช็กเครื่อง บอกว่าจะแก้ไฟล์ไหน และรอคุณตกลงก่อนทุกครั้ง
ช่วยติดตั้ง MCP server ชื่อ Monitor ให้ Claude Code ในเครื่องนี้ ทำตามลำดับ 1) เช็กว่ามี Node.js ด้วยคำสั่ง node -v ถ้าไม่มี ให้บอกฉันไปลงจาก https://nodejs.org/en/download ห้ามลงเอง 2) ใช้คอนฟิกนี้เท่านั้น (ผ่านตัวตรวจของ PopNx MCP แล้ว): claude mcp add --scope user monitor --env BETTERDB_TOKEN='ใส่ค่าของคุณ' --env BETTERDB_LOCAL_TOKEN='ใส่ค่าของคุณ' -- npx -y @betterdb/mcp 3) บอก path เต็มของไฟล์ที่จะแก้ หรือคำสั่งที่จะรัน แล้วรอฉันตกลงก่อน 4) ช่อง BETTERDB_TOKEN, BETTERDB_LOCAL_TOKEN ให้คงคำว่า "ใส่ค่าของคุณ" ไว้ก่อน แล้วบอกให้ฉันวางค่าจริงเองในไฟล์หรือช่องของแอป ห้ามขอให้ฉันพิมพ์คีย์ในแชต 5) ทำตามที่ตกลง แล้วตรวจว่าเครื่องมือของ Monitor ขึ้นจริงข้อความนี้ไม่มีคีย์ของคุณ ถ้าต้องใช้คีย์ AI จะบอกให้คุณวางเองในไฟล์หรือช่องของแอป
ลง Node.js ในเครื่อง (ถ้ายังไม่มี)
ลงไว้แล้วหรือยัง? เช็กก่อน · เปิด Terminal แล้วพิมพ์คำสั่งนี้ กด Enter
node -v- ขึ้นเลขรุ่น เช่น v26.13.1 = ลงแล้ว ข้ามขั้นนี้ได้
- ขึ้นว่า "command not found" (Windows ขึ้นว่า "is not recognized") = ยังไม่ได้ลง หรือเพิ่งลงแต่ยังไม่ได้ปิดแล้วเปิด Terminal ใหม่
เปิด Terminal ยังไง
Mac: กด ⌘ + Space พิมพ์ Terminal แล้วกด Enter
Windows: เปิดเมนู Start พิมพ์ Windows PowerShell แล้วกด Open
ยังไม่ได้ลง: เปิดหน้าดาวน์โหลดทางการ เลือกรุ่น LTS แล้วเลือกตัวติดตั้งแบบกดเอง: Mac ไฟล์ .pkg · Windows ไฟล์ .msi ดับเบิลคลิกแล้วกดถัดไปจนจบ ไม่ต้องใช้คำสั่ง curl
ลงเสร็จแล้ว ปิด Terminal เปิดใหม่ แล้วพิมพ์คำสั่งเดิมอีกครั้ง ต้องขึ้นเลขรุ่น:
node -vลงครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Node.js
สมัครและสร้างคีย์ของ Monitor
เปิดเว็บของผู้ทำ สมัครบัญชีแล้วสร้างคีย์ (API key) เก็บไว้ ใช้ในขั้นถัดไป ราคาและแผนฟรีดูที่เว็บของผู้ทำ
วิธีขอคีย์อยู่ใน README ของผู้ทำด้านล่าง
เปิด Terminal
Mac: กด Command+Space พิมพ์ Terminal · Windows: เปิด PowerShell
วางคำสั่งนี้แล้วกด Enter
claude mcp add --scope user monitor --env BETTERDB_TOKEN='ใส่ค่าของคุณ' --env BETTERDB_LOCAL_TOKEN='ใส่ค่าของคุณ' -- npx -y @betterdb/mcpแก้ “ใส่ค่าของคุณ” เป็นคีย์ของคุณก่อนกด Enter
วางคีย์ในช่องของแอปเท่านั้น อย่าวางในแชตหรือส่งให้ใคร
พิมพ์ /mcp ใน Claude Code
ต้องเห็น Monitor ในรายการและขึ้นว่าเชื่อมต่อแล้ว
ลองเลย
ใช้ Monitor บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง✓ ถ้า Claude Code บอกว่ากำลังใช้ Monitor หรือมีชื่อเครื่องมือของ Monitor ขึ้นในคำตอบ แปลว่าต่อสำเร็จ
ค่าตั้งเพิ่มเติม 4 ช่อง (ไม่ต้องกรอกก็ใช้ได้)
คำสั่งด้านบนใช้ได้เลยโดยไม่ต้องใส่ค่าเหล่านี้ ถ้าอยากปรับค่อยเพิ่มเองตามคำอธิบายของผู้ทำ
BETTERDB_URLURL ของอินสแตนซ์ BetterDB monitorดูต้นฉบับภาษาอังกฤษ
URL of the BetterDB monitor instanceBETTERDB_INSTANCE_IDID ของอินสแตนซ์ที่ต้องการกำหนดเป้าหมายเมื่อใช้การปรับใช้คลาวด์แบบหลายอินสแตนซ์ดูต้นฉบับภาษาอังกฤษ
Instance ID to target when using multi-instance cloud deploymentsBETTERDB_MCP_TELEMETRYตั้งค่าเป็น false, 0, no หรือ off เพื่อหยุดการส่งเหตุการณ์การใช้งานเครื่องมือไปยัง monitor การส่งเหตุการณ์การใช้งานจะปิดอยู่หากตัวนี้หรือ BETTERDB_TELEMETRY ถูกปิดดูต้นฉบับภาษาอังกฤษ
Set to false, 0, no or off to stop posting tool usage events to the monitor. Usage events are off if this or BETTERDB_TELEMETRY is offBETTERDB_TELEMETRYตั้งค่าเป็น false, 0, no หรือ off เพื่อปิดการส่งข้อมูล telemetry ทั้งของเซิร์ฟเวอร์ MCP และของ monitor ที่เซิร์ฟเวอร์นี้เริ่มต้นดูต้นฉบับภาษาอังกฤษ
Set to false, 0, no or off to turn off telemetry for both the MCP server and a monitor it starts
คำอธิบายแปลอัตโนมัติ ชื่อตัวแปรคงตามต้นฉบับ ถ้าไม่แน่ใจให้ดูต้นฉบับ
ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป
ต่อกับ Cursor ได้ แต่ต้องเตรียมก่อน
ต้องมีคีย์ของ Monitor (สร้างที่เว็บของผู้ทำ) · ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว)
ให้ AI ติดตั้งให้
คัดลอกข้อความนี้ไปวางในแชตของ Cursor AI จะเช็กเครื่อง บอกว่าจะแก้ไฟล์ไหน และรอคุณตกลงก่อนทุกครั้ง
ช่วยติดตั้ง MCP server ชื่อ Monitor ให้ Cursor ในเครื่องนี้ ทำตามลำดับ 1) เช็กว่ามี Node.js ด้วยคำสั่ง node -v ถ้าไม่มี ให้บอกฉันไปลงจาก https://nodejs.org/en/download ห้ามลงเอง 2) ใช้คอนฟิกนี้เท่านั้น (ผ่านตัวตรวจของ PopNx MCP แล้ว): { "mcpServers": { "monitor": { "command": "npx", "args": [ "-y", "@betterdb/mcp" ], "env": { "BETTERDB_TOKEN": "ใส่ค่าของคุณ", "BETTERDB_LOCAL_TOKEN": "ใส่ค่าของคุณ" } } } } 3) บอก path เต็มของไฟล์ที่จะแก้ หรือคำสั่งที่จะรัน แล้วรอฉันตกลงก่อน 4) ช่อง BETTERDB_TOKEN, BETTERDB_LOCAL_TOKEN ให้คงคำว่า "ใส่ค่าของคุณ" ไว้ก่อน แล้วบอกให้ฉันวางค่าจริงเองในไฟล์หรือช่องของแอป ห้ามขอให้ฉันพิมพ์คีย์ในแชต 5) ทำตามที่ตกลง แล้วตรวจว่าเครื่องมือของ Monitor ขึ้นจริงข้อความนี้ไม่มีคีย์ของคุณ ถ้าต้องใช้คีย์ AI จะบอกให้คุณวางเองในไฟล์หรือช่องของแอป
ลง Node.js ในเครื่อง (ถ้ายังไม่มี)
ลงไว้แล้วหรือยัง? เช็กก่อน · เปิด Terminal แล้วพิมพ์คำสั่งนี้ กด Enter
node -v- ขึ้นเลขรุ่น เช่น v26.13.1 = ลงแล้ว ข้ามขั้นนี้ได้
- ขึ้นว่า "command not found" (Windows ขึ้นว่า "is not recognized") = ยังไม่ได้ลง หรือเพิ่งลงแต่ยังไม่ได้ปิดแล้วเปิด Terminal ใหม่
เปิด Terminal ยังไง
Mac: กด ⌘ + Space พิมพ์ Terminal แล้วกด Enter
Windows: เปิดเมนู Start พิมพ์ Windows PowerShell แล้วกด Open
ยังไม่ได้ลง: เปิดหน้าดาวน์โหลดทางการ เลือกรุ่น LTS แล้วเลือกตัวติดตั้งแบบกดเอง: Mac ไฟล์ .pkg · Windows ไฟล์ .msi ดับเบิลคลิกแล้วกดถัดไปจนจบ ไม่ต้องใช้คำสั่ง curl
ลงเสร็จแล้ว ปิด Terminal เปิดใหม่ แล้วพิมพ์คำสั่งเดิมอีกครั้ง ต้องขึ้นเลขรุ่น:
node -vลงครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Node.js
สมัครและสร้างคีย์ของ Monitor
เปิดเว็บของผู้ทำ สมัครบัญชีแล้วสร้างคีย์ (API key) เก็บไว้ ใช้ในขั้นถัดไป ราคาและแผนฟรีดูที่เว็บของผู้ทำ
วิธีขอคีย์อยู่ใน README ของผู้ทำด้านล่าง
ใส่คีย์ในช่องที่ว่างไว้
ในค่าตั้งของ Monitor ช่อง BETTERDB_TOKEN, BETTERDB_LOCAL_TOKEN ยังว่าง ใส่คีย์ของคุณแล้วบันทึก
วางคีย์ในช่องของแอปเท่านั้น อย่าวางในแชตหรือส่งให้ใคร
เปิดแชตของ AI ใน Cursor โหมด Agent
ลองเลย
ใช้ Monitor บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง✓ ถ้า Cursor บอกว่ากำลังใช้ Monitor หรือมีชื่อเครื่องมือของ Monitor ขึ้นในคำตอบ แปลว่าต่อสำเร็จ
ค่าตั้งเพิ่มเติม 4 ช่อง (ไม่ต้องกรอกก็ใช้ได้)
คำสั่งด้านบนใช้ได้เลยโดยไม่ต้องใส่ค่าเหล่านี้ ถ้าอยากปรับค่อยเพิ่มเองตามคำอธิบายของผู้ทำ
BETTERDB_URLURL ของอินสแตนซ์ BetterDB monitorดูต้นฉบับภาษาอังกฤษ
URL of the BetterDB monitor instanceBETTERDB_INSTANCE_IDID ของอินสแตนซ์ที่ต้องการกำหนดเป้าหมายเมื่อใช้การปรับใช้คลาวด์แบบหลายอินสแตนซ์ดูต้นฉบับภาษาอังกฤษ
Instance ID to target when using multi-instance cloud deploymentsBETTERDB_MCP_TELEMETRYตั้งค่าเป็น false, 0, no หรือ off เพื่อหยุดการส่งเหตุการณ์การใช้งานเครื่องมือไปยัง monitor การส่งเหตุการณ์การใช้งานจะปิดอยู่หากตัวนี้หรือ BETTERDB_TELEMETRY ถูกปิดดูต้นฉบับภาษาอังกฤษ
Set to false, 0, no or off to stop posting tool usage events to the monitor. Usage events are off if this or BETTERDB_TELEMETRY is offBETTERDB_TELEMETRYตั้งค่าเป็น false, 0, no หรือ off เพื่อปิดการส่งข้อมูล telemetry ทั้งของเซิร์ฟเวอร์ MCP และของ monitor ที่เซิร์ฟเวอร์นี้เริ่มต้นดูต้นฉบับภาษาอังกฤษ
Set to false, 0, no or off to turn off telemetry for both the MCP server and a monitor it starts
คำอธิบายแปลอัตโนมัติ ชื่อตัวแปรคงตามต้นฉบับ ถ้าไม่แน่ใจให้ดูต้นฉบับ
ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Cursor เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป
ต่อกับ VS Code ได้ แต่ต้องเตรียมก่อน
ต้องมีคีย์ของ Monitor (สร้างที่เว็บของผู้ทำ) · ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว)
ให้ AI ติดตั้งให้
คัดลอกข้อความนี้ไปวางในแชตของ VS Code AI จะเช็กเครื่อง บอกว่าจะแก้ไฟล์ไหน และรอคุณตกลงก่อนทุกครั้ง
ช่วยติดตั้ง MCP server ชื่อ Monitor ให้ VS Code ในเครื่องนี้ ทำตามลำดับ 1) เช็กว่ามี Node.js ด้วยคำสั่ง node -v ถ้าไม่มี ให้บอกฉันไปลงจาก https://nodejs.org/en/download ห้ามลงเอง 2) ใช้คอนฟิกนี้เท่านั้น (ผ่านตัวตรวจของ PopNx MCP แล้ว): { "servers": { "monitor": { "type": "stdio", "command": "npx", "args": [ "-y", "@betterdb/mcp" ], "env": { "BETTERDB_TOKEN": "ใส่ค่าของคุณ", "BETTERDB_LOCAL_TOKEN": "ใส่ค่าของคุณ" } } } } 3) บอก path เต็มของไฟล์ที่จะแก้ หรือคำสั่งที่จะรัน แล้วรอฉันตกลงก่อน 4) ช่อง BETTERDB_TOKEN, BETTERDB_LOCAL_TOKEN ให้คงคำว่า "ใส่ค่าของคุณ" ไว้ก่อน แล้วบอกให้ฉันวางค่าจริงเองในไฟล์หรือช่องของแอป ห้ามขอให้ฉันพิมพ์คีย์ในแชต 5) ทำตามที่ตกลง แล้วตรวจว่าเครื่องมือของ Monitor ขึ้นจริงข้อความนี้ไม่มีคีย์ของคุณ ถ้าต้องใช้คีย์ AI จะบอกให้คุณวางเองในไฟล์หรือช่องของแอป
ลง Node.js ในเครื่อง (ถ้ายังไม่มี)
ลงไว้แล้วหรือยัง? เช็กก่อน · เปิด Terminal แล้วพิมพ์คำสั่งนี้ กด Enter
node -v- ขึ้นเลขรุ่น เช่น v26.13.1 = ลงแล้ว ข้ามขั้นนี้ได้
- ขึ้นว่า "command not found" (Windows ขึ้นว่า "is not recognized") = ยังไม่ได้ลง หรือเพิ่งลงแต่ยังไม่ได้ปิดแล้วเปิด Terminal ใหม่
เปิด Terminal ยังไง
Mac: กด ⌘ + Space พิมพ์ Terminal แล้วกด Enter
Windows: เปิดเมนู Start พิมพ์ Windows PowerShell แล้วกด Open
ยังไม่ได้ลง: เปิดหน้าดาวน์โหลดทางการ เลือกรุ่น LTS แล้วเลือกตัวติดตั้งแบบกดเอง: Mac ไฟล์ .pkg · Windows ไฟล์ .msi ดับเบิลคลิกแล้วกดถัดไปจนจบ ไม่ต้องใช้คำสั่ง curl
ลงเสร็จแล้ว ปิด Terminal เปิดใหม่ แล้วพิมพ์คำสั่งเดิมอีกครั้ง ต้องขึ้นเลขรุ่น:
node -vลงครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Node.js
สมัครและสร้างคีย์ของ Monitor
เปิดเว็บของผู้ทำ สมัครบัญชีแล้วสร้างคีย์ (API key) เก็บไว้ ใช้ในขั้นถัดไป ราคาและแผนฟรีดูที่เว็บของผู้ทำ
วิธีขอคีย์อยู่ใน README ของผู้ทำด้านล่าง
ใส่คีย์ในช่องที่ว่างไว้
ในค่าตั้งของ Monitor ช่อง BETTERDB_TOKEN, BETTERDB_LOCAL_TOKEN ยังว่าง ใส่คีย์ของคุณแล้วบันทึก
วางคีย์ในช่องของแอปเท่านั้น อย่าวางในแชตหรือส่งให้ใคร
เปิดแชตของ AI ใน VS Code โหมด Agent
ลองเลย
ใช้ Monitor บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง✓ ถ้า VS Code บอกว่ากำลังใช้ Monitor หรือมีชื่อเครื่องมือของ Monitor ขึ้นในคำตอบ แปลว่าต่อสำเร็จ
ค่าตั้งเพิ่มเติม 4 ช่อง (ไม่ต้องกรอกก็ใช้ได้)
คำสั่งด้านบนใช้ได้เลยโดยไม่ต้องใส่ค่าเหล่านี้ ถ้าอยากปรับค่อยเพิ่มเองตามคำอธิบายของผู้ทำ
BETTERDB_URLURL ของอินสแตนซ์ BetterDB monitorดูต้นฉบับภาษาอังกฤษ
URL of the BetterDB monitor instanceBETTERDB_INSTANCE_IDID ของอินสแตนซ์ที่ต้องการกำหนดเป้าหมายเมื่อใช้การปรับใช้คลาวด์แบบหลายอินสแตนซ์ดูต้นฉบับภาษาอังกฤษ
Instance ID to target when using multi-instance cloud deploymentsBETTERDB_MCP_TELEMETRYตั้งค่าเป็น false, 0, no หรือ off เพื่อหยุดการส่งเหตุการณ์การใช้งานเครื่องมือไปยัง monitor การส่งเหตุการณ์การใช้งานจะปิดอยู่หากตัวนี้หรือ BETTERDB_TELEMETRY ถูกปิดดูต้นฉบับภาษาอังกฤษ
Set to false, 0, no or off to stop posting tool usage events to the monitor. Usage events are off if this or BETTERDB_TELEMETRY is offBETTERDB_TELEMETRYตั้งค่าเป็น false, 0, no หรือ off เพื่อปิดการส่งข้อมูล telemetry ทั้งของเซิร์ฟเวอร์ MCP และของ monitor ที่เซิร์ฟเวอร์นี้เริ่มต้นดูต้นฉบับภาษาอังกฤษ
Set to false, 0, no or off to turn off telemetry for both the MCP server and a monitor it starts
คำอธิบายแปลอัตโนมัติ ชื่อตัวแปรคงตามต้นฉบับ ถ้าไม่แน่ใจให้ดูต้นฉบับ
ชื่อเมนูตรวจกับหน้าช่วยเหลือของ VS Code เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป
โปรแกรมอื่นที่ใช้ MCP ได้ เช่น Windsurf, Zed หรือ Gemini CLI มีวิธีเพิ่มต่างกัน ดูวิธีของแต่ละตัวในหน้ารวมโปรแกรม
ค่าตั้งแบบไฟล์ JSON อยู่ในหัวข้อ “สำหรับคนเขียนโค้ด” ด้านล่าง
สำหรับคนเขียนโค้ด: คำสั่ง Terminal และค่าตั้ง JSON
ติดตั้งในเครื่อง
Claude Code
claude mcp add --scope user monitor --env BETTERDB_TOKEN='ใส่ค่าของคุณ' --env BETTERDB_LOCAL_TOKEN='ใส่ค่าของคุณ' -- npx -y @betterdb/mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"monitor": {
"command": "npx",
"args": [
"-y",
"@betterdb/mcp"
],
"env": {
"BETTERDB_TOKEN": "ใส่ค่าของคุณ",
"BETTERDB_LOCAL_TOKEN": "ใส่ค่าของคุณ"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"monitor": {
"command": "npx",
"args": [
"-y",
"@betterdb/mcp"
],
"env": {
"BETTERDB_TOKEN": "ใส่ค่าของคุณ",
"BETTERDB_LOCAL_TOKEN": "ใส่ค่าของคุณ"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"monitor": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@betterdb/mcp"
],
"env": {
"BETTERDB_TOKEN": "ใส่ค่าของคุณ",
"BETTERDB_LOCAL_TOKEN": "ใส่ค่าของคุณ"
}
}
}
}ค่าที่ต้องใส่เอง
BETTERDB_URLenvURL ของอินสแตนซ์ BetterDB monitorดูต้นฉบับภาษาอังกฤษ
URL of the BetterDB monitor instanceBETTERDB_TOKENความลับ จำเป็น envโทเค็นการยืนยันตัวตน MCP ที่สร้างจากหน้า Settings ของ BetterDBดูต้นฉบับภาษาอังกฤษ
MCP authentication token generated from the BetterDB Settings pageBETTERDB_INSTANCE_IDenvID ของอินสแตนซ์ที่ต้องการกำหนดเป้าหมายเมื่อใช้การปรับใช้คลาวด์แบบหลายอินสแตนซ์ดูต้นฉบับภาษาอังกฤษ
Instance ID to target when using multi-instance cloud deploymentsBETTERDB_LOCAL_TOKENความลับ จำเป็น envโทเค็นสำหรับ monitor ที่เริ่มต้นด้วย --autostart หรือ start_monitor เมื่อ BETTERDB_URL ชี้ไปยัง monitor อีกตัว หากไม่ระบุ monitor นั้นจะไม่ได้รับโทเค็น BETTERDB_TOKEN จะถูกใช้เมื่อไม่ได้ตั้งค่า BETTERDB_URL…ดูต้นฉบับภาษาอังกฤษ
Token for a monitor started with --autostart or start_monitor when BETTERDB_URL is set to a different monitor; without it that monitor gets no token. BETTERDB_TOKEN is used when BETTERDB_URL is unset…BETTERDB_MCP_TELEMETRYenvตั้งค่าเป็น false, 0, no หรือ off เพื่อหยุดการส่งเหตุการณ์การใช้งานเครื่องมือไปยัง monitor การส่งเหตุการณ์การใช้งานจะปิดอยู่หากตัวนี้หรือ BETTERDB_TELEMETRY ถูกปิดดูต้นฉบับภาษาอังกฤษ
Set to false, 0, no or off to stop posting tool usage events to the monitor. Usage events are off if this or BETTERDB_TELEMETRY is offBETTERDB_TELEMETRYenvตั้งค่าเป็น false, 0, no หรือ off เพื่อปิดการส่งข้อมูล telemetry ทั้งของเซิร์ฟเวอร์ MCP และของ monitor ที่เซิร์ฟเวอร์นี้เริ่มต้นดูต้นฉบับภาษาอังกฤษ
Set to false, 0, no or off to turn off telemetry for both the MCP server and a monitor it starts
คำอธิบายแปลอัตโนมัติ ชื่อตัวแปรคงตามต้นฉบับ ถ้าไม่แน่ใจให้ดูต้นฉบับ
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
สรุป
ใช้กับโปรแกรมไหนได้
ดูจากแบบการต่อของ server ตัวนี้ และเอกสารของผู้ทำโปรแกรมแต่ละตัว ตรวจเมื่อ 10 พ.ย. 2569
ติดตั้งบนเครื่องได้ใน
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
คู่มือที่เกี่ยวข้อง
ทำอะไรได้บ้าง
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
ผลตรวจเบื้องต้นi
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 20 พ.ย. 2569
- ✓ ผ่าน
ตัวตนผู้ทำตรงกับ repo
ชื่อใน registry ยืนยันด้วยบัญชี GitHub BetterDB-inc ซึ่งเป็นเจ้าของ repo
- ✓ ผ่าน
ยังมีคนดูแล
มีการแก้โค้ดล่าสุด เมื่อวาน
- ! ควรระวัง
มีสัญญาอนุญาต (license)
GitHub อ่านชนิด license ไม่ออก ต้องเปิดไฟล์ดูเอง
- – ไม่เกี่ยว
endpoint ตอบ
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
- – ไม่เกี่ยว
ล็อกอินแบบ OAuth
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
- … ยังไม่ตรวจ
คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
ช่องโหว่ที่เปิดเผยแล้ว (OSV.dev)
ไม่พบรายการใน OSV.dev สำหรับ @betterdb/mcp@1.6.0
ตรวจเฉพาะตัวแพ็กเกจรุ่นนี้ ไม่ใช่ทุก dependency · ตรวจเมื่อ 15 พ.ย. 2569
ผู้ทำ: ขอให้ตรวจใหม่ หรือแจ้งข้อมูลผิด
สำหรับผู้ทำ: ติดป้ายใน README
ถ้าคุณเป็นผู้ทำตัวนี้ คัดลอกโค้ดนี้ไปวางใน README ได้เลย ป้ายลิงก์กลับมาที่หน้านี้
[](https://mcp.popnx.com/th/servers/betterdb-inc-monitor)พูดคุย
ถาม แชร์เคล็ดลับ หรือแจ้งว่าใช้ไม่ได้ เรียงตามที่คนกดว่ามีประโยชน์
ยังไม่มีใครโพสต์ ถามหรือแชร์เป็นคนแรกได้เลย
ข้อความในส่วนนี้เขียนโดยผู้ใช้ ไม่ใช่ทีม PopNx
รีวิวจากผู้ใช้
ยังไม่มีรีวิว
เทียบกับตัวอื่นในหมวด เครื่องมือนักพัฒนาi
- ดาวมากกว่า 98% ของอีก 6209 ตัวในหมวดนี้
- ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 83% ของอีก 6209 ตัวในหมวดนี้
- ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 45% ของอีก 6209 ตัวในหมวดนี้
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
คำถามที่พบบ่อย
Monitor ปลอดภัยไหม?
จากการตรวจเบื้องต้นของเรา ผ่าน 2 จาก 3 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใช้กุญแจหรือรหัสอะไรบ้าง?
ต้องใส่ค่าเหล่านี้: BETTERDB_TOKEN, BETTERDB_LOCAL_TOKEN
ตัวนี้รันบนเครื่องหรือบนคลาวด์?
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
ยังมีคนดูแลอยู่ไหม?
repo บน GitHub มีการแก้โค้ดล่าสุด เมื่อวาน และส่งรุ่นล่าสุด (1.6.0) เข้า registry 9 วันที่ผ่านมา
ใช้กับโปรแกรมไหนได้บ้าง?
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
มีตัวไหนใช้แทนได้บ้าง?
ในหมวดเดียวกันมี 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.
| ตัวนี้ Monitor | GitDiagram | Appllama | Cloudflare MCP | Omnara | Repowise | |
|---|---|---|---|---|---|---|
| ทำงานที่ไหน | ต้องลงในเครื่อง | ใช้บนคลาวด์ ไม่ต้องลงเครื่อง | ใช้บนคลาวด์ ไม่ต้องลงเครื่อง | ใช้บนคลาวด์ ไม่ต้องลงเครื่อง | ใช้บนคลาวด์ ไม่ต้องลงเครื่อง | มีทั้งบนคลาวด์และแบบลงเครื่อง |
| ต้องใส่คีย์ | ใช่ | ไม่ | ไม่ | ไม่ | ไม่ | ไม่ |
| กด + ใน Claude ได้ | ไม่ | ไม่ | ไม่ | ใช่ | ไม่ | ไม่ |
| ผลตรวจเบื้องต้น | 2/3 | 4/4 | 4/4 | 4/4 | 4/4 | 5/5 |
| สัญญาอนุญาต | NOASSERTION | MIT | MIT | Apache-2.0 | Apache-2.0 | AGPL-3.0 |
| ราคา | ไม่พบค่าใช้จ่ายในทะเบียน | ไม่พบค่าใช้จ่ายในทะเบียน | ไม่พบค่าใช้จ่ายในทะเบียน | ไม่พบค่าใช้จ่ายในทะเบียน | ไม่พบค่าใช้จ่ายในทะเบียน | ไม่พบค่าใช้จ่ายในทะเบียน |
README จากผู้ทำ
เปิดอ่าน README
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
@betterdb/mcp
Give your AI assistant deep visibility into your Valkey and Redis databases. The BetterDB MCP server connects Claude Code, Cursor, Windsurf, and other MCP-compatible clients to the BetterDB monitoring platform — letting your AI query real-time metrics, diagnose slow commands, detect anomalies, and investigate incidents without leaving your editor.
See it live in BetterDB Monitor
BetterDB Monitor gives you live dashboards for the AI workloads running on your Valkey:
- AI Cache & Memory - hit rate, cost saved, evictions, and index size across all your caches and memory stores, with history.
- AI Traces - OpenTelemetry waterfalls for each request, correlated with live Valkey state to explain every cache hit and miss.
Run it self-hosted (docker run -p 3001:3001 betterdb/monitor), or use BetterDB Cloud - which can also provision a managed, TLS-enabled Valkey instance (Search module included) in one click.
Why BetterDB?
BetterDB is a monitoring and observability platform built for Valkey and Redis providing real-time dashboards, anomaly detection, and operational intelligence for your Valkey and Redis deployments. Unlike tools that only show a live snapshot, BetterDB persists historical metrics, slowlogs, and audit trails — so you can investigate what happened yesterday, not just what's happening now.
Key capabilities exposed through MCP:
- Real-time health checks — memory fragmentation, hit rate, replication lag, connected clients
- Slow command analysis — slowlog and COMMANDLOG (Valkey 8+) with pattern aggregation
- Hot key detection — find cache-busting keys via LFU frequency scores or idle time analysis
- Cluster-wide visibility — per-node stats, aggregated slowlogs, and slot-level metrics across all nodes
- Anomaly detection — Z-score analysis on memory, CPU, hit rate, and other metrics *(Pro)*
- Client activity tracking — connection counts, command distribution, and buffer usage over time
- ACL audit log — investigate auth failures and access patterns
- Latency event history — track latency trends for specific event types
Quick Start
1. Get a token
In BetterDB, go to Settings → MCP Tokens and generate a new token.
2. Configure your MCP client
In Claude Code, install the BetterDB plugin and enter your URL and token when prompted:
claude plugin marketplace add https://raw.githubusercontent.com/BetterDB-inc/monitor/master/.claude-plugin/marketplace.json
claude plugin install betterdb@betterdb
For other clients such as OpenAI Codex, or to configure Claude Code by hand, add to your MCP client config:
{
"mcpServers": { "betterdb": { "type": "stdio", "command": "npx", "args": ["-y", "@betterdb/mcp@1.6.0"], "env": { "BETTERDB_URL": "https:// .app.betterdb.com", "BETTERDB_TOKEN": " " } } } }
For local development with an existing monitor (token not required):
{
"mcpServers": { "betterdb": { "type": "stdio", "command": "npx", "args": ["-y", "@betterdb/mcp@1.6.0"], "env": { "BETTERDB_URL": "http://localhost:3001" } } } }
For zero-config local development (auto-starts and manages a monitor process):
{
"mcpServers": { "betterdb": { "type": "stdio", "command": "npx", "args": ["-y", "@betterdb/mcp@1.6.0", "--autostart", "--persist"] } } }
3. Start asking questions
Once connected, your AI assistant can query your databases directly:
- *"What's the health of my production Valkey instance?"*
- *"Show me the slowest commands from the last hour"*
- *"Are there any hot keys causing uneven load?"*
- *"Which cluster node has the highest memory usage?"*
- *"Have there been any anomalies in the last 24 hours?"*
- *"Tune the threshold on my faq-cache — propose a change for me to review"*
- *"Why is the weather_lookup tool's hit rate so low?"*
Skills
Clients that load skills from a plugin (Connect Apps and other skill-aware clients) pick these up from skills/ /SKILL.md. They are playbooks for the tools above: which call to make, which arguments a time window needs, and how to read a license sentence or an empty list.
| Skill | Use when |
|---|---|
betterdb-triage | "Is this instance healthy?" or any question before an instance is selected |
betterdb-slow-commands | Slowest commands in a time window |
betterdb-hot-keys | Hot keys or uneven key access |
betterdb-memory | Fragmentation, MEMORY DOCTOR, or time to the memory ceiling |
betterdb-latency | What is slow, fork time, or a latency regression |
betterdb-durability | What a crash would lose, last save, replicas, or cluster vs standalone |
betterdb-cache-miss | Cache hit rate, a trace, or vector index health |
Configuration
Environment Variables
| Variable | Default | Description |
|---|---|---|
BETTERDB_URL | http://localhost:3001 | BetterDB instance URL (port depends on your Docker config) |
BETTERDB_TOKEN | — | MCP token from Settings → MCP Tokens. Required for cloud. Optional for self-hosted: without it, read tools work anonymously; with it, calls act as the token's owner (write tools need an admin's token) and changes they make are recorded under the owner's name in the activity log. Tokens cannot manage members or other tokens |
BETTERDB_LOCAL_TOKEN | — | Token for a monitor started with --autostart or start_monitor when BETTERDB_URL is set to a different monitor. Without it, that monitor gets no token. BETTERDB_TOKEN is used when BETTERDB_URL is unset or points at the started monitor |
BETTERDB_INSTANCE_ID | — | Pre-select a specific instance (skips select_instance) |
BETTERDB_TELEMETRY | on | Set to false, 0, no or off to turn off telemetry: the MCP server's tool usage events, and a monitor started with --autostart or start_monitor. Usage events (tool name, success, duration, up to 200 characters of error text) go to the monitor the call was made against, which relays them to BetterDB when its own telemetry is on |
BETTERDB_MCP_TELEMETRY | — | Same values as BETTERDB_TELEMETRY, for the MCP server's usage events only. Usage events are off if either variable is off; neither turns them back on |
BETTERDB_MONITOR_ | — | Passed to a monitor started with --autostart or start_monitor as , overriding the inherited value. PORT and STORAGE_TYPE come from --port and --storage instead |
CLI Arguments
| Argument | Default | Description |
|---|---|---|
--autostart | — | Spawn and manage a local BetterDB monitor process on startup. It inherits the MCP server's environment, except BETTERDB_URL, BETTERDB_TOKEN, BETTERDB_LOCAL_TOKEN, BETTERDB_INSTANCE_ID and BETTERDB_MCP_TELEMETRY |
--no-monitor-tools | — | Do not register start_monitor and stop_monitor |
--persist | — | Keep the monitor running after the MCP server exits (requires --autostart) |
--port | 3001 | Port for the auto-started monitor API |
--storage | sqlite | Storage backend: sqlite or memory |
--stop | — | Stop a previously persisted monitor process and exit |
Available Tools
Instance Tools
| Tool | Description |
|---|---|
list_instances | List all registered Valkey/Redis instances with connection status |
select_instance | Select which instance subsequent calls operate on |
get_health | Synthetic health summary — the best starting point for any investigation |
get_info | Full INFO stats, optionally filtered by section |
get_slowlog | Recent slow commands from the slowlog buffer |
get_commandlog | Recent COMMANDLOG entries (Valkey 8+) |
get_latency | Latency event history |
get_latency_history | Detailed history for a specific latency event |
get_memory | MEMORY DOCTOR assessment and MEMORY STATS breakdown |
get_clients | Active client list with connection details |
get_hot_keys | Hot key tracking data from LFU or idle time analysis |
get_slowlog_patterns | Aggregated slowlog patterns with frequency and avg duration |
get_commandlog_history | Persisted COMMANDLOG entries with time range filtering |
get_commandlog_patterns | Aggregated COMMANDLOG patterns |
get_anomalies | Anomaly detection events *(Pro)* |
get_retry_amplification | Live retry-amplification state, last episode and top clients *(Pro)* |
get_hot_shards | Open hot shards on a cluster with their top slots, hot keys and a suggested slot rebalance, or the reason none is suggested *(Pro)* |
get_client_activity | Time-bucketed client activity from persisted snapshots |
get_acl_audit | ACL audit log entries |
get_cluster_nodes | Cluster node discovery — roles, state (healthy, suspect or failed), slot ranges, whether the monitor collects each node, plus availability zone and shard id on Valkey 9.1+ (older versions: the zone from the connection's zone map) |
get_cluster_node_stats | Per-node performance stats across the cluster |
get_cluster_slowlog | Aggregated slowlog across all cluster nodes |
get_slot_stats | Per-slot key counts and CPU usage (Valkey 8+) |
Analytics Tools
| Tool | Description |
|---|---|
get_forecast | Capacity forecast for a metric (opsPerSec, usedMemory, cpuTotal, memFragmentation) with projected time to ceiling |
get_latency_regressions | Detected sustained p99 latency regressions vs baseline from the anomaly store *(Pro)* |
get_replication_divergence | Per-replica offset gap series and divergence events for a primary *(Pro)* |
get_largest_keys | Largest keys by measured memory usage from key analytics snapshots *(Pro)* |
get_incident_timeline | Anomaly incidents as ordered timelines with matched sequence patterns and recovery status *(Pro)* |
Vector Search Tools
For deployments running the Search module (valkey-search / RediSearch).
| Tool | Description |
|---|---|
get_vector_indexes | Per-index health: document count, memory usage, indexing failures, and percent indexed |
get_inference_latency | FT.SEARCH p50/p95/p99 per vector index plus SLA breach status (SLA fields require Pro) |
AI Observability Tools
For AI components (semantic caches, agent caches, agent-memory stores, retrieval pipelines) and traces ingested via OpenTelemetry.
| Tool | Description |
|---|---|
ai_list_instances | Superset discovery view of all AI component instances with liveness and latest metrics sample |
ai_instance_history | Stored metrics time-series for one AI component instance (hit rate, cost saved, evictions, threshold, …) |
list_ai_traces | List recent AI application traces (LLM calls, cache lookups, memory recalls, retrieval spans) |
get_ai_trace | Full span waterfall for one trace with timing, parent relationships, and attributes |
| correlate_ai_trace | Join a trace's cache/memor