ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที เข้าสู่ระบบด้วย Google เพื่อเขียนรีวิวได้แล้วต้นแบบ · อัปเดตทุก 30 นาที
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · วิธีติดตั้งภาษาไทยทุกตัว

SugarCasino MCP

✓ GitHub ชื่อตรงแบรนด์ · github.com/sugarcasino

โดย SugarCasinoรุ่น 0.0.1-beta.0i★ 0iรันบนเครื่องหน้า repo ↗
ชื่อใน registryio.github.SugarCasino/mcp

วิธีติดตั้ง

ใช้ทำอะไรได้

ยังไม่มีคำอธิบายภาษาไทย ดูข้อเท็จจริงด้านล่าง หรือเปิดคำอธิบายต้นฉบับจากผู้ทำ

  • ต่อแบบ ติดตั้งในเครื่อง
  • บัญชีหรือคีย์ ไม่ต้องใส่คีย์
  • หมวด คริปโตและบล็อกเชน
คำอธิบายต้นฉบับจากผู้ทำ (อังกฤษ)
AI agent MCP server for Sugar casino game, SweetHouse, NFT, and referral transactions.

ทำไมอยู่อันดับนี้

หน้ารายการเรียงด้วยคะแนนการใช้งาน (เต็ม 100) จากส่วนเหล่านี้

ความนิยม0/80ดาว GitHub หรือยอดดาวน์โหลดต่อสัปดาห์ ค่ามากนับ 60 ค่าน้อยนับ 20
ความสด12/12ออกรุ่นหรือแก้โค้ดใน 30 วัน ได้เต็ม
ระบบยังตอบ0/8endpoint บนคลาวด์ตอบตอนตรวจล่าสุด
คะแนนการใช้งาน12/100

คุณภาพ: ผลตรวจเบื้องต้นผ่าน 3/3 ข้อ (แสดงให้ดู ไม่ได้ใช้เรียง) · ความมาแรง: ยังไม่มีข้อมูล (ใช้เรียงเฉพาะแท็บมาแรง)

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ให้ AI ติดตั้งให้ด้วยประโยคเดียว

ติดตั้ง SugarCasino MCP ให้หน่อย ทำตาม https://mcp.popnx.com/i/sugarcasino-mcp.md แสดงคำสั่งให้ฉันดูและรอฉันตกลงก่อนรัน

คัดลอกไปวางในแชตของ AI ที่ทำงานในเครื่องคุณได้ (เช่น Claude Code, Cursor) · AI จะอ่านขั้นตอนจากเรา แสดงคำสั่งให้ดู และรอคุณตกลงก่อน · ไม่ต้องใช้คีย์ ไม่ต้องสมัคร · ดูข้อความเต็มที่ AI จะอ่าน

ผลตรวจผ่าน 3/3 · ทำงานบนเครื่องคุณ · ✓ ตรวจคำสั่งแล้ว 19 พ.ย. 2569

ขั้นแรก: คุณใช้ AI ตัวไหน

เลือกแอปที่คุณใช้ ขั้นตอนจะขึ้นด้านล่าง

ต่อกับ Claude ได้ แต่ต้องเตรียมก่อน

ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว) · ใช้ได้เฉพาะแอป Claude บนคอม (Windows หรือ Mac) ไม่ใช่บนเว็บหรือมือถือ

ให้ AI ติดตั้งให้

คัดลอกข้อความนี้ไปวางในแชตของ Claude AI จะเช็กเครื่อง บอกว่าจะแก้ไฟล์ไหน และรอคุณตกลงก่อนทุกครั้ง

ช่วยติดตั้ง MCP server ชื่อ SugarCasino MCP ให้ Claude ในเครื่องนี้ ทำตามลำดับ 1) เช็กว่ามี Node.js ด้วยคำสั่ง node -v ถ้าไม่มี ให้บอกฉันไปลงจาก https://nodejs.org/en/download ห้ามลงเอง 2) ใช้คอนฟิกนี้เท่านั้น (ผ่านตัวตรวจของ PopNx MCP แล้ว): { "mcpServers": { "sugarcasino": { "command": "npx", "args": [ "-y", "@sugarcasino/mcp" ] } } } 3) บอก path เต็มของไฟล์ที่จะแก้ หรือคำสั่งที่จะรัน แล้วรอฉันตกลงก่อน 4) ไม่ต้องใช้คีย์ 5) ทำตามที่ตกลง แล้วตรวจว่าเครื่องมือของ SugarCasino MCP ขึ้นจริง

ข้อความนี้ไม่มีคีย์ของคุณ ถ้าต้องใช้คีย์ AI จะบอกให้คุณวางเองในไฟล์หรือช่องของแอป

  1. ลง 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

    เปิดหน้าดาวน์โหลด Node.js ↗

    ลงเสร็จแล้ว ปิด Terminal เปิดใหม่ แล้วพิมพ์คำสั่งเดิมอีกครั้ง ต้องขึ้นเลขรุ่น: node -v

    ลงครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Node.js

  2. เปิดไฟล์ตั้งค่าของแอป Claude บนคอม

    SettingsDeveloperEdit Config

  3. วางค่าตั้งนี้แล้วบันทึกไฟล์

    {
      "mcpServers": {
        "sugarcasino": {
          "command": "npx",
          "args": [
            "-y",
            "@sugarcasino/mcp"
          ]
        }
      }
    }
  4. ปิดแอป Claude แล้วเปิดใหม่

  5. ลองเลย

    ใช้ SugarCasino MCP บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า Claude บอกว่ากำลังใช้ SugarCasino MCP หรือมีชื่อเครื่องมือของ SugarCasino MCP ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ค่าตั้งเพิ่มเติม 4 ช่อง (ไม่ต้องกรอกก็ใช้ได้)

คำสั่งด้านบนใช้ได้เลยโดยไม่ต้องใส่ค่าเหล่านี้ ถ้าอยากปรับค่อยเพิ่มเองตามคำอธิบายของผู้ทำ

  • SUGAR_MCP_BRIDGE_WEB_URL origin ของแอปเบราว์เซอร์ Custom Sugar MCP สำหรับหน้าจับคู่กระเป๋าเงินและหน้าอนุมัติ
    ดูต้นฉบับภาษาอังกฤษCustom Sugar MCP browser app origin for wallet pairing and approval pages.
  • SUGAR_MCP_BRIDGE_TIMEOUT_MS มิลลิวินาทีก่อนที่บริดจ์การเข้าสู่ระบบ ออกจากระบบ และการอนุมัติของเบราว์เซอร์ในเครื่องจะหมดอายุ
    ดูต้นฉบับภาษาอังกฤษMilliseconds before local browser login, logout, and approval bridges expire.
  • SUGAR_MCP_BRIDGE_MAX_BODY_BYTES ขนาดสูงสุดของเนื้อหา callback แบบ JSON เป็นไบต์สำหรับบริดจ์เบราว์เซอร์ในเครื่อง
    ดูต้นฉบับภาษาอังกฤษMaximum JSON callback body size in bytes for local browser bridges.
  • SUGAR_MCP_SESSION_SETUP_TIMEOUT_MS มิลลิวินาทีก่อนที่หน้าตั้งค่าเซสชันวอลเล็ตในเครื่องจะหมดอายุ
    ดูต้นฉบับภาษาอังกฤษMilliseconds before local session-wallet setup pages expire.

คำอธิบายแปลอัตโนมัติ ชื่อตัวแปรคงตามต้นฉบับ ถ้าไม่แน่ใจให้ดูต้นฉบับ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ChatGPT ยังต่อ SugarCasino MCP ไม่ได้

SugarCasino MCP ต้องติดตั้งในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะตัวที่ทำงานบนเว็บ

คุณทำแบบนี้แทนได้

ก · ใช้แอปที่ต่อ SugarCasino MCP ได้

  • ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว) · ใช้ได้เฉพาะแอป Claude บนคอม (Windows หรือ Mac) ไม่ใช่บนเว็บหรือมือถือ
  • ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว)
  • ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว)
  • ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว)

ข · ตัวอื่นในหมวด คริปโตและบล็อกเชน ที่ต่อกับ ChatGPT ได้

เลือกจากตัวที่ใช้มากในหมวดเดียวกัน เฉพาะตัวที่ต่อด้วยที่อยู่ได้โดยไม่ต้องใส่คีย์

ต่อกับ Claude Code ได้ แต่ต้องเตรียมก่อน

ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว)

ให้ AI ติดตั้งให้

คัดลอกข้อความนี้ไปวางในแชตของ Claude Code AI จะเช็กเครื่อง บอกว่าจะแก้ไฟล์ไหน และรอคุณตกลงก่อนทุกครั้ง

ช่วยติดตั้ง MCP server ชื่อ SugarCasino MCP ให้ Claude Code ในเครื่องนี้ ทำตามลำดับ 1) เช็กว่ามี Node.js ด้วยคำสั่ง node -v ถ้าไม่มี ให้บอกฉันไปลงจาก https://nodejs.org/en/download ห้ามลงเอง 2) ใช้คอนฟิกนี้เท่านั้น (ผ่านตัวตรวจของ PopNx MCP แล้ว): claude mcp add --scope user sugarcasino -- npx -y @sugarcasino/mcp 3) บอก path เต็มของไฟล์ที่จะแก้ หรือคำสั่งที่จะรัน แล้วรอฉันตกลงก่อน 4) ไม่ต้องใช้คีย์ 5) ทำตามที่ตกลง แล้วตรวจว่าเครื่องมือของ SugarCasino MCP ขึ้นจริง

ข้อความนี้ไม่มีคีย์ของคุณ ถ้าต้องใช้คีย์ AI จะบอกให้คุณวางเองในไฟล์หรือช่องของแอป

  1. ลง 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

    เปิดหน้าดาวน์โหลด Node.js ↗

    ลงเสร็จแล้ว ปิด Terminal เปิดใหม่ แล้วพิมพ์คำสั่งเดิมอีกครั้ง ต้องขึ้นเลขรุ่น: node -v

    ลงครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Node.js

  2. เปิด Terminal

    Mac: กด Command+Space พิมพ์ Terminal · Windows: เปิด PowerShell

  3. วางคำสั่งนี้แล้วกด Enter

    claude mcp add --scope user sugarcasino -- npx -y @sugarcasino/mcp
  4. พิมพ์ /mcp ใน Claude Code

    ต้องเห็น SugarCasino MCP ในรายการและขึ้นว่าเชื่อมต่อแล้ว

  5. ลองเลย

    ใช้ SugarCasino MCP บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า Claude Code บอกว่ากำลังใช้ SugarCasino MCP หรือมีชื่อเครื่องมือของ SugarCasino MCP ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ค่าตั้งเพิ่มเติม 4 ช่อง (ไม่ต้องกรอกก็ใช้ได้)

คำสั่งด้านบนใช้ได้เลยโดยไม่ต้องใส่ค่าเหล่านี้ ถ้าอยากปรับค่อยเพิ่มเองตามคำอธิบายของผู้ทำ

  • SUGAR_MCP_BRIDGE_WEB_URL origin ของแอปเบราว์เซอร์ Custom Sugar MCP สำหรับหน้าจับคู่กระเป๋าเงินและหน้าอนุมัติ
    ดูต้นฉบับภาษาอังกฤษCustom Sugar MCP browser app origin for wallet pairing and approval pages.
  • SUGAR_MCP_BRIDGE_TIMEOUT_MS มิลลิวินาทีก่อนที่บริดจ์การเข้าสู่ระบบ ออกจากระบบ และการอนุมัติของเบราว์เซอร์ในเครื่องจะหมดอายุ
    ดูต้นฉบับภาษาอังกฤษMilliseconds before local browser login, logout, and approval bridges expire.
  • SUGAR_MCP_BRIDGE_MAX_BODY_BYTES ขนาดสูงสุดของเนื้อหา callback แบบ JSON เป็นไบต์สำหรับบริดจ์เบราว์เซอร์ในเครื่อง
    ดูต้นฉบับภาษาอังกฤษMaximum JSON callback body size in bytes for local browser bridges.
  • SUGAR_MCP_SESSION_SETUP_TIMEOUT_MS มิลลิวินาทีก่อนที่หน้าตั้งค่าเซสชันวอลเล็ตในเครื่องจะหมดอายุ
    ดูต้นฉบับภาษาอังกฤษMilliseconds before local session-wallet setup pages expire.

คำอธิบายแปลอัตโนมัติ ชื่อตัวแปรคงตามต้นฉบับ ถ้าไม่แน่ใจให้ดูต้นฉบับ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ต่อกับ Cursor ได้ แต่ต้องเตรียมก่อน

ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว)

ให้ AI ติดตั้งให้

คัดลอกข้อความนี้ไปวางในแชตของ Cursor AI จะเช็กเครื่อง บอกว่าจะแก้ไฟล์ไหน และรอคุณตกลงก่อนทุกครั้ง

ช่วยติดตั้ง MCP server ชื่อ SugarCasino MCP ให้ Cursor ในเครื่องนี้ ทำตามลำดับ 1) เช็กว่ามี Node.js ด้วยคำสั่ง node -v ถ้าไม่มี ให้บอกฉันไปลงจาก https://nodejs.org/en/download ห้ามลงเอง 2) ใช้คอนฟิกนี้เท่านั้น (ผ่านตัวตรวจของ PopNx MCP แล้ว): { "mcpServers": { "sugarcasino": { "command": "npx", "args": [ "-y", "@sugarcasino/mcp" ] } } } 3) บอก path เต็มของไฟล์ที่จะแก้ หรือคำสั่งที่จะรัน แล้วรอฉันตกลงก่อน 4) ไม่ต้องใช้คีย์ 5) ทำตามที่ตกลง แล้วตรวจว่าเครื่องมือของ SugarCasino MCP ขึ้นจริง

ข้อความนี้ไม่มีคีย์ของคุณ ถ้าต้องใช้คีย์ AI จะบอกให้คุณวางเองในไฟล์หรือช่องของแอป

  1. ลง 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

    เปิดหน้าดาวน์โหลด Node.js ↗

    ลงเสร็จแล้ว ปิด Terminal เปิดใหม่ แล้วพิมพ์คำสั่งเดิมอีกครั้ง ต้องขึ้นเลขรุ่น: node -v

    ลงครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Node.js

  2. กดปุ่มนี้เพื่อเปิด Cursor

    เปิดใน Cursor

    Cursor จะถามยืนยันการติดตั้ง ให้กด Install

  3. เปิดแชตของ AI ใน Cursor โหมด Agent

  4. ลองเลย

    ใช้ SugarCasino MCP บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า Cursor บอกว่ากำลังใช้ SugarCasino MCP หรือมีชื่อเครื่องมือของ SugarCasino MCP ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ค่าตั้งเพิ่มเติม 4 ช่อง (ไม่ต้องกรอกก็ใช้ได้)

คำสั่งด้านบนใช้ได้เลยโดยไม่ต้องใส่ค่าเหล่านี้ ถ้าอยากปรับค่อยเพิ่มเองตามคำอธิบายของผู้ทำ

  • SUGAR_MCP_BRIDGE_WEB_URL origin ของแอปเบราว์เซอร์ Custom Sugar MCP สำหรับหน้าจับคู่กระเป๋าเงินและหน้าอนุมัติ
    ดูต้นฉบับภาษาอังกฤษCustom Sugar MCP browser app origin for wallet pairing and approval pages.
  • SUGAR_MCP_BRIDGE_TIMEOUT_MS มิลลิวินาทีก่อนที่บริดจ์การเข้าสู่ระบบ ออกจากระบบ และการอนุมัติของเบราว์เซอร์ในเครื่องจะหมดอายุ
    ดูต้นฉบับภาษาอังกฤษMilliseconds before local browser login, logout, and approval bridges expire.
  • SUGAR_MCP_BRIDGE_MAX_BODY_BYTES ขนาดสูงสุดของเนื้อหา callback แบบ JSON เป็นไบต์สำหรับบริดจ์เบราว์เซอร์ในเครื่อง
    ดูต้นฉบับภาษาอังกฤษMaximum JSON callback body size in bytes for local browser bridges.
  • SUGAR_MCP_SESSION_SETUP_TIMEOUT_MS มิลลิวินาทีก่อนที่หน้าตั้งค่าเซสชันวอลเล็ตในเครื่องจะหมดอายุ
    ดูต้นฉบับภาษาอังกฤษMilliseconds before local session-wallet setup pages expire.

คำอธิบายแปลอัตโนมัติ ชื่อตัวแปรคงตามต้นฉบับ ถ้าไม่แน่ใจให้ดูต้นฉบับ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Cursor เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ต่อกับ VS Code ได้ แต่ต้องเตรียมก่อน

ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว)

ให้ AI ติดตั้งให้

คัดลอกข้อความนี้ไปวางในแชตของ VS Code AI จะเช็กเครื่อง บอกว่าจะแก้ไฟล์ไหน และรอคุณตกลงก่อนทุกครั้ง

ช่วยติดตั้ง MCP server ชื่อ SugarCasino MCP ให้ VS Code ในเครื่องนี้ ทำตามลำดับ 1) เช็กว่ามี Node.js ด้วยคำสั่ง node -v ถ้าไม่มี ให้บอกฉันไปลงจาก https://nodejs.org/en/download ห้ามลงเอง 2) ใช้คอนฟิกนี้เท่านั้น (ผ่านตัวตรวจของ PopNx MCP แล้ว): { "servers": { "sugarcasino": { "type": "stdio", "command": "npx", "args": [ "-y", "@sugarcasino/mcp" ] } } } 3) บอก path เต็มของไฟล์ที่จะแก้ หรือคำสั่งที่จะรัน แล้วรอฉันตกลงก่อน 4) ไม่ต้องใช้คีย์ 5) ทำตามที่ตกลง แล้วตรวจว่าเครื่องมือของ SugarCasino MCP ขึ้นจริง

ข้อความนี้ไม่มีคีย์ของคุณ ถ้าต้องใช้คีย์ AI จะบอกให้คุณวางเองในไฟล์หรือช่องของแอป

  1. ลง 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

    เปิดหน้าดาวน์โหลด Node.js ↗

    ลงเสร็จแล้ว ปิด Terminal เปิดใหม่ แล้วพิมพ์คำสั่งเดิมอีกครั้ง ต้องขึ้นเลขรุ่น: node -v

    ลงครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Node.js

  2. กดปุ่มนี้เพื่อเปิด VS Code

    เปิดใน VS Code

    VS Code จะถามยืนยันการติดตั้ง ให้กด Install

  3. เปิดแชตของ AI ใน VS Code โหมด Agent

  4. ลองเลย

    ใช้ SugarCasino MCP บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า VS Code บอกว่ากำลังใช้ SugarCasino MCP หรือมีชื่อเครื่องมือของ SugarCasino MCP ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ค่าตั้งเพิ่มเติม 4 ช่อง (ไม่ต้องกรอกก็ใช้ได้)

คำสั่งด้านบนใช้ได้เลยโดยไม่ต้องใส่ค่าเหล่านี้ ถ้าอยากปรับค่อยเพิ่มเองตามคำอธิบายของผู้ทำ

  • SUGAR_MCP_BRIDGE_WEB_URL origin ของแอปเบราว์เซอร์ Custom Sugar MCP สำหรับหน้าจับคู่กระเป๋าเงินและหน้าอนุมัติ
    ดูต้นฉบับภาษาอังกฤษCustom Sugar MCP browser app origin for wallet pairing and approval pages.
  • SUGAR_MCP_BRIDGE_TIMEOUT_MS มิลลิวินาทีก่อนที่บริดจ์การเข้าสู่ระบบ ออกจากระบบ และการอนุมัติของเบราว์เซอร์ในเครื่องจะหมดอายุ
    ดูต้นฉบับภาษาอังกฤษMilliseconds before local browser login, logout, and approval bridges expire.
  • SUGAR_MCP_BRIDGE_MAX_BODY_BYTES ขนาดสูงสุดของเนื้อหา callback แบบ JSON เป็นไบต์สำหรับบริดจ์เบราว์เซอร์ในเครื่อง
    ดูต้นฉบับภาษาอังกฤษMaximum JSON callback body size in bytes for local browser bridges.
  • SUGAR_MCP_SESSION_SETUP_TIMEOUT_MS มิลลิวินาทีก่อนที่หน้าตั้งค่าเซสชันวอลเล็ตในเครื่องจะหมดอายุ
    ดูต้นฉบับภาษาอังกฤษMilliseconds before local session-wallet setup pages expire.

คำอธิบายแปลอัตโนมัติ ชื่อตัวแปรคงตามต้นฉบับ ถ้าไม่แน่ใจให้ดูต้นฉบับ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ VS Code เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

โปรแกรมอื่นที่ใช้ MCP ได้ เช่น Windsurf, Zed หรือ Gemini CLI มีวิธีเพิ่มต่างกัน ดูวิธีของแต่ละตัวในหน้ารวมโปรแกรม

ดูโปรแกรมที่ใช้ MCP ทั้งหมด →

ค่าตั้งแบบไฟล์ JSON อยู่ในหัวข้อ “สำหรับคนเขียนโค้ด” ด้านล่าง

ติดตรงไหน? ถามคนที่ใช้ SugarCasino MCP อยู่💬 พูดคุย →
สำหรับคนเขียนโค้ด: คำสั่ง Terminal และค่าตั้ง JSON

ติดตั้งในเครื่อง

Claude Code

claude mcp add --scope user sugarcasino -- npx -y @sugarcasino/mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "sugarcasino": {
      "command": "npx",
      "args": [
        "-y",
        "@sugarcasino/mcp"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "sugarcasino": {
      "command": "npx",
      "args": [
        "-y",
        "@sugarcasino/mcp"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "sugarcasino": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@sugarcasino/mcp"
      ]
    }
  }
}

ค่าที่ต้องใส่เอง

  • SUGAR_MCP_BRIDGE_WEB_URL env
    origin ของแอปเบราว์เซอร์ Custom Sugar MCP สำหรับหน้าจับคู่กระเป๋าเงินและหน้าอนุมัติ
    ดูต้นฉบับภาษาอังกฤษCustom Sugar MCP browser app origin for wallet pairing and approval pages.
  • SUGAR_MCP_BRIDGE_TIMEOUT_MS env
    มิลลิวินาทีก่อนที่บริดจ์การเข้าสู่ระบบ ออกจากระบบ และการอนุมัติของเบราว์เซอร์ในเครื่องจะหมดอายุ
    ดูต้นฉบับภาษาอังกฤษMilliseconds before local browser login, logout, and approval bridges expire.
  • SUGAR_MCP_BRIDGE_MAX_BODY_BYTES env
    ขนาดสูงสุดของเนื้อหา callback แบบ JSON เป็นไบต์สำหรับบริดจ์เบราว์เซอร์ในเครื่อง
    ดูต้นฉบับภาษาอังกฤษMaximum JSON callback body size in bytes for local browser bridges.
  • SUGAR_MCP_SESSION_SETUP_TIMEOUT_MS env
    มิลลิวินาทีก่อนที่หน้าตั้งค่าเซสชันวอลเล็ตในเครื่องจะหมดอายุ
    ดูต้นฉบับภาษาอังกฤษMilliseconds before local session-wallet setup pages expire.

คำอธิบายแปลอัตโนมัติ ชื่อตัวแปรคงตามต้นฉบับ ถ้าไม่แน่ใจให้ดูต้นฉบับ

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

สรุป

ดาวน์โหลดต่อสัปดาห์i
ไม่มียอดใน npm/PyPI
licensei
Apache-2.0
การเชื่อมต่อ
รันบนเครื่อง
รุ่นล่าสุดi
0.0.1-beta.0
ส่งเข้า registryi
19 พ.ย. 2569
แก้โค้ดล่าสุดi
19 พ.ย. 2569
ผู้ทำ
SugarCasino
แพ็กเกจ
npm: @sugarcasino/mcp
เว็บผู้ทำ
github.com
สถานะใน registry
ใช้งานอยู่

ใช้กับโปรแกรมไหนได้

ดูจากแบบการต่อของ 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 ยืนยันด้วยบัญชี GitHub SugarCasino ซึ่งเป็นเจ้าของ repo

  • ✓ ผ่าน

    ยังมีคนดูแล

    มีการแก้โค้ดล่าสุด วันนี้

  • ✓ ผ่าน

    มีสัญญาอนุญาต (license)

    ใช้ Apache-2.0

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

ช่องโหว่ที่เปิดเผยแล้ว (OSV.dev)

ไม่พบรายการใน OSV.dev สำหรับ @sugarcasino/mcp@0.0.1-beta.0

ตรวจเฉพาะตัวแพ็กเกจรุ่นนี้ ไม่ใช่ทุก dependency · ตรวจเมื่อ 19 พ.ย. 2569

เราตรวจอะไรบ้าง → · JSON

ผู้ทำ: ขอให้ตรวจใหม่ หรือแจ้งข้อมูลผิด
สำหรับผู้ทำ: ติดป้ายใน README

ถ้าคุณเป็นผู้ทำตัวนี้ คัดลอกโค้ดนี้ไปวางใน README ได้เลย ป้ายลิงก์กลับมาที่หน้านี้

[![แนะนำบน PopNx MCP](https://mcp.popnx.com/badge/sugarcasino-mcp.svg?lang=th)](https://mcp.popnx.com/th/servers/sugarcasino-mcp)

พูดคุย

ถาม แชร์เคล็ดลับ หรือแจ้งว่าใช้ไม่ได้ เรียงตามที่คนกดว่ามีประโยชน์

ยังไม่มีใครโพสต์ ถามหรือแชร์เป็นคนแรกได้เลย

ข้อความในส่วนนี้เขียนโดยผู้ใช้ ไม่ใช่ทีม PopNx

เข้าสู่ระบบเพื่อโพสต์

รีวิวจากผู้ใช้

ยังไม่มีรีวิว

เข้าสู่ระบบเพื่อเขียนรีวิว

เทียบกับตัวอื่นในหมวด คริปโตและบล็อกเชนi

  • ดาวมากกว่า 0% ของอีก 1759 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 99% ของอีก 1759 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 99% ของอีก 1759 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

SugarCasino MCP ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 3 จาก 3 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด วันนี้ และส่งรุ่นล่าสุด (0.0.1-beta.0) เข้า registry วันนี้

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี DexSQL, PayRam, DexPaprika, Alchemy MCP Server, X402 List MCP

ตัวอื่นที่ทำงานคล้ายกัน

หมวดเดียวกันจากผู้ทำคนอื่น ผ่านตัวตรวจคำสั่งแล้ว ตัวทางการขึ้นก่อน แล้วเรียงตามดาว

อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

DexSQL

SQL for Android APK and DEX files: classes, methods, strings, references and smali.

โดย LSPosedกำลังโต★ 320อัปเดต 32 วันที่ผ่านมา

รันบนเครื่อง✓ lsposed.org

PayRam

Install, configure, operate and integrate self-hosted PayRam crypto payment gateways.

โดย PayRamกำลังโต★ 158อัปเดต 43 วันที่ผ่านมา

รันบนคลาวด์✓ เจ้าของบริการ · payram.com

DexPaprika

DEX and on-chain data: liquidity pools, token prices, swaps, and trading volume.

โดย coinpaprikaกำลังโต★ 120อัปเดต 6 วันที่ผ่านมา

รันบนคลาวด์✓ เจ้าของบริการ · dexpaprika.com

Alchemy MCP Server

Blockchain data across 100+ chains: token prices, NFTs, transfers, simulation, traces, Solana DAS

โดย alchemyplatformกำลังโต★ 88อัปเดต 8 วันที่ผ่านมา

รันบนคลาวด์✓ เจ้าของบริการ · alchemy.com

X402 List MCP

Find and vet x402 payment APIs before your agent pays one: uptime, price, on-chain volume.

โดย mcccsmเริ่มต้น↓ 80/สัปดาห์★ 18อัปเดต 40 วันที่ผ่านมา

บนเครื่องหรือคลาวด์✓ เจ้าของบริการ · x402-list.com
เทียบกับตัวที่คล้ายกัน
ตัวนี้
SugarCasino MCP
DexSQLPayRamDexPaprikaAlchemy MCP ServerX402 List MCP
ทำงานที่ไหนต้องลงในเครื่องต้องลงในเครื่องใช้บนคลาวด์ ไม่ต้องลงเครื่องใช้บนคลาวด์ ไม่ต้องลงเครื่องใช้บนคลาวด์ ไม่ต้องลงเครื่องมีทั้งบนคลาวด์และแบบลงเครื่อง
ต้องใส่คีย์ไม่ไม่ไม่ไม่ไม่ไม่
กด + ใน Claude ได้ไม่ไม่ไม่ไม่ไม่ไม่
ผลตรวจเบื้องต้น3/32/33/44/44/45/5
สัญญาอนุญาตApache-2.0NOASSERTION–MITMITMIT
ราคาไม่พบค่าใช้จ่ายในทะเบียนไม่พบค่าใช้จ่ายในทะเบียนไม่พบค่าใช้จ่ายในทะเบียนไม่พบค่าใช้จ่ายในทะเบียนไม่พบค่าใช้จ่ายในทะเบียนไม่พบค่าใช้จ่ายในทะเบียน

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

@sugarcasino/mcp

MCP server for agents working with Sugar's provably fair casino games on Sui, SweetHouse pools, NFTs, and referral claims.

  • SDK-backed tools for reading Sugar config and live game metadata
  • Referral claimable-amount reads and unsigned claim builders
  • Unsigned transaction builders for standard Sugar games, PvP Coinflip, and SweetHouse
  • build, dry-run, and read-only modes
  • An MCP App inspector for compatible hosts
  • Text and structured results for other MCP clients

Transactions are unsigned by default. With mode: "execute", the paired Sugar browser wallet asks the user to approve the transaction. Selecting executionWallet: "session" signs and submits with the local session-wallet key stored in the operating-system keychain. Session execution returns the final transaction digest without an approval URL. Balance reads combine all result pages and format amounts using configured or on-chain coin metadata.

Malformed entries in the local session-wallet metadata file are ignored. Malformed recovery phrases raise TypeError. Unsupported private-key schemes and oversized bridge requests raise RangeError. Wallet bridges and session setup validate 32-byte hexadecimal state tokens, then compare the decoded bytes with timing-safe equality. Setup pages display the error message. Operational failures, such as expired sessions or unavailable keychain storage, remain generic errors.

Agent skills

The package includes an agent skill that loads full instructions from main in SugarCasino/agent-skills. It fetches references as needed.

Install the full skills with npx skills add SugarCasino/agent-skills.

Install

Requires Node.js ^24.0.0 || ^26.0.0.

Install for all detected coding agents with add-mcp:

npx add-mcp @sugarcasino/mcp@latest --name sugar

Add -y to skip the installer prompts. Restart or reload your MCP client after installation.

Manual configuration

Add the stdio server to your MCP client:

{

"mcpServers": { "sugar": { "command": "npx", "args": ["-y", "@sugarcasino/mcp@latest"] } } }

Package installation

Install the package directly when you need to import its programmatic API or run a local copy:

npm install @sugarcasino/mcp

The server registers tools and resources through the MCP server and MCP Apps APIs. It targets MCP 2026-07-28. The server and bundled App use MCP SDK 2 and ext-apps 2 and support MCP Apps 1.x hosts.

Older clients that use initialization are also supported. Call startSugarMcpServer() to start stdio, or createSugarMcpServer() to get an McpServer from @modelcontextprotocol/server v2.

Plugins

The package also ships plugin/ manifests for plugin-capable hosts:

  • plugin/.codex-plugin/plugin.json for Codex
  • plugin/.claude-plugin/plugin.json for Claude Code
  • plugin/.cursor-plugin/plugin.json for Cursor
  • plugin/plugin.json for Antigravity-style plugin discovery

The Codex, Claude, and Cursor manifests use the bundled .mcp.json MCP config, which registers the npx -y @sugarcasino/mcp@ stdio server. packages/mcp/package.json supplies the version for plugin manifests, the MCP config package specifier. Run pnpm run codegen:version to sync them; pnpm run changeset:version also runs it.

Repository marketplace catalogs support GitHub installation and local plugin testing:

  • .agents/plugins/marketplace.json for ChatGPT desktop and Codex
  • .claude-plugin/marketplace.json for Claude Code
  • .cursor-plugin/marketplace.json for Cursor multi-plugin repository discovery

For Codex, install the marketplace from GitHub, then install the sugar-mcp plugin:

codex plugin marketplace add SugarCasino/ts-sdks

codex plugin add sugar-mcp@sugar

For Claude Code, use the equivalent GitHub marketplace flow:

claude plugin marketplace add SugarCasino/ts-sdks

claude plugin install sugar-mcp@sugar

Inside an interactive Claude Code session, use /plugin marketplace add SugarCasino/ts-sdks and /plugin install sugar-mcp@sugar instead. For local development, replace SugarCasino/ts-sdks with . in either marketplace-add command. ChatGPT desktop local testing works by opening the repository, restarting the app, opening the Plugins directory in Work mode or Codex, then installing sugar-mcp from the Sugar source.

For Cursor, the repository includes both the plugin manifest and a root .cursor-plugin/marketplace.json for multi-plugin repository flows. During local development, you can also copy or symlink packages/mcp/plugin into Cursor's local plugin directory and reload Cursor. If you only need MCP tools, configure npx -y @sugarcasino/mcp directly. You do not need a plugin wrapper.

Local development

The package uses the shared strict TypeScript checks with isolatedDeclarations disabled so Zod can infer schema and handler types. Run these commands from the repository root.

pnpm turbo run build --filter=@sugarcasino/mcp

node packages/mcp/dist/bin.mjs

This builds the local workspace dependencies, MCP server, and bundled MCP App. Run the generated stdio entrypoint from the repository root for manual client testing.

Tools

  • setup_session_wallet
  • get_session_wallet
  • fund_session_wallet
  • sugar_login
  • sugar_logout
  • get_connection_status
  • read_config
  • read_game_metadata
  • list_nfts
  • get_wallet_balances
  • list_wallet_coins
  • get_execution_status
  • get_referral_commission
  • get_referral_level_up_usd_rewards
  • build_referral_commission_claim_transaction
  • build_referral_level_up_usd_rewards_claim_transaction
  • build_nft_v1_mint_transaction
  • build_sweethouse_deposit_transaction
  • build_sweethouse_redeem_request_transaction
  • build_sweethouse_claim_own_redeem_request_after_delay_transaction
  • build_coinflip_transaction
  • build_keno_transaction
  • build_limbo_transaction
  • build_plinko_transaction
  • build_soccer_transaction
  • build_wheel_transaction
  • build_range_transaction
  • build_pvp_coinflip_create_transaction
  • build_pvp_coinflip_join_transaction
  • build_pvp_coinflip_cancel_transaction

All tools return text in content alongside structuredContent. Known tools return isError: true for invalid inputs and handler failures. Handler errors include text and structured details. An unknown tool name raises a JSON-RPC invalid-params error (-32602).

Hosts that support MCP Apps can display config, live game parameters, the NFT catalog and wallet holdings, referral rewards, SweetHouse plans, and transaction details in the bundled App.

Wallet tools
  • Paired browser wallet
  • sugar_login, sugar_logout, and get_connection_status manage the paired browser wallet.
  • sugar_login and sugar_logout start the same local npx -y @sugarcasino/mcp ... CLI flows used for command-line wallet management, so the pairing page for mainnet or testnet opens in the default browser without copying and pasting a URL.
  • sugar_login and sugar_logout accept webUrl, timeoutMs, maxBodyBytes, open, and noOpen inputs matching the CLI bridge options.
  • get_wallet_balances and list_wallet_coins read aggregate balances or paginated coin objects. Both also accept an explicit address.
  • get_execution_status checks an execute-mode transaction's browser approval result.
  • Local session wallet
  • setup_session_wallet opens a local, one-time setup page to create or recover one persistent session wallet shared by mainnet and testnet.
  • Set SUGAR_MCP_SESSION_SETUP_TIMEOUT_MS to control how long local setup pages remain available. The built-in default is 600000.
  • It does not require a paired browser wallet, and its recovery phrase never passes through MCP.
  • The local setup page can also import a standard suiprivkey... export. It never passes through MCP or the session-wallet JSON file.
  • Store the signing key in the operating-system keychain without a separate application passphrase. Do not use custom encrypted files. Use a dedicated wallet with a small balance to limit the funds the session can spend.
  • MCP keeps one active session wallet. Restarting MCP automatically uses that same keychain entry; importing or recovering another wallet requires explicit replacement confirmation. Keep the original recovery phrase/private-key backup to restore it later.
  • get_session_wallet returns the public address, formatted balances, and a funding QR code. If a wallet is paired on the selected network, it also returns a prefilled funding URL.
  • fund_session_wallet requires a paired wallet and opens a prefilled mcp-website transfer form. The user chooses an owned coin and amount, then reviews and signs the transfer in their browser.
  • In an App-capable host, it displays a dedicated Session Wallet view with balances for the selected network, a funding QR code, and a paired-wallet funding link when available. If no wallet exists, the same view provides the local setup link.
  • Fund only the amount the user is willing to delegate to the local MCP process.
  • For game tools, use mode: "execute", executionWallet: "session" to make the session wallet the sender and submit immediately. owner is optional in this mode; if supplied, it must match the session-wallet address. Fund it for both the wager and gas. You can set a custom provider URL and partner; custom SDK config overrides are rejected. Before signing, the server verifies that the built transaction calls only the selected Sugar game package.
  • Command-line wallet management
  • Run npx -y @sugarcasino/mcp login --network testnet (or mainnet), status, logout, or clean.
  • Login uses a short-lived, localhost-only browser pairing flow and stores non-secret network-specific metadata in ~/.sugar-mcp/credentials.json with owner-only permissions.
  • status shows the current connection. logout --all disconnects every stored network and opens both logout pages when using the default Sugar mainnet and testnet web origins. clean deletes the local credential file without opening a browser.
  • Set SUGAR_MCP_BRIDGE_WEB_URL or pass --web-url to use a local or custom connection-page origin.
  • Set SUGAR_MCP_BRIDGE_TIMEOUT_MS or pass --timeout-ms to control how long login, logout, and approval bridges wait before expiring. The default is 300000.
  • Set SUGAR_MCP_BRIDGE_MAX_BODY_BYTES or pass --max-body-bytes to control the maximum browser callback JSON body size. The default is 16384.
  • Bridge URLs open automatically by default. Pass --no-open for CLI login or logout when you only want the URL or URLs printed.
  • The MCP client discovers tools through the protocol.
Read tools
  • read_config, read_game_metadata, list_nfts, wallet balance/coin reads, execution status, and the referral amount reads are read-only.
  • SDK-backed reads accept shared network, provider, SDK config, and partner inputs.
  • read_game_metadata also requires game. NFT and referral reads also require an owner address or SuiNS name.
  • Referral reads simulate the SDK's real claim transaction and return 0 when it cannot be claimed or simulated.
  • get_referral_commission accepts an optional coinType (defaulting to configured SUI); level-up USD rewards use configured USDC.

In hosts that support Apps, the NFT view has separate tables for the catalog and owned NFTs. It shows HTTPS NFT images as thumbnails and keeps unavailable or unsupported image URLs as text. Referral reads open a Referral Rewards view showing the referrer, reward type, coin type and simulated claimable amount.

Transaction tools

All transaction tools accept the shared config inputs and support these mode values:

  • read-only: resolves SDK config and returns t

ตัดมาแค่ช่วงต้น อ่านต่อใน repo