Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words

SugarCasino MCP

✓ Brand-named GitHub · github.com/sugarcasino

by SugarCasinoversion 0.0.1-beta.0i★ 0iRuns on your computerRepository ↗
Registry nameio.github.SugarCasino/mcp

How to install

What it does

AI agent MCP server for Sugar casino game, SweetHouse, NFT, and referral transactions.

  • Connects Runs on your computer
  • Account or key No key needed
  • Category Crypto & blockchain

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity0/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score12/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install SugarCasino MCP. Follow https://mcp.popnx.com/i/sugarcasino-mcp.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 19, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server SugarCasino MCP for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "sugarcasino": { "command": "npx", "args": [ "-y", "@sugarcasino/mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the SugarCasino MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  3. Paste these settings and save the file

    {
      "mcpServers": {
        "sugarcasino": {
          "command": "npx",
          "args": [
            "-y",
            "@sugarcasino/mcp"
          ]
        }
      }
    }
  4. Quit Claude and open it again

  5. Try it

    Use SugarCasino MCP and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using SugarCasino MCP or shows a SugarCasino MCP tool in the answer, you are connected

4 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • SUGAR_MCP_BRIDGE_WEB_URL 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 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.

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect SugarCasino MCP yet

SugarCasino MCP runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect SugarCasino MCP

  • Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • Install Node.js on your computer first (one time)
  • Install Node.js on your computer first (one time)
  • Install Node.js on your computer first (one time)

B · Others in Crypto & blockchain that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server SugarCasino MCP for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user sugarcasino -- npx -y @sugarcasino/mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the SugarCasino MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  3. Paste this command and press Enter

    claude mcp add --scope user sugarcasino -- npx -y @sugarcasino/mcp
  4. Type /mcp in Claude Code

    You should see SugarCasino MCP listed as connected

  5. Try it

    Use SugarCasino MCP and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using SugarCasino MCP or shows a SugarCasino MCP tool in the answer, you are connected

4 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • SUGAR_MCP_BRIDGE_WEB_URL 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 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.

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server SugarCasino MCP for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "sugarcasino": { "command": "npx", "args": [ "-y", "@sugarcasino/mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the SugarCasino MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  3. Open the AI chat in Cursor in Agent mode

  4. Try it

    Use SugarCasino MCP and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using SugarCasino MCP or shows a SugarCasino MCP tool in the answer, you are connected

4 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • SUGAR_MCP_BRIDGE_WEB_URL 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 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.

Descriptions are as written by the maker.

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server SugarCasino MCP for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "sugarcasino": { "type": "stdio", "command": "npx", "args": [ "-y", "@sugarcasino/mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the SugarCasino MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  3. Open the AI chat in VS Code in Agent mode

  4. Try it

    Use SugarCasino MCP and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using SugarCasino MCP or shows a SugarCasino MCP tool in the answer, you are connected

4 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • SUGAR_MCP_BRIDGE_WEB_URL 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 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.

Descriptions are as written by the maker.

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use SugarCasino MCP💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

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"
      ]
    }
  }
}

Values you fill in

  • SUGAR_MCP_BRIDGE_WEB_URL env
    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
    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.

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
Not on npm/PyPI
Licencei
Apache-2.0
Connection
Runs on your computer
Latest versioni
0.0.1-beta.0
Published to registryi
Nov 19, 2026
Code last changedi
Nov 19, 2026
Maker
SugarCasino
Packages
npm: @sugarcasino/mcp
Website
github.com
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 19, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account SugarCasino, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed today

  • ✓ Pass

    Has a licence

    Uses Apache-2.0

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

No entries on OSV.dev for @sugarcasino/mcp@0.0.1-beta.0

Checks only this package version, not every dependency · checked Nov 19, 2026

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/sugarcasino-mcp.svg)](https://mcp.popnx.com/en/servers/sugarcasino-mcp)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Crypto & blockchaini

  • More stars than 0% of the other 1759 servers in this category
  • Published to the registry more recently than 99% of the other 1759 servers in this category
  • Basic checks equal to or better than 99% of the other 1759 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is SugarCasino MCP safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed today, and the latest version (0.0.1-beta.0) reached the registry today.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: DexSQL, PayRam, DexPaprika, Alchemy MCP Server, X402 List MCP

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

DexSQL

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

by LSPosedGrowing★ 320Updated 32 days ago

Runs on your computer✓ lsposed.org

PayRam

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

by PayRamGrowing★ 158Updated 43 days ago

Runs in the cloud✓ service owner · payram.com

DexPaprika

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

by coinpaprikaGrowing★ 120Updated 6 days ago

Runs in the cloud✓ service owner · dexpaprika.com

X402 List MCP

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

by mcccsmEarly↓ 80/wk★ 18Updated 40 days ago

Computer or cloud✓ service owner · x402-list.com
Compared with similar ones
This one
SugarCasino MCP
DexSQLPayRamDexPaprikaAlchemy MCP ServerX402 List MCP
Runs whereInstalls on your computerInstalls on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installCloud or install on your computer
Needs a keyNoNoNoNoNoNo
Add with + in ClaudeNoNoNoNoNoNo
Basic checks3/32/33/44/44/45/5
LicenseApache-2.0NOASSERTION–MITMITMIT
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

@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

Only the beginning is shown; read the rest in the repo