- Sui Dev Mcp
Sui Dev Mcp
Content
Sui MCP Server
A Model Context Protocol (MCP) server for Sui blockchain integration, providing seamless Sui Move development, blockchain interaction, and debugging capabilities within Cursor IDE.
Sui MCP Server Features
This project implements an MCP server specifically for Sui blockchain development and data querying, seamlessly integrating Sui's powerful features into MCP-compatible IDEs like Cursor.
Sui Development Environment Management
- Environment Switching: Easily switch between testnet, mainnet, and devnet environments
- Network Status Monitoring: Track network health, version, and TPS
- Network Time: Get blockchain network time for time-dependent operations
Smart Contract Development
- Contract Interface Parser: Parse and display human-readable Move module Interfaces
- Contract Verification: Verify and publish smart contract source code
Blockchain Interaction
- Wallet Management: Create test wallets with pre-funded SUI tokens
- Faucet Integration: Request test tokens for development
- Object Explorer: Retrieve and inspect Sui objects
- Transaction Builder: Build transactions from high-level descriptions
- Token Standards Support: Recognize and parse different token standards
Debugging & Optimization
- Error Decoding: Translate error codes into human-readable explanations with fix suggestions
- Gas Analysis: Analyze transaction gas usage and recommend optimizations
Ecosystem Integration
- Explorer Integration: Generate links to Sui Explorer for transactions, addresses, and objects
Installation
Prerequisites
- Node.js 18+
Setup
- Clone the repository
git clone https://github.com/your-username/sui-mcp-server.git
cd sui-mcp-server
- Install dependencies
npm install
- Configure environment
cp .env.example .env
Edit the .env file according to your needs.
- Build the server
npm run build
Usage
Starting the server
npm start
Integration with Cursor IDE
Once properly configured, the Sui MCP server will automatically connect with Cursor IDE. To add the MCP server in Cursor:
- Open Cursor
- Go to
File -> Preferences -> Cursor Settings -> Features -> MCP Server - Add a new MCP server pointing to this project's startup script
Available MCP Tools
Development Environment
sui_switch_env: Switch between network environmentssui_network_status: Check network statussui_network_time: Get current network time
Smart Contract Development
sui_get_contract_interface_doc: Extract and format contract Interfacesui_get_module_interface: Get Interface for a specific modulesui_get_contract_source: Retrieve contract sourcesui_get_contract_interface: Get complete contract documentationsui_get_package_interface: Get raw Interface for a smart contract package
Chain Interaction
sui_create_new_wallet: Create new wallets (works across networks)sui_fund_dev_coins: Request development coinssui_get_object: Get object detailssui_get_objects: Get details of multiple Sui objects by their IDssui_get_owned_objects: Get objects owned by a specific addresssui_build_transaction: Build transactionssui_get_transaction: Get details of a specific transactionsui_get_address_transactions: Get transaction history for a specific address
Token Management
sui_get_token_metadata: Get metadata for a specific token typesui_get_all_token_balances: Get all token balances for a specific address
Debugging & Optimization
sui_decode_error: Decode error messagessui_gas_advisor: Analyze gas usage
Ecosystem Integration
sui_explorer_lookup: Get Sui Explorer links
Example Usage in Cursor
// Get Sui network status
const status = await mcp.callTool("sui_network_status", {
random_string: "any"
});
console.log(status);
// Create a test wallet
const wallet = await mcp.callTool("sui_create_new_wallet", {
network: "testnet"
});
console.log(wallet);
// Get contract Interface
const abi = await mcp.callTool("sui_get_contract_interface", {
packageId: "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
format: "markdown"
});
console.log(abi);
## Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
## License
This project is licensed under the MIT License - see the LICENSE file for details.
Server Config
{
"mcpServers": {
"sui-tools": {
"command": "npx",
"args": [
"-y",
"sui-dev-mcp@latest"
]
}
}
}Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Serper MCP ServerA Serper MCP Server
Playwright McpPlaywright MCP server
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题;
Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Amap Maps高德地图官方 MCP Server
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
ChatWiseThe second fastest AI chatbot™
Tavily Mcp
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
CursorThe AI Code Editor
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
WindsurfThe new purpose-built IDE to harness magic
DeepChatYour AI Partner on Desktop
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.