mcp-solana-dex

mcp-solana-dex

3.2

If you are the rightful owner of mcp-solana-dex and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

MCP Solana DEX Server provides basic decentralized exchange functionalities for ICO-associated tokens.

The MCP Solana DEX Server is a simple decentralized exchange server designed to handle basic DEX functionalities for tokens associated with ICOs managed by a main server. It allows users to create, cancel, and execute sell orders, as well as retrieve the current order book for a specific ICO. The server uses file-based persistence to store the order book and is associated with specific ICO IDs. It performs server-side pre-condition checks for executing orders but does not handle on-chain atomic swaps, which must be managed by the client. The server is intended to run as a separate process from the main ICO server and requires dependencies to be installed via the parent project's package manager.

Features

  • MCP Tools: Exposes DEX functions as MCP tools (`create_order`, `cancel_order`, `execute_order`, `get_orders`).
  • File-Based Persistence: Stores the order book in a JSON file (`data/order_book.json` by default).
  • ICO Association: Orders are associated with specific `ico_id`s.

Tools

  1. create_order

    Creates a new sell order for a specified ICO.

  2. cancel_order

    Cancels an existing order for a specified ICO.

  3. execute_order

    Performs pre-condition checks for executing a sell order.

  4. get_orders

    Retrieves the current sell orders for a specified ICO.

Related MCP Servers

View all finance servers →