An MCP server designed for AI agents to perform optimal token swaps on the Sui blockchain.
{
"sui-trader": {
"command": "node",
"args": [
"/absolute/path/to/sui-trader-mcp/index.js"
],
"env": {
"PRIVATE_KEY": "your_private_key"
}
}
}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:
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, andyour_private_keywith your Bech32-formatted private key..
Usage
Use an MCP-compatible client to invoke the swap tool.
Example
Prompt:
Swap 1.5 SUI to USDC with 2% slippage, using a fixed input amount.
Output:
Transaction ID: zjGekhLBfMYzGqu57fTeu3K1NX5jC5wNUy8rpdPcLyv. Status: success
License
This project is licensed under the MIT License. See the LICENSE file for details.
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:
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, andyour_private_keywith your Bech32-formatted private key..
Usage
Use an MCP-compatible client to invoke the swap tool.
Example
Prompt:
Swap 1.5 SUI to USDC with 2% slippage, using a fixed input amount.
Output:
Transaction ID: zjGekhLBfMYzGqu57fTeu3K1NX5jC5wNUy8rpdPcLyv. Status: success
License
This project is licensed under the MIT License. See the LICENSE file for details.
Related MCP Servers
base-mcp
A Model Context Protocol (MCP) server that provides onchain tools for LLMs, allowing them to interact with the Base network and Coinbase API.
investor-agent
A Model Context Protocol server for building an investor agent
Web3 Research
Deep Research for crypto - free & fully local
xero-mcp-server
An MCP server that integrates with the MCP protocol. https://modelcontextprotocol.io/introduction
mcp-server-ccxt
High-performance CCXT MCP server for cryptocurrency exchange integration
metatrader-mcp-server
Model Context Protocol (MCP) to enable AI LLMs to trade using MetaTrader platform
