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
An MCP server designed for AI agents to perform optimal token swaps on the Sui blockchain.
suiprivkey) from environment variables.suiprivkey).Clone the Repository:
git clone https://github.com/kukapay/sui-trader-mcp.git
cd sui-trader-mcp
Install Dependencies:
npm install
Configure MCP Client:
{
"mcpServers": {
"sui-trader": {
"command": "node",
"args": ["/absolute/path/to/sui-trader-mcp/index.js"],
"env": { "PRIVATE_KEY": "your_private_key" }
}
}
}
}
Replace /absolute/path/to/sui-trader-mcp/ with the actual installation path, and your_private_key with your Bech32-formatted private key..
Use an MCP-compatible client to invoke the swap tool.
Prompt:
Swap 1.5 SUI to USDC with 2% slippage, using a fixed input amount.
Output:
Transaction ID: zjGekhLBfMYzGqu57fTeu3K1NX5jC5wNUy8rpdPcLyv. Status: success
This project is licensed under the MIT License. See the LICENSE file for details.
Install via CLI
npx mdskills install kukapay/sui-trader-mcpSui Trader MCP is a free, open-source AI agent skill. 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
Install Sui Trader MCP with a single command:
npx mdskills install kukapay/sui-trader-mcpThis downloads the skill files into your project and your AI agent picks them up automatically.
Sui Trader MCP works with Claude Code, Claude Desktop, Cursor, Vscode Copilot, Windsurf, Continue Dev, Gemini Cli, Amp, Roo Code, Goose. Skills use the open SKILL.md format which is compatible with any AI coding agent that reads markdown instructions.