sui-mcp-server

sui-mcp-server

Comprehensive MCP server for the Sui blockchain with 53 tools covering wallets, DeFi (Cetus, DeepBook), SuiNS, staking, validators, Move introspection, and full RPC. Enables natural language interaction with the entire Sui ecosystem.

Category
访问服务器

README

sui-mcp-server

npm version License: MIT Node Tools

The most comprehensive Sui blockchain MCP server. 53 tools with GraphQL + JSON-RPC dual transport -- wallets, DeFi (Cetus, DeepBook), SuiNS, staking, validators, Move introspection, and the full Sui RPC surface.

Competitors offer 10-15 tools for basic operations. This server covers the entire Sui ecosystem in a single package.

Install

npx sui-mcp-server

Or install globally:

npm install -g sui-mcp-server
sui-mcp-server

Configure

Add to your MCP config (claude_desktop_config.json or ~/.mcp.json):

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

No API key required -- connects directly to Sui public RPC nodes.

Tools (53)

Wallet Management (4)

Tool Description Key Params
create_wallet Create a new Ed25519 keypair (in-memory only, not persisted) --
import_wallet Import from a Bech32-encoded private key (suiprivkey...) privateKey
list_wallets List all wallets in the current session --
get_balance Get SUI balance for any address address

Coin Operations (4)

Tool Description Key Params
get_all_balances All coin balances for an address (SUI + other coin types) address
get_coins Coin objects of a specific type owned by an address address, coinType
get_coin_metadata Metadata for a coin type (name, symbol, decimals) coinType
get_total_supply Total circulating supply of a coin type coinType

Transfers (4)

Tool Description Key Params
transfer_sui Transfer SUI between addresses (amount in SUI, not MIST) from, to, amount
transfer_objects Transfer one or more objects to a recipient from, objectIds, to
merge_coins Merge multiple coins into one (handles gas conflicts) walletName, coinType
split_coins Split a coin into multiple coins walletName, coinId, amounts

Object Queries (5)

Tool Description Key Params
get_object Full details of any on-chain object by ID objectId
get_owned_objects Objects owned by an address with optional type filtering address, type
get_dynamic_fields Dynamic fields of an object (tables, bags) parentId
multi_get_objects Batch-fetch up to 50 objects in one call objectIds
get_object_history Trace all transactions that touched a given object objectId

Transactions (4)

Tool Description Key Params
get_transaction Full transaction details by digest digest
dry_run_transaction Dry-run to preview effects without executing txBytes
query_transactions Search by sender, recipient, object, or Move function filter
get_total_transactions Total transaction count on the network --

Move Smart Contracts (7)

Tool Description Key Params
move_call Execute a Move function call walletName, target, arguments
dev_inspect Simulate a Move call without executing (no wallet needed) sender, target, arguments
get_normalized_module Full Move module definition (functions, structs) package, module
get_move_function Move function details (params, return types, visibility) package, module, function
get_move_struct Move struct definition (fields, abilities) package, module, struct
get_package_modules List all modules in a Move package package
get_move_call_metrics Network-wide Move call metrics --

Staking (4)

Tool Description Key Params
get_stakes All staking positions for an address address
request_add_stake Stake SUI with a validator walletName, amount, validator
request_withdraw_stake Withdraw staked SUI walletName, stakedSuiId
get_validators Full validator set with APY, commission, and stake amounts --

Events (1)

Tool Description Key Params
query_events Query on-chain events by type, sender, package, or digest filter

Network & Analytics (9)

Tool Description Key Params
switch_network Switch between mainnet, testnet, devnet, localnet network
get_network_info Chain ID, epoch, gas price, latest checkpoint --
get_latest_checkpoint Latest checkpoint sequence number --
get_reference_gas_price Current reference gas price in MIST --
get_checkpoint Detailed checkpoint data by sequence number sequenceNumber
get_epoch_info Historical epoch data (times, stakes, gas summaries) epoch
get_protocol_config Sui protocol configuration (limits, features) --
get_system_state Full system state: epoch, validators, storage fund --
get_committee_info Validator committee info for any epoch epoch

SuiNS Name Service (4)

Tool Description Key Params
resolve_name Resolve example.sui to a Sui address name
resolve_address Reverse-resolve an address to SuiNS name(s) address
suins_get_name_record Full name record -- NFT ID, target, expiration, metadata name
suins_get_price Registration and renewal pricing by name length length

DeFi: Cetus DEX (2)

Tool Description Key Params
cetus_get_pools Query Cetus CLMM pools by coin types coinTypeA, coinTypeB
cetus_get_pool Detailed pool data for a specific Cetus pool poolId

DeFi: DeepBook (1)

Tool Description Key Params
deepbook_get_pool DeepBook v3 order book data -- pool state and dynamic fields poolId

DeFi: Token Tools (3)

Tool Description Key Params
get_token_price Token price by querying DeFi pool reserves token
swap_quote Swap quote by simulating against a pool tokenIn, tokenOut, amount
list_common_tokens Common Sui tokens with full coin type addresses --

Faucet (1)

Tool Description Key Params
request_faucet Request SUI from faucet (devnet and testnet only) address

Why This One?

  • 53 tools vs 10-15. Competitors like 0xdwong/sui-mcp cover basic operations. This server includes DeFi (Cetus, DeepBook), SuiNS, Move introspection, staking, validators, and full analytics.
  • GraphQL + JSON-RPC dual transport. Built on the official @mysten/sui v2.11 SDK with @mysten/suins for name service -- future-proofed for the GraphQL migration.
  • Tested end-to-end. 59 passing tests across devnet, testnet, and mainnet. Wallet creation, transfers, staking, DeFi queries, SuiNS resolution, and Move inspection all verified.

Token Shortcuts

Use symbol shortcuts instead of full coin type addresses:

Shortcut Full Coin Type
SUI 0x2::sui::SUI
USDC 0xdba34672e...::usdc::USDC
USDT 0xc060006111...::coin::COIN
WETH 0xaf8cd5edc1...::coin::COIN
DEEP 0xdeeb7a4662...::deep::DEEP

Networks

Starts on devnet by default. Switch at any time with switch_network:

Network RPC Endpoint
mainnet https://fullnode.mainnet.sui.io:443
testnet https://fullnode.testnet.sui.io:443
devnet https://fullnode.devnet.sui.io:443
localnet http://127.0.0.1:9000

Security

  • Keys are in-memory only -- never written to disk, never logged
  • Private keys redacted from all error messages
  • Rate limiting: 120 calls/minute (sliding window)
  • All inputs validated with Zod strict schemas

Development

git clone https://github.com/ExpertVagabond/sui-mcp-server.git
cd sui-mcp-server
npm install
npm run build
npm start

License

MIT -- Matthew Karsten / Purple Squirrel Media

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选