npm @suigar/mcpstdioApache-2.0updated 8d ago
A collection of TypeScript SDKs and MCP tooling for interacting with the Suigar contracts.
Suigar Gaming で何ができる?
Suigar TypeScript SDKs
A collection of TypeScript SDKs and MCP tooling for interacting with the Suigar contracts.
Documentation
For SDK documentation, visit suigar.com/docs/sdk.
For MCP documentation, visit suigar.com/docs/mcp.
For Sui TypeScript SDK documentation, visit sdk.mystenlabs.com.
Install the MCP server
Install Suigar MCP 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 configure an MCP client manually, use:
{
"mcpServers": {
"suigar": {
"command": "npx",
"args": ["-y", "@suigar/mcp@latest"]
}
}
}
Agent Skills
Suigar agent skills live in the separate Suigar-Gaming/agent-skills repository. The MCP-focused skill teaches agents how to install, configure, and operate @suigar/mcp for Suigar config reads, game metadata, NFT lookups, referral claim reads, SweetHouse transaction builders, unsigned transaction builders, and dry-runs.
Install all Suigar skills with:
npx skills add Suigar-Gaming/agent-skills --global --yes
Install only the MCP skill with:
npx skills add Suigar-Gaming/agent-skills --skill suigar-mcp --global --yes
Packages
@suigar/sdkinpackages/sdk: ESM-only TypeScript SDK for Suigar provably fair on-chain Sui casino game, SweetHouse, NFT, and referral transactions.@suigar/mcpinpackages/mcp: MCP stdio server and MCP App for reading Suigar config, game metadata, NFTs, and referral claim amounts, plus building unsigned Suigar and SweetHouse transactions through the SDK.
Public packages are published to both npm and JSR.
Development
Any of the following commands can be run at the root of the project.
When running a task that depends on generated or built artifacts, use turbo to ensure task dependencies are run first.
Setup
pnpm install
pnpm run build
Dependency install scripts are disabled by default in pnpm-workspace.yaml. If a new dependency needs an install or build script, explicitly review it before approving it with pnpm approve-builds. Transitive dependencies are also blocked from resolving untrusted git or tarball URLs.
Building
pnpm run build
# or
pnpm turbo run build
Unit Tests
For unit tests:
pnpm run test
# or
pnpm turbo run test
Type Checking
pnpm run typecheck
# or
pnpm turbo run typecheck
Linting
This repo uses Oxlint and Oxfmt for linting and formatting.
pnpm run lint
You can automatically fix many lint issues by running:
pnpm run lint:fix
To run Oxlint and Oxfmt individually, use:
pnpm run oxlint
pnpm run oxfmt
pnpm run oxlint:fix
pnpm run oxfmt:fix
インストール
Suigar Gaming をクライアントに追加します。お使いのものを選んでください。
claude mcp add mcp -- npx -y @suigar/mcpcodex mcp add mcp -- npx -y @suigar/mcpamp mcp add mcp -- npx -y @suigar/mcp{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@suigar/mcp"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@suigar/mcp"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"mcp","command":"npx","args":["-y","@suigar/mcp"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@suigar/mcp"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@suigar/mcp"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@suigar/mcp"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"mcp": {
"type": "local",
"command": "npx",
"args": [
"-y",
"@suigar/mcp"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"mcp": {
"command": {
"path": "npx",
"args": [
"-y",
"@suigar/mcp"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y @suigar/mcpRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
スコア
39 / 100
情報不足
- ドキュメント18/25
- メンテナンス25/25
- 信頼性16/20
- 機能0/15
- 導入のしやすさ12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 0 days ago
- Has a release history
- Repository is not archived
- Licensed Apache-2.0
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
バージョン履歴
| バージョン | 公開日 |
|---|---|
| 1.0.0-beta.27最新 | 2026年8月31日 |
| 1.0.0-beta.25 | 2026年8月20日 |
| 1.0.0-beta.24 | 2026年8月13日 |
| 1.0.0-beta.23 | 2026年8月13日 |
| 1.0.0-beta.22 | 2026年8月12日 |
| 1.0.0-beta.21 | 2026年8月12日 |
| 1.0.0-beta.20 | 2026年8月6日 |