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
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.
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
- -securityAlicense-qualityA server that enables interaction with the Solana blockchain, providing access to over 40 Solana RPC methods including getting balances, transaction details, block information, and sending transactions.Last updated -3PythonMIT License
- 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 -51TypeScript
- -securityAlicense-qualityA Model Context Protocol server enabling AI agents to interact with the Solana blockchain for DeFi operations like checking balances, transferring tokens, executing swaps, and fetching price data.Last updated -2322TypeScriptMIT License
- -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 -2310JavaScript