Joinable
Make any game joinable: pick the pattern, get the snippet, run a two-player self-test.
作者提供的说明(英文原文)
AI agent MCP server for Suigar casino game, SweetHouse, NFT, and referral transactions.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 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": "your-value",
"SUIGAR_MCP_BRIDGE_TIMEOUT_MS": "your-value",
"SUIGAR_MCP_BRIDGE_MAX_BODY_BYTES": "your-value",
"SUIGAR_MCP_SESSION_SETUP_TIMEOUT_MS": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add suigar-gaming --env SUIGAR_MCP_BRIDGE_WEB_URL=your-value --env SUIGAR_MCP_BRIDGE_TIMEOUT_MS=your-value --env SUIGAR_MCP_BRIDGE_MAX_BODY_BYTES=your-value --env SUIGAR_MCP_SESSION_SETUP_TIMEOUT_MS=your-value -- 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": "your-value",
"SUIGAR_MCP_BRIDGE_TIMEOUT_MS": "your-value",
"SUIGAR_MCP_BRIDGE_MAX_BODY_BYTES": "your-value",
"SUIGAR_MCP_SESSION_SETUP_TIMEOUT_MS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"suigar-gaming": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@suigar/mcp"
],
"env": {
"SUIGAR_MCP_BRIDGE_WEB_URL": "your-value",
"SUIGAR_MCP_BRIDGE_TIMEOUT_MS": "your-value",
"SUIGAR_MCP_BRIDGE_MAX_BODY_BYTES": "your-value",
"SUIGAR_MCP_SESSION_SETUP_TIMEOUT_MS": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
SUIGAR_MCP_BRIDGE_WEB_URL envSUIGAR_MCP_BRIDGE_TIMEOUT_MS envSUIGAR_MCP_BRIDGE_MAX_BODY_BYTES envSUIGAR_MCP_SESSION_SETUP_TIMEOUT_MS env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
注册名称已通过 GitHub 账户 Suigar-Gaming 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(1.0.0-beta.33)于前天进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Joinable, Castos MCP by usefulapi, RSS.com MCP by usefulapi
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Make any game joinable: pick the pattern, get the snippet, run a two-player self-test.
Read podcasts and episodes; create and update episodes; manage private subscribers in Castos.
Read podcasts and episodes; create and edit episodes, chapters and transcripts in RSS.com.
按原文从作者的仓库复制。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
只显示了开头部分;其余内容请在仓库中阅读