Integrations
Required runtime environment for the MCP server, with version 18.x or higher needed for operation.
Used for dependency management of the MCP server.
Enables executing token swaps on the Sui blockchain mainnet via the Cetus Aggregator, supporting operations with customizable parameters like token amounts and slippage tolerance.
Sui Trader MCP
An MCP server designed for AI agents to perform optimal token swaps on the Sui blockchain.
Features
- 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.
Prerequisites
- Node.js: Version 18.x or higher.
- npm: For dependency management.
- Sui Wallet: A Sui private key in bech32 format (starts with
suiprivkey
).
Installation
- Clone the Repository:
- Install Dependencies:
- Configure MCP Client:Replace
/absolute/path/to/sui-trader-mcp/
with the actual installation path, andyour_private_key
with your Bech32-formatted private key..
Usage
Use an MCP-compatible client to invoke the swap
tool.
Example
Prompt:
Output:
License
This project is licensed under the MIT License. See the LICENSE file for details.
Related MCP Servers
- Python
- GoMIT License
- PythonMIT License
- PythonMIT License