# Suigar TypeScript SDKs

**Category:** 🎮 Gaming  
**Repository:** https://github.com/Suigar-Gaming/ts-sdks  
**GitHub Stars:** 0  
**npm Downloads (last month):** 1460  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/mcp-206

## Description
MCP server and MCP App for building and inspecting Suigar transactions on Sui.

## Tools
Capabilities this server exposes over MCP:

- **read_config** — Resolve Suigar config for the target network, defaulting to testnet.
- **read_game_metadata** — Read Suigar game metadata, on-chain settings metadata, and optional currency metadata.
- **build_coinflip_transaction** — Build, dry-run, or inspect a Suigar coinflip transaction on testnet by default.
- **build_limbo_transaction** — Build, dry-run, or inspect a Suigar limbo transaction.
- **build_plinko_transaction** — Build, dry-run, or inspect a Suigar plinko transaction.
- **build_wheel_transaction** — Build, dry-run, or inspect a Suigar wheel transaction.
- **build_range_transaction** — Build, dry-run, or inspect a Suigar range transaction.
- **build_pvp_coinflip_create_transaction** — Build, dry-run, or inspect a Suigar PvP coinflip create transaction.
- **build_pvp_coinflip_join_transaction** — Build, dry-run, or inspect a Suigar PvP coinflip join transaction.
- **build_pvp_coinflip_cancel_transaction** — Build, dry-run, or inspect a Suigar PvP coinflip cancel transaction.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "suigar-typescript-sdks": {
    "command": "npx",
    "args": ["-y","@suigar/mcp"]
  }
}
```

## Documentation

## What Suigar TypeScript SDKs does

Suigar TypeScript SDKs provides two related packages for working with Suigar contracts on Sui. The `@suigar/sdk` package is an ESM-only TypeScript SDK covering Suigar provably fair on-chain casino game, SweetHouse, NFT, and referral transactions. The `@suigar/mcp` package exposes that functionality through an MCP stdio server and MCP App.

The MCP package is intended for agent workflows that need to read Suigar data or prepare transaction payloads. It can read Suigar configuration, game metadata, NFTs, and claimable referral amounts. It can also build unsigned Suigar and SweetHouse transactions for later handling by another part of an application or workflow.

## How it works

An MCP client starts `@suigar/mcp` as a local stdio process. Agents communicate with the process through MCP, while the server uses the Suigar TypeScript SDK to access the supported Sui contract functionality. The repository also includes an MCP App for the same Suigar-focused workflows.

The server is useful for inspection and transaction construction. Its documented transaction workflow produces unsigned transactions, so the server is suited to preparing or simulating transaction activity rather than representing a complete signing flow.

## Setup and configuration

Install the package for detected coding agents with:

```bash
npx add-mcp @suigar/mcp@latest --name suigar
```

Add `-y` to skip installer prompts, then restart or reload the MCP client. Manual configuration uses the following stdio entry:

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

The SDK and MCP package are published through npm and JSR. Agent skills are available separately from the `Suigar-Gaming/agent-skills` repository; the `suigar-mcp` skill covers installation and configuration and can be installed with `npx skills`.

## Tools and capabilities

The MCP package supports workflows for:

- Reading Suigar configuration and game metadata.
- Inspecting Suigar NFTs.
- Checking claimable referral amounts.
- Building unsigned Suigar transactions through the SDK.
- Building unsigned SweetHouse transactions.
- Simulating unsigned transactions, including SweetHouse transactions, through the documented agent skill workflow.

The underlying SDK also covers transaction types associated with Suigar casino games, SweetHouse, NFTs, and referrals.

## Limitations and notes

The server is focused on Suigar contracts and Sui. Its documented transaction-building operations create unsigned transactions; signing and submitting those transactions are separate concerns. The MCP package runs as a stdio server, so the client must support launching a local MCP process. The SDK package is ESM-only for TypeScript consumers.

_Full upstream README: https://allmcps.com/mcp/mcp-206/readme_

