Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
AI agent MCP server for Suigar casino game, SweetHouse, NFT, and referral transactions.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
SUIGAR_MCP_BRIDGE_WEB_URL, SUIGAR_MCP_BRIDGE_TIMEOUT_MS, SUIGAR_MCP_BRIDGE_MAX_BODY_BYTES, SUIGAR_MCP_SESSION_SETUP_TIMEOUT_MSต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"suigar-gaming": {
"command": "npx",
"args": [
"-y",
"@suigar/mcp"
],
"env": {
"SUIGAR_MCP_BRIDGE_WEB_URL": "ใส่ค่าของคุณ",
"SUIGAR_MCP_BRIDGE_TIMEOUT_MS": "ใส่ค่าของคุณ",
"SUIGAR_MCP_BRIDGE_MAX_BODY_BYTES": "ใส่ค่าของคุณ",
"SUIGAR_MCP_SESSION_SETUP_TIMEOUT_MS": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add suigar-gaming --env SUIGAR_MCP_BRIDGE_WEB_URL='ใส่ค่าของคุณ' --env SUIGAR_MCP_BRIDGE_TIMEOUT_MS='ใส่ค่าของคุณ' --env SUIGAR_MCP_BRIDGE_MAX_BODY_BYTES='ใส่ค่าของคุณ' --env SUIGAR_MCP_SESSION_SETUP_TIMEOUT_MS='ใส่ค่าของคุณ' -- npx -y @suigar/mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"suigar-gaming": {
"command": "npx",
"args": [
"-y",
"@suigar/mcp"
],
"env": {
"SUIGAR_MCP_BRIDGE_WEB_URL": "ใส่ค่าของคุณ",
"SUIGAR_MCP_BRIDGE_TIMEOUT_MS": "ใส่ค่าของคุณ",
"SUIGAR_MCP_BRIDGE_MAX_BODY_BYTES": "ใส่ค่าของคุณ",
"SUIGAR_MCP_SESSION_SETUP_TIMEOUT_MS": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"suigar-gaming": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@suigar/mcp"
],
"env": {
"SUIGAR_MCP_BRIDGE_WEB_URL": "ใส่ค่าของคุณ",
"SUIGAR_MCP_BRIDGE_TIMEOUT_MS": "ใส่ค่าของคุณ",
"SUIGAR_MCP_BRIDGE_MAX_BODY_BYTES": "ใส่ค่าของคุณ",
"SUIGAR_MCP_SESSION_SETUP_TIMEOUT_MS": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
SUIGAR_MCP_BRIDGE_WEB_URL envSUIGAR_MCP_BRIDGE_TIMEOUT_MS envSUIGAR_MCP_BRIDGE_MAX_BODY_BYTES envSUIGAR_MCP_SESSION_SETUP_TIMEOUT_MS envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub Suigar-Gaming ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.0.0-beta.33) เข้า registry เมื่อวาน
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Master CSS
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Inspect Master CSS classes, generated CSS, and project stylesheets from your AI client.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
@suigar/mcpMCP server for agents working with Suigar’s provably fair casino games on Sui, SweetHouse pools, NFTs, and referral claims.
build, dry-run, and read-only modesTransactions remain unsigned by default. mode: "execute" uses the paired Suigar browser wallet and opens an explicit approval request unless executionWallet: "session" is selected. Session execution signs and submits directly from the local session-wallet key held in the operating-system keychain; it returns the final transaction digest without an approval URL. Wallet balance reads aggregate all result pages and display human-readable amounts using configured or on-chain coin metadata.
Wallet validation uses TypeError for malformed recovery phrases and RangeError for unsupported private-key schemes or oversized bridge requests. Wallet bridges and session setup validate 32-byte hexadecimal state tokens and compare their decoded bytes using timing-safe equality. Wallet setup pages continue to display the error message; operational failures such as expired sessions and unavailable keychain storage remain generic errors.
Runtime requirement:
^24.0.0 || ^26.0.0.Install for all detected coding agents with add-mcp:
npx add-mcp @suigar/mcp@latest --name suigar
Add -y to skip the installer prompts. Restart or reload your MCP client after installation.
To add the stdio server to an MCP client yourself, use:
{
"mcpServers": { "suigar": { "command": "npx", "args": ["-y", "@suigar/mcp@latest"] } } }
Install the package directly when you need to import its programmatic API or run a local copy:
npm install @suigar/mcp
The package is also published on JSR for programmatic imports:
pnpm add jsr:@suigar/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.
The stdio server supports MCP 2026-07-28 and older clients that use initialization. Call startSuigarMcpServer() to start stdio, or createSuigarMcpServer() to get an McpServer from @modelcontextprotocol/server v2.
The package also ships plugin/ manifests for plugin-capable hosts:
plugin/.codex-plugin/plugin.json for Codexplugin/.claude-plugin/plugin.json for Claude Codeplugin/.cursor-plugin/plugin.json for Cursorplugin/plugin.json for Antigravity-style plugin discoveryThe Codex, Claude, and Cursor manifests use the bundled .mcp.json MCP config, which registers the npx -y @suigar/mcp@ stdio server. Plugin manifest versions, the MCP config package specifier, and package-local JSR config versions are kept in sync with packages/mcp/package.json by pnpm run codegen:version, which also runs during pnpm run changeset:version.
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 discoveryFor Codex, install the marketplace from GitHub, then install the suigar-mcp plugin:
codex plugin marketplace add Suigar-Gaming/ts-sdks
codex plugin add suigar-mcp@suigar
For Claude Code, use the equivalent GitHub marketplace flow:
claude plugin marketplace add Suigar-Gaming/ts-sdks
claude plugin install suigar-mcp@suigar
Inside an interactive Claude Code session, use /plugin marketplace add Suigar-Gaming/ts-sdks and /plugin install suigar-mcp@suigar instead. For local development, replace Suigar-Gaming/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 suigar-mcp from the Suigar 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, direct MCP configuration with npx -y @suigar/mcp is simpler and does not require the plugin wrapper.
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=@suigar/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.
setup_session_walletget_session_walletfund_session_walletsuigar_loginsuigar_logoutget_connection_statusread_configread_game_metadatalist_nftsget_wallet_balanceslist_wallet_coinsget_execution_statusget_referral_commissionget_referral_level_up_usd_rewardsbuild_referral_commission_claim_transactionbuild_referral_level_up_usd_rewards_claim_transactionbuild_nft_v1_mint_transactionbuild_sweethouse_deposit_transactionbuild_sweethouse_redeem_request_transactionbuild_sweethouse_claim_own_redeem_request_after_delay_transactionbuild_coinflip_transactionbuild_keno_transactionbuild_limbo_transactionbuild_plinko_transactionbuild_soccer_transactionbuild_wheel_transactionbuild_range_transactionbuild_pvp_coinflip_create_transactionbuild_pvp_coinflip_join_transactionbuild_pvp_coinflip_cancel_transactionAll 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.
suigar_login, suigar_logout, and get_connection_status manage the paired browser wallet.suigar_login and suigar_logout start the same local npx -y @suigar/mcp ... CLI flows used for command-line wallet management, so the correct mainnet or testnet pairing page opens in the default browser instead of requiring manual URL copy/paste.suigar_login and suigar_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.setup_session_wallet opens a local, one-time setup page to create or recover one persistent session wallet shared by mainnet and testnet.SUIGAR_MCP_SESSION_SETUP_TIMEOUT_MS to control how long local setup pages remain available. The built-in default is 600000.suiprivkey... export. It never passes through MCP or the session-wallet JSON file.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.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. Ensure it is funded 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 Suigar game package.npx -y @suigar/mcp login --network testnet (or mainnet), status, logout, or clean.~/.suigar-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 Suigar mainnet and testnet web origins. clean deletes the local credential file without opening a browser.SUIGAR_MCP_BRIDGE_WEB_URL or pass --web-url to use a local or custom connection-page origin.SUIGAR_MCP_BRIDGE_TIMEOUT_MS or pass --timeout-ms to control how long login, logout, and approval bridges wait before expiring. The default is 300000.SUIGAR_MCP_BRIDGE_MAX_BODY_BYTES or pass --max-body-bytes to control the maximum browser callback JSON body size. The default is 16384.--no-open for CLI login or logout when you only want the URL or URLs printed.read_config, read_game_metadata, list_nfts, wallet balance/coin reads, execution status, and the referral amount reads are read-only.read_game_metadata additionally requires game; the NFT and referral reads additionally require an owner address or SuiNS name.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 an App-capable host, the NFT view presents catalog and owned-NFT tables separately. HTTPS NFT image URLs are displayed as thumbnails, while unavailable or unsupported image URLs remain visible as text. Referral reads render a dedicated Referral Rewards view with the referrer, reward type, coin type, and simulated claimable amount.
All transaction tools accept the shared config inputs and support these mode
ตัดมาแค่ช่วงต้น อ่านต่อใน repo