solana-MCP-tradingserver

solana-MCP-tradingserver

1

The Solana Trading Server is an MCP server enabling Solana token trading using the Jupiter DEX aggregator. It offers features like wallet management, token balance checking, swap quoting, and execution with robust error handling and maintenance capabilities.

Solana Trading Server

An MCP server that provides Solana token trading capabilities through Jupiter DEX aggregator.

Features

  • Create and import Solana wallets
  • Check token balances
  • Get swap quotes with customizable slippage
  • Execute token swaps
  • Transaction status tracking

Running Locally

  1. Install dependencies.
  2. Build the TypeScript code.
  3. Run the server.

Running 24/7 with Docker

  1. Build and start the container.
  2. View logs.
  3. Stop the server.

The server will automatically restart if it crashes or if the system reboots.

Example Token Mints

  • SOL (Wrapped)
  • USDC
  • BONK
  • ORCA

Monitoring & Maintenance

  • Check server status
  • View real-time logs
  • Restart the server
  • Update the server

Error Handling

The server provides detailed error messages for common issues such as invalid private key, invalid wallet address, invalid token mint, insufficient balance, failed transactions, and network errors.