Skip to main content
Glama

Sui Agent MCP

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

npm version

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

Related MCP server: GOAT MCP Server

Tools (14 total)

Wallet Tools

Tool

Description

sui_wallet_address

Get current wallet address

sui_wallet_balance

Check SUI balance

sui_wallet_accounts

List all derived accounts

sui_wallet_pending

View pending signing requests

sui_wallet_approve

Approve a pending transaction

sui_wallet_reject

Reject a pending transaction

sui_wallet_switch_network

Switch network (mainnet/testnet/devnet/localnet)

sui_wallet_sign_execute

Sign and execute unsigned transaction

CLI Tools

Tool

Description

sui_cli

Run any Sui CLI command

sui_move_build

Build a Move package

sui_move_test_coverage

Run tests with coverage analysis

sui_move_publish_unsigned

Generate unsigned publish transaction

Query Tools

Tool

Description

sui_object

Get information about a Sui object

sui_decompile

Get 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: Install from npm (recommended)
claude mcp add sui -- npx -y sui-agent-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 $(pwd)/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

License

MIT

Available Tools

14 tools
sui_cliB

Run any Sui CLI command (e.g., 'client gas', 'move build', 'client object ')

Inputs: args (required), cwd.

sui_decompileA

Get URL to view decompiled source code for a Sui package on Suivision

Inputs: packageId (required).

sui_move_buildC

Build a Move package

Inputs: packagePath (required).

sui_move_publish_unsignedA

Generate unsigned transaction bytes for publishing a Move package (use with sui_wallet_sign_execute)

Inputs: packagePath (required), gasBudget.

sui_move_test_coverageC

Run Move tests with coverage analysis

Inputs: packagePath (required), module.

sui_objectB

Get detailed information about a Sui object

Inputs: objectId (required).

sui_wallet_accountsA

List all accounts in the Sui Agent Wallet

Inputs: no named parameters.

sui_wallet_addressA

Get the current Sui Agent Wallet address

Inputs: no named parameters.

sui_wallet_approveA

Approve a pending transaction by request ID

Inputs: requestId (required).

sui_wallet_balanceA

Get the balance of the current Sui Agent Wallet

Inputs: no named parameters.

sui_wallet_pendingB

Get pending transactions waiting for approval

Inputs: no named parameters.

sui_wallet_rejectA

Reject a pending transaction by request ID

Inputs: requestId (required).

sui_wallet_sign_executeB

Sign and execute an unsigned transaction (base64 encoded tx bytes)

Inputs: txBytes (required).

sui_wallet_switch_networkA

Switch the wallet network (mainnet, testnet, devnet, localnet)

Inputs: network (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 14 tools

    Disambiguation5/5

    All tools have clearly distinct purposes. The wallet tools each handle different aspects (approve, reject, sign, etc.), the Move tools are separated by action (build, publish, test), and sui_cli is a catch-all for arbitrary commands, so no overlap.

    Naming Consistency5/5

    Every tool follows the 'sui_' prefix with snake_case and uses a consistent verb_noun pattern (e.g., sui_move_build, sui_wallet_approve). No mixing of conventions.

    Tool Count5/5

    14 tools is a well-scoped count for a Sui blockchain server. It covers wallet management, Move development, object queries, and a general CLI, without being overwhelming or too sparse.

    Completeness4/5

    Core workflows are covered: wallet operations, Move package management, object queries. A general CLI tool fills gaps for any missing functionality. Minor gaps exist for specific high-level operations like staking, but these are accessible via the CLI.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that connects Claude for Desktop with blockchain functionality, allowing users to check balances and send tokens on EVM and Solana chains through natural language interactions.
      MIT
    • A
      license
      Not graded
      quality
      F
      maintenance
      An MCP server for the Sui blockchain that enables AI agents to manage accounts, execute token swaps, and perform smart contract development using the Sui CLI. It supports over 30 tools for DeFi operations, staking, and market data via Pyth price oracles.
      25 npm
      2
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      An MCP server that enables AI agents to interact with the IOTA blockchain, supporting wallet management, transaction signing, and Move smart contract development. It provides tools for on-chain queries and CLI operations with a human-in-the-loop security model.
      18
      65
      MIT