An MCP server designed for AI agents to perform optimal token swaps on the Sui blockchain. - Token Swaps: Execute token swaps on Sui mainnet via the Cetus Aggregator. - Bech32 Private Key Support: Securely load a Sui private key (starting with suiprivkey) from environment variables. - Node.js: Version 18.x or higher. - npm: For dependency management. - Sui Wallet: A Sui private key in bech32 forma
Add this skill
npx mdskills install kukapay/sui-trader-mcpWell-documented MCP server for Sui blockchain token swaps with clear setup instructions
1# Sui Trader MCP23An MCP server designed for AI agents to perform optimal token swaps on the Sui blockchain.456789## Features1011- **Token Swaps**: Execute token swaps on Sui mainnet via the Cetus Aggregator.12- **Bech32 Private Key Support**: Securely load a Sui private key (starting with `suiprivkey`) from environment variables.1314## Prerequisites1516- **Node.js**: Version 18.x or higher.17- **npm**: For dependency management.18- **Sui Wallet**: A Sui private key in bech32 format (starts with `suiprivkey`).1920## Installation21221. **Clone the Repository**:23 ```bash24 git clone https://github.com/kukapay/sui-trader-mcp.git25 cd sui-trader-mcp26 ```27282. **Install Dependencies**:29 ```bash30 npm install31 ```32333. **Configure MCP Client**:34 ```json35 {36 "mcpServers": {37 "sui-trader": {38 "command": "node",39 "args": ["/absolute/path/to/sui-trader-mcp/index.js"],40 "env": { "PRIVATE_KEY": "your_private_key" }41 }42 }43 }44 }45 ```46 Replace `/absolute/path/to/sui-trader-mcp/` with the actual installation path, and `your_private_key` with your Bech32-formatted private key..4748## Usage4950Use an MCP-compatible client to invoke the `swap` tool.5152### Example5354Prompt:55```56Swap 1.5 SUI to USDC with 2% slippage, using a fixed input amount.57```5859Output:60```61Transaction ID: zjGekhLBfMYzGqu57fTeu3K1NX5jC5wNUy8rpdPcLyv. Status: success62```6364## License6566This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.6768
Full transparency — inspect the skill content before installing.