A collection of TypeScript SDKs and MCP tooling for interacting with the Suigar contracts.
For SDK documentation, visit docs.suigar.com/sdk.
For MCP documentation, visit docs.suigar.com/mcp.
For Sui TypeScript SDK documentation, visit sdk.mystenlabs.com.
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, unsigned
transaction builders, and dry-runs.
Install all Suigar skills with:
npx skills add Suigar-Gaming/agent-skills --global --yesInstall only the MCP skill with:
npx skills add Suigar-Gaming/agent-skills --skill suigar-mcp --global --yesThen configure your MCP client to run the published server:
{
"mcpServers": {
"suigar": {
"command": "npx",
"args": ["-y", "@suigar/mcp"]
}
}
}Restart or reload the MCP client after changing its config.
@suigar/sdkinpackages/sdk: ESM-only TypeScript SDK for Suigar v2 Move contracts.@suigar/mcpinpackages/mcp: MCP stdio server and MCP App for reading Suigar config and building unsigned Suigar transactions through the SDK.
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.
pnpm install
pnpm buildDependency 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.
pnpm build
# or
pnpm turbo buildFor unit tests:
pnpm test
# or
pnpm turbo testpnpm typecheck
# or
pnpm turbo typecheckThis repo uses ESLint and Prettier for linting.
pnpm lintYou can automatically fix many lint issues by running:
pnpm lint:fixTo run ESLint and Prettier individually, use:
pnpm eslint
pnpm prettier
pnpm eslint:fix
pnpm prettier:fix