Integrates with OKX DEX API to execute swap trades, generate swap instructions, fetch price quotes, and retrieve supported tokens and liquidity pool data on the Solana blockchain.
Provides DEX trading capabilities on the Solana blockchain, including swap trades execution, instruction generation, and liquidity pool data retrieval.
OKX-DEX-SDK MCP SSE SERVER EXAMPLE
This is an example implementation of an SSE (Server-Sent Events) MCP server that leverages @okx-dex/okx-dex-sdk to support DEX trading and cross-chain bridge operations.
🚀 Features
DEX API
Built for the Solana blockchain, the DEX API supports:
- Executing swap trades
- Generating swap instructions
- Fetching price quotes
- Retrieving supported tokens and liquidity pool (LP) data
Bridge API
Enables cross-chain functionality, including:
- Fetching supported bridgeable tokens and chains
- Performing cross-chain bridge transactions
- Retrieving cross-chain price quotes
📦 Installation
📁 Project Structure
🔐 Environment Variables
Create a .env
file at the root of the project using .env.example
as a template:
📦 Dependency
This MCP server is entirely built upon the official OKX SDK:
@okx-dex/okx-dex-sdk – the core SDK providing access to OKX DEX trading and bridge functionalities.
This server cannot be installed
An SSE (Server-Sent Events) server that leverages OKX DEX SDK to support DEX trading operations on Solana blockchain and cross-chain bridge transactions.
Related MCP Servers
- AsecurityAlicenseAqualityAn MCP server implementation that enables access to DexScreener API data, providing real-time information on DEX pairs, token profiles, and market statistics across multiple blockchains.Last updated -76JavaScriptThe Unlicense
- AsecurityFlicenseAqualityA server that provides simple RPC endpoints for common Solana blockchain operations, allowing users to check balances, get account information, and transfer SOL between accounts.Last updated -5TypeScript
- AsecurityFlicenseAqualityProvides real-time cryptocurrency price data from OKX exchange through a Model Context Protocol interface, allowing access to historical candlestick data and current market prices for any trading instrument.Last updated -22JavaScript
- -securityFlicense-qualityA server that enables interaction with the Solana blockchain using your own private key, supporting operations like getting wallet information, checking balances, and transferring SOL.Last updated -2196JavaScript