Listed from the MCP registry; nobody on Odel publishes it.

MCP server: One MCP server.

SugarCasino MCP

@sugarcasinoRun by its publisher: served from their own domain, namespace checked by the registry.MCP server · External

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

Blockchain datav0.0.1-beta.0Apache-2.0TypeScript
Freeno charge per call

Runs on your machine from its package; the steps are below.

What it does

  1. Reads
  2. Writes
  3. High impact

At most: moves money, runs code or commands, deletes data, or sends messages for you.

What it costs

Free

Odel charges nothing per call. The publisher may charge for its own service.

Runs locally over stdio

This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).

npm@sugarcasino/mcpv0.0.1-beta.0

Run

npx -y @sugarcasino/mcp

MCP client config

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

Sugar TypeScript SDKs

Build Sugar transactions on Sui with the TypeScript SDK or MCP server, and render Suifrens with the React display library.

Documentation

Install the MCP server

Install Sugar MCP for all detected coding agents with add-mcp:

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

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

To configure an MCP client manually, use:

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

Agent skills

Each public npm package includes an entry under skills/: sugar-sdk, sugar-mcp, or suifrens-display-system. Compatible agents discover these entries and fetch the full instructions and references they need from main in the skills repository. Agent skills are not versioned with the packages. Packing the entries needs no install hook or network access.

Sugar agent skills live in SugarCasino/agent-skills. The MCP skill explains how to install and configure @sugarcasino/mcp, read Sugar config, game metadata, NFTs and claimable referral amounts, and build and simulate unsigned transactions, including SweetHouse transactions.

Install all Sugar skills with:

bash
npx skills add SugarCasino/agent-skills --global --yes

Install only the MCP skill with:

bash
npx skills add SugarCasino/agent-skills --skill sugar-mcp --global --yes

Packages

The npm scope is @sugarcasino. Use it for package installation and all public imports, including subpaths. The client extension remains sugar() and client.sugar.

  • @sugarcasino/sdk in packages/sdk: ESM-only TypeScript SDK for transactions involving Sugar's provably fair casino games on Sui, SweetHouse, NFTs and referrals.
  • @sugarcasino/mcp in packages/mcp: MCP stdio server and MCP App for reading Sugar config, game metadata, NFTs, and referral claim amounts, plus building unsigned Sugar and SweetHouse transactions through the SDK.
  • @sugarcasino/suifrens-display-system in packages/suifrens-display-system: React components for rendering Suifrens.

Development

Run these commands from the repository root.

Use turbo when a task needs generated files or build output. It runs the prerequisite tasks first.

Setup

Use the Node.js version specified in .node-version. GitHub Actions reads the same file through the shared pnpm setup action.

bash
pnpm install
pnpm run build

Dependency install scripts are disabled by default in pnpm-workspace.yaml. Review any new dependency's install or build script before approving it with pnpm approve-builds. Transitive dependencies cannot resolve untrusted git or tarball URLs.

Building

bash
pnpm run build
# or
pnpm turbo run build

Unit tests

bash
pnpm run test
# or
pnpm turbo run test

Type checking

Workspace packages inherit the strict checks in tsconfig.shared.json. It disables isolatedDeclarations because generated SDK bindings lack the required annotations and MCP relies on Zod to infer schema and handler types. SDK and MCP keep the other shared strict checks.

bash
pnpm run typecheck
# or
pnpm turbo run typecheck

Linting

This repo uses Oxlint and Oxfmt for linting and formatting.

bash
pnpm run lint

Apply automatic fixes with:

bash
pnpm run lint:fix

To run Oxlint and Oxfmt individually, use:

bash
pnpm run oxlint
pnpm run oxfmt
pnpm run oxlint:fix
pnpm run oxfmt:fix

Similar modules

Browse Blockchain data