# sui-mcp-server [Health: Active]

**Category:** 📊 Monitoring  
**Repository:** https://github.com/ExpertVagabond/sui-mcp-server  
**GitHub Stars:** 1  
**npm Downloads (last month):** 341  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/sui-mcp-server

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

## Tools
Capabilities this server exposes over MCP:

- **create_wallet** — Create a new Sui wallet (Ed25519 keypair). Keys are held in memory only.
- **import_wallet** — Import a Sui wallet from a Bech32-encoded private key (suiprivkey...).
- **list_wallets** — List all wallets managed in this session.
- **get_balance** — Get SUI balance for an address.
- **get_all_balances** — Get all coin balances for an address (SUI and all other coin types).
- **get_coins** — Get coin objects of a specific type owned by an address.
- **get_coin_metadata** — Get metadata for a coin type (name, symbol, decimals, description).
- **get_total_supply** — Get total supply of a coin type.
- **transfer_sui** — Transfer SUI from a managed wallet to a recipient address. Amount is in SUI (not MIST).
- **transfer_objects** — Transfer one or more objects to a recipient address.
- **merge_coins** — Merge multiple coins into one. All coins must be the same type.
- **split_coins** — Split a coin into multiple coins with specified amounts (in MIST).
- **get_object** — Get details of a Sui object by its ID.
- **get_owned_objects** — Get objects owned by an address.
- **get_dynamic_fields** — Get dynamic fields of an object.
- **get_transaction** — Get transaction details by digest.
- **dry_run_transaction** — Dry-run a transaction to preview effects without executing.
- **move_call** — Execute a Move function call. Arguments are passed as an array of strings/numbers.
- **get_normalized_module** — Get the normalized Move module definition (functions, structs, etc.).
- **get_move_function** — Get details of a specific Move function.
- **get_stakes** — Get all staking positions for an address.
- **request_add_stake** — Stake SUI with a validator. Amount is in SUI.
- **request_withdraw_stake** — Withdraw staked SUI.
- **get_validators** — Get current validator set with APY, commission, and stake info.
- **switch_network** — Switch to a different Sui network.
- **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).
- **resolve_name** — Resolve a SuiNS name to an address.
- **resolve_address** — Reverse-resolve an address to its SuiNS name(s).
- **query_events** — Query on-chain events by type, sender, package, module, or transaction digest.
- **query_transactions** — Search and filter transactions by sender, recipient, input object, changed object, or Move function.
- **multi_get_objects** — Batch-fetch multiple objects by their IDs in one call.
- **get_package_modules** — List all modules in a Move package, with their functions and structs.
- **get_move_struct** — Get a Move struct definition (fields, abilities, type parameters).
- **get_epoch_info** — Get detailed info about epochs (current or historical).
- **get_checkpoint** — Get detailed checkpoint data by 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.
- **dev_inspect** — Simulate a Move call without executing it — returns results, gas cost, and effects. No wallet needed.
- **get_object_history** — Find all transactions that touched a given object (trace provenance).
- **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.
- **cetus_get_pool** — Get detailed info for a specific Cetus pool by its object ID.
- **deepbook_get_pool** — Get DeepBook v3 pool info (order book) — mid price, spread, balances.
- **get_token_price** — Get approximate token price by querying DeFi pool reserves. Supports common tokens: SUI, USDC, USDT, WETH, DEEP.
- **swap_quote** — Get a swap quote by simulating a Move call. Returns estimated output amount and gas cost without executing.
- **suins_get_name_record** — Get detailed SuiNS name record — NFT ID, target address, expiration, metadata.
- **suins_get_price** — Get SuiNS registration and renewal pricing.
- **list_common_tokens** — List commonly used Sui token types (SUI, USDC, USDT, WETH, DEEP) with their full coin type addresses.

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

```json
"mcpServers": {
  "sui-mcp-server": {
    "command": "npx",
    "args": ["-y","sui-mcp-server"]
  }
}
```

## Documentation

## What sui-mcp-server does

The sui-mcp-server MCP server connects an AI client to Sui blockchain networks and organizes common chain operations into MCP tools. It supports wallet sessions, coin balances, object queries, transaction inspection, Move package introspection, staking, SuiNS resolution, network status, faucet requests, and selected DeFi data from Cetus and DeepBook.

Wallet creation uses Ed25519 keypairs held in memory for the current session. Existing Bech32 private keys with the `suiprivkey...` format can also be imported. From a configured wallet, the tool set can transfer SUI or objects, merge and split coins, call Move functions, and request staking actions. Read-only tools can inspect addresses, objects, packages, validators, checkpoints, epochs, events, and transaction history.

## How it works

The package runs as an MCP process and communicates with an MCP client over its standard command configuration. It starts on Sui devnet and can switch to mainnet, testnet, devnet, or localnet with the `switch_network` tool. The documented network endpoints include the public Sui full nodes for mainnet, testnet, and devnet, plus `http://127.0.0.1:9000` for localnet.

The implementation uses `@mysten/sui` and supports both GraphQL and JSON-RPC transport paths. Queries can retrieve balances, coin metadata, owned objects, dynamic fields, checkpoints, protocol settings, system state, and validator information. Batch object lookup supports up to 50 object IDs per call. Transaction and Move workflows include dry runs and developer inspection so a call can be simulated before execution; `dev_inspect` does not require a wallet.

## Setup and configuration

Run the package directly with:

```bash
npx sui-mcp-server
```

It can also be installed globally with `npm install -g sui-mcp-server` and started with `sui-mcp-server`. The README requires Node.js 18 or newer. An MCP configuration can launch it with `npx -y sui-mcp-server`; the documented example targets Claude Desktop or `~/.mcp.json`.

No API key is required because the server connects directly to public Sui RPC nodes. For local development, clone the repository, install dependencies, build, and start the project with the documented npm commands.

## Tools and capabilities

The sui-mcp-server MCP server includes tools for:

- Creating, importing, and listing session wallets, then checking SUI and other coin balances.
- Reading coin metadata, supply, coin objects, on-chain objects, dynamic fields, and object history.
- Sending SUI and objects, merging or splitting coins, and previewing transaction effects.
- Querying transactions and events by supported filters, retrieving transaction details, and checking network totals.
- Inspecting Move modules, functions, structs, package contents, and network-wide Move call metrics.
- Executing Move calls, simulating calls without a wallet, requesting stakes, withdrawing stakes, and listing validators.
- Resolving SuiNS names and records, checking name pricing, and reading Cetus pools or DeepBook pool data.
- Generating token swap quotes, reading token prices from DeFi pool reserves, requesting test SUI, and checking network or checkpoint state.

Token shortcuts are documented for SUI, USDC, USDT, WETH, and DEEP. The faucet tool is limited to devnet and testnet.

## Limitations and notes

Wallet keys are held only in memory and are not persisted to disk. Rate limiting is set to 120 calls per minute using a sliding window, and inputs are checked with strict Zod schemas.

Operations that change chain state require the relevant wallet and transaction parameters. Read-only inspection and `dev_inspect` are better suited to analysis when signing or execution is not intended. The server begins on devnet, so applications should explicitly select another supported network when working against a different environment. The package is licensed under MIT.

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

