@expertvagabond/sui-mcp-server
v1.0.0
Published
Sui MCP server for wallet management, transaction handling, and interactions on Sui blockchain
Maintainers
Readme
Sui MCP Server
A comprehensive Model Context Protocol (MCP) server for Sui blockchain interactions. This server provides wallet management, transaction handling, and blockchain operations for Sui network.
📍 Publication Links
- GitHub: https://github.com/ExpertVagabond/sui-mcp-server
- NPM Package: https://www.npmjs.com/package/@ExpertVagabond/sui-mcp-server (pending publication)
- Smithery Platform: https://smithery.ai/search?q=ExpertVagabond (listed, deployment pending)
- Live Demo: https://server.smithery.ai/@ExpertVagabond/sui-mcp-server/mcp (pending deployment)
Features
🔐 Wallet Management
- Create new wallets with mnemonic phrases
- Import wallets from mnemonic or private key
- List all wallets
- Export wallet details
- Secure key management
💰 Balance & Object Operations
- Get SUI balance for wallets
- Get all coin balances
- View owned objects
- Get detailed object information
🔄 Transaction Operations
- Transfer SUI between addresses
- Transfer objects
- Get transaction details
- View transaction history
🌐 Network Operations
- Switch between networks (mainnet, testnet, devnet, localnet)
- Get network information
- Get chain identifier
⚡ Gas & Fees
- Get current gas prices
- Request tokens from faucet (testnet/devnet)
🔍 Validator & Staking
- Get validator information
- Staking operations
🛠 Utility Functions
- Address validation and normalization
- MIST to SUI conversion
- SUI to MIST conversion
Installation
From NPM
npm install -g @ExpertVagabond/sui-mcp-serverFrom Source
git clone https://github.com/ExpertVagabond/sui-mcp-server.git
cd sui-mcp-server
npm install
npm run buildUsage
As MCP Server
sui-mcp-serverDevelopment
npm run devBuild
npm run buildTest
npm testAvailable Tools
Wallet Operations
create_wallet- Create a new Sui walletimport_wallet- Import wallet from mnemonic/private keylist_wallets- List all walletsget_wallet_address- Get wallet addressexport_wallet- Export wallet details
Balance Operations
get_balance- Get SUI balanceget_all_balances- Get all coin balances
Object Operations
get_objects- Get owned objectsget_object_details- Get object details
Transaction Operations
transfer_sui- Transfer SUItransfer_object- Transfer objectsget_transaction- Get transaction detailsget_transactions- Get transaction historyget_wallet_transactions- Get wallet transaction history
Network Operations
switch_network- Switch networksget_network_info- Get network infoget_chain_id- Get chain ID
Gas Operations
get_gas_price- Get gas pricerequest_tokens_from_faucet- Request test tokens
Validator Operations
get_validators- Get validatorsget_validator_info- Get validator info
Utility Operations
validate_address- Validate addressnormalize_address- Normalize addressconvert_mist_to_sui- Convert MIST to SUIconvert_sui_to_mist- Convert SUI to MIST
Network Support
- Mainnet - Production Sui network
- Testnet - Sui testnet for testing
- Devnet - Sui development network
- Localnet - Local Sui network
Security Notes
⚠️ Warning: This server stores private keys in memory during runtime. In production environments, ensure proper security measures:
- Use secure key storage solutions
- Implement proper access controls
- Run in isolated environments
- Regularly rotate keys
- Monitor for suspicious activities
Dependencies
@mysten/sui- Official Sui TypeScript SDK@modelcontextprotocol/sdk- MCP SDKbip39- Mnemonic phrase generationed25519-hd-key- HD key derivation
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
License
MIT License - see LICENSE file for details
Support
- GitHub Issues: Report bugs or request features
- Documentation: Sui Documentation
Changelog
v1.0.0
- Initial release
- Basic wallet operations
- Transaction handling
- Network operations
- Utility functions
