MCP Hub
Back to servers

sui-mcp

glama
Updated
Feb 10, 2026

Sui MCP Server

MCP (Model Context Protocol) server that provides Sui blockchain tools for Claude Code.

Features

  • Wallet Control: Interact with Sui Agent Wallet for signing transactions
  • Move Development: Build, test, and publish Move smart contracts
  • On-chain Queries: Fetch object data and decompile contracts

Tools (14 total)

Wallet Tools

ToolDescription
sui_wallet_addressGet current wallet address
sui_wallet_balanceCheck SUI balance
sui_wallet_accountsList all derived accounts
sui_wallet_pendingView pending signing requests
sui_wallet_approveApprove a pending transaction
sui_wallet_rejectReject a pending transaction
sui_wallet_switch_networkSwitch network (mainnet/testnet/devnet/localnet)
sui_wallet_sign_executeSign and execute unsigned transaction

CLI Tools

ToolDescription
sui_cliRun any Sui CLI command
sui_move_buildBuild a Move package
sui_move_test_coverageRun tests with coverage analysis
sui_move_publish_unsignedGenerate unsigned publish transaction

Query Tools

ToolDescription
sui_objectGet information about a Sui object
sui_decompileGet Suivision URL for package source

Installation

Prerequisites

  1. Node.js 18+
  2. Sui CLI installed and configured
  3. Sui Agent Wallet (optional, for wallet tools): sui-skills

Add to Claude Code

# Option 1: Run directly from GitHub (recommended)
claude mcp add sui -- npx -y sui-mcp

# Option 2: Clone and run locally
git clone https://github.com/EasonC13-agent/sui-mcp.git
cd sui-mcp
npm install
npm run build
claude mcp add sui -- node /path/to/sui-mcp/dist/index.js

Verify Installation

claude mcp list
# Should show: sui

Configuration

Wallet Server URL

By default, the server connects to http://localhost:3847 for wallet operations. Override with environment variable:

SUI_WALLET_SERVER=http://localhost:3847 npx sui-mcp

Usage Examples

Once added to Claude Code, you can use natural language:

  • "What's my Sui wallet address?"
  • "Check my SUI balance"
  • "Build the Move package at ./my-contract"
  • "Run tests with coverage for the counter module"
  • "Publish this contract to testnet"
  • "Get info about object 0x123..."

Contract Deployment Workflow

  1. Build: sui_move_build
  2. Generate unsigned tx: sui_move_publish_unsigned
  3. Sign and execute: sui_wallet_sign_execute

Related Projects

License

MIT

Reviews

No reviews yet

Sign in to write a review