Skip to main content
Glama

sui-trader-mcp

Sui Trader MCP

An MCP server designed for AI agents to perform optimal token swaps on the Sui blockchain.

License Node.js Status

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

  1. Clone the Repository:
    git clone https://github.com/kukapay/sui-trader-mcp.git cd sui-trader-mcp
  2. Install Dependencies:
    npm install
  3. 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..

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.

-
security - not tested
A
license - permissive license
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

sui-trader-mcp

  1. Features
    1. Prerequisites
      1. Installation
        1. Usage
          1. Example
        2. License

          Related MCP Servers

          • -
            security
            A
            license
            -
            quality
            The MCP Trader Server conducts comprehensive technical analysis on stocks, offering insights into trends, momentum indicators, volatility metrics, and volume analysis to support stock trading decisions.
            Last updated -
            191
            Python
            MIT License
            • Apple
          • A
            security
            F
            license
            A
            quality
            An MCP server that enables AI models like Claude to interact with the Trading Simulator API for checking balances, viewing prices, and executing trades with automatic chain detection.
            Last updated -
            15
            TypeScript
            • Linux
            • Apple

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/kukapay/sui-trader-mcp'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server