0.1.1 • Published 7 months ago

@jasonruan/sui-mcp v0.1.1

Weekly downloads
-
License
-
Repository
-
Last release
7 months ago

SuiMCP

An MCP server for the Sui network which can access data on the Sui network, and interface with your local Sui CLI.

Usage

To get started, run the following init command to setup SuiMCP:

npx @jasonruan/sui-mcp@latest init

✔ Do you want to import your accounts from the Sui CLI? No
To use SuiMCP, you need to import an account. Enter a private key below, or leave empty to generate a new one
✔ Private Key **********************************************************************
Initialized SuiMCP with account 0xfbe1d8ae7a6ca3f94d670c57307376619696feb9b43069e55e53ae088b98ef8c

This will setup the Wallet that you'll use to interact with the chain. You can then configure your client with the following MCP configuration:

{
  "mcpServers": {
    "suiMcp": {
      "command": "npx",
      "args": ["@jasonruan/sui-mcp@latest", "start"]
    }
  }
}

Here's the MCP documentation for popular clients:

Building Move

To build Move packages, you'll to have the Sui CLI installed and setup before you can use SuiMCP. You can follow the directions here: Sui CLI.

Features

Tools

  • get_default_address - Get the default wallet address
  • list_addresses - List all addresses available for the current wallet
  • set_default_address - Set the default address of the wallet
  • get_balance - Get the balance of a specific coin type for a wallet
  • get_all_balances - Get all balances for a wallet
  • get_owned_coin_objects - Get coin objects owned by a wallet, by coin type
  • get_object - Get an object by its ID
  • get_owned_objects - Get objects owned by a wallet
  • get_transaction - Get a transaction by its ID
  • build_move_package - Build a Sui Move package to bytecode
  • test_move_package - Test a Sui Move package
  • publish_move_package - Publish a Sui Move package to the Sui blockchain. This tool will also run Move build and Move test.
0.1.1

7 months ago

0.1.0

7 months ago

0.0.26

7 months ago

0.0.25

7 months ago

0.0.24

8 months ago

0.0.23

8 months ago

0.0.22

8 months ago

0.0.21

8 months ago

0.0.20

8 months ago

0.0.19

8 months ago

0.0.18

8 months ago

0.0.17

8 months ago

0.0.16

8 months ago

0.0.15

8 months ago

0.0.14

8 months ago

0.0.13

8 months ago

0.0.12

8 months ago

0.0.11

8 months ago

0.0.10

8 months ago

0.0.9

8 months ago

0.0.8

8 months ago

0.0.7

8 months ago

0.0.6

8 months ago

0.0.5

8 months ago