sui-mcp-server

v0.4.2
io.github.ExpertVagabond/sui-mcp-server Checked 2 days ago Published 8 months ago

53-tool MCP server for Sui blockchain — wallets, DeFi, Move contracts, staking, SuiNS, analytics

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

create_wallet

Create a new Sui wallet (Ed25519 keypair). Keys are held in memory only.

ParameterTypeDescription
name *stringWallet name (alphanumeric, hyphens, underscores)

import_wallet

Import a Sui wallet from a Bech32-encoded private key (suiprivkey...).

ParameterTypeDescription
name *stringWallet name
privateKey *stringBech32 private key (suiprivkey...)

list_wallets

List all wallets managed in this session.

get_balance

Get SUI balance for an address.

ParameterTypeDescription
address *stringSui address (0x...)

get_all_balances

Get all coin balances for an address (SUI and all other coin types).

ParameterTypeDescription
address *stringSui address

get_coins

Get coin objects of a specific type owned by an address.

ParameterTypeDescription
address *stringOwner address
coinTypestringCoin type (default: 0x2::sui::SUI)
limitnumberMax coins to return (default: 50)

get_coin_metadata

Get metadata for a coin type (name, symbol, decimals, description).

ParameterTypeDescription
coinType *stringCoin type (e.g. 0x2::sui::SUI)

get_total_supply

Get total supply of a coin type.

ParameterTypeDescription
coinType *stringCoin type

transfer_sui

Transfer SUI from a managed wallet to a recipient address. Amount is in SUI (not MIST).

ParameterTypeDescription
amount *numberAmount in SUI
fromWallet *stringName of the sending wallet
toAddress *stringRecipient Sui address

transfer_objects

Transfer one or more objects to a recipient address.

ParameterTypeDescription
fromWallet *stringSending wallet name
objectIds *arrayObject IDs to transfer
toAddress *stringRecipient address

merge_coins

Merge multiple coins into one. All coins must be the same type.

ParameterTypeDescription
coinsToMerge *arrayObject IDs of coins to merge
primaryCoin *stringObject ID of the coin to merge into
wallet *stringWallet name

split_coins

Split a coin into multiple coins with specified amounts (in MIST).

ParameterTypeDescription
amounts *arrayAmounts for each new coin (in MIST)
coinId *stringObject ID of the coin to split
wallet *stringWallet name

get_object

Get details of a Sui object by its ID.

ParameterTypeDescription
objectId *stringObject ID
showContentbooleanInclude object content (default: true)
showOwnerbooleanInclude owner info (default: true)
showTypebooleanInclude object type (default: true)

get_owned_objects

Get objects owned by an address.

ParameterTypeDescription
address *stringOwner address
filterobjectOptional filter: { StructType: '0x2::coin::Coin<0x2::sui::SUI>' }
limitnumberMax objects to return (default: 50)

get_dynamic_fields

Get dynamic fields of an object.

ParameterTypeDescription
parentId *stringParent object ID
limitnumberMax fields to return (default: 50)

get_transaction

Get transaction details by digest.

ParameterTypeDescription
digest *stringTransaction digest
showEffectsbooleanShow effects (default: true)
showEventsbooleanShow events (default: true)
showInputbooleanShow transaction input (default: true)

dry_run_transaction

Dry-run a transaction to preview effects without executing.

ParameterTypeDescription
txBytes *stringBase64-encoded transaction bytes

move_call

Execute a Move function call. Arguments are passed as an array of strings/numbers.

ParameterTypeDescription
target *stringMove call target: package::module::function
wallet *stringWallet name for signing
argumentsarrayFunction arguments
typeArgumentsarrayType arguments for generic functions

get_normalized_module

Get the normalized Move module definition (functions, structs, etc.).

ParameterTypeDescription
moduleName *stringModule name
packageId *stringPackage object ID

get_move_function

Get details of a specific Move function.

ParameterTypeDescription
functionName *stringFunction name
moduleName *stringModule name
packageId *stringPackage object ID

get_stakes

Get all staking positions for an address.

ParameterTypeDescription
address *stringStaker address

request_add_stake

Stake SUI with a validator. Amount is in SUI.

ParameterTypeDescription
amount *numberAmount of SUI to stake
validatorAddress *stringValidator address
wallet *stringWallet name

request_withdraw_stake

Withdraw staked SUI.

ParameterTypeDescription
stakeObjectId *stringStakedSui object ID
wallet *stringWallet name

get_validators

Get current validator set with APY, commission, and stake info.

switch_network

Switch to a different Sui network.

ParameterTypeDescription
network *stringNetwork to switch to

get_network_info

Get current network info: chain ID, epoch, reference gas price, checkpoint.

get_latest_checkpoint

Get the latest checkpoint sequence number.

get_reference_gas_price

Get current reference gas price.

request_faucet

Request SUI from the faucet (devnet/testnet only).

ParameterTypeDescription
address *stringAddress to fund

resolve_name

Resolve a SuiNS name to an address.

ParameterTypeDescription
name *stringSuiNS name (e.g. example.sui)

resolve_address

Reverse-resolve an address to its SuiNS name(s).

ParameterTypeDescription
address *stringSui address

query_events

Query on-chain events by type, sender, package, module, or transaction digest.

ParameterTypeDescription
filter *objectEvent filter. Examples: { "MoveEventType": "0x2::coin::CoinEvent" }, { "Sender": "0x..." }, { "Package": "0x2" }, { "Transaction": "digest..." }
limitnumberMax events (default: 50)
orderstringSort order (default: descending)

query_transactions

Search and filter transactions by sender, recipient, input object, changed object, or Move function.

ParameterTypeDescription
filter *objectTransaction filter. Examples: { "FromAddress": "0x..." }, { "ToAddress": "0x..." }, { "InputObject": "0x..." }, { "ChangedObject": "0x..." }, { "MoveFunction": { "package": "0x2", "module": "coin", "f…
limitnumberMax transactions (default: 50)
orderstringSort order (default: descending)

multi_get_objects

Batch-fetch multiple objects by their IDs in one call.

ParameterTypeDescription
objectIds *arrayArray of object IDs to fetch
showContentbooleanInclude content (default: true)
showTypebooleanInclude type (default: true)

get_package_modules

List all modules in a Move package, with their functions and structs.

ParameterTypeDescription
packageId *stringPackage object ID

get_move_struct

Get a Move struct definition (fields, abilities, type parameters).

ParameterTypeDescription
moduleName *stringModule name
packageId *stringPackage object ID
structName *stringStruct name

get_epoch_info

Get detailed info about epochs (current or historical).

ParameterTypeDescription
limitnumberNumber of epochs to return (default: 5)
orderstringSort order (default: descending)

get_checkpoint

Get detailed checkpoint data by sequence number.

ParameterTypeDescription
sequenceNumber *stringCheckpoint sequence number

get_protocol_config

Get the current Sui protocol configuration (limits, features, gas settings).

get_system_state

Get the full Sui system state: epoch, validators, stake distribution, gas price, storage fund.

get_committee_info

Get validator committee information for a specific epoch.

ParameterTypeDescription
epochstringEpoch number (default: current)

dev_inspect

Simulate a Move call without executing it — returns results, gas cost, and effects. No wallet needed.

ParameterTypeDescription
sender *stringSender address to simulate from
target *stringMove call target: package::module::function
argumentsarrayFunction arguments
typeArgumentsarrayType arguments

get_object_history

Find all transactions that touched a given object (trace provenance).

ParameterTypeDescription
objectId *stringObject ID to trace
limitnumberMax transactions (default: 20)

get_total_transactions

Get the total number of transactions on the network.

get_move_call_metrics

Get Move call metrics — most-called packages, modules, and functions.

cetus_get_pools

Query Cetus CLMM pools by coin types. Returns pool addresses, liquidity, and fee rates.

ParameterTypeDescription
coinTypeAstringCoin type A (e.g. 0x2::sui::SUI). Use 'SUI', 'USDC', 'USDT', 'WETH', 'DEEP' as shortcuts.
coinTypeBstringCoin type B
limitnumberMax pools (default: 10)

cetus_get_pool

Get detailed info for a specific Cetus pool by its object ID.

ParameterTypeDescription
poolId *stringCetus pool object ID

deepbook_get_pool

Get DeepBook v3 pool info (order book) — mid price, spread, balances.

ParameterTypeDescription
poolId *stringDeepBook pool object ID

get_token_price

Get approximate token price by querying DeFi pool reserves. Supports common tokens: SUI, USDC, USDT, WETH, DEEP.

ParameterTypeDescription
token *stringToken symbol (SUI, USDC, USDT, WETH, DEEP) or full coin type

swap_quote

Get a swap quote by simulating a Move call. Returns estimated output amount and gas cost without executing.

ParameterTypeDescription
amount *numberAmount to swap (in token units, not MIST)
fromCoin *stringSource coin type or shorthand (SUI, USDC, etc.)
poolId *stringPool object ID to use for the swap
toCoin *stringDestination coin type or shorthand

suins_get_name_record

Get detailed SuiNS name record — NFT ID, target address, expiration, metadata.

ParameterTypeDescription
name *stringSuiNS name (e.g. example.sui)

suins_get_price

Get SuiNS registration and renewal pricing.

ParameterTypeDescription
name *stringDomain name to check price for
yearsnumberNumber of years (default: 1)

list_common_tokens

List commonly used Sui token types (SUI, USDC, USDT, WETH, DEEP) with their full coin type addresses.