okx-mcp
This repository provides an example implementation of an SSE (Server-Sent Events)-based MCP server built entirely on top of the @okx-dex/okx-dex-sdk library. It enables seamless DEX trading on Solana and cross-chain bridge operations.
Install / Use
claude mcp add 0xobedient -- npx -y github:0xobedient/okx-mcpIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
Development & EngineeringSupported Platforms
Tags
Our assessment of okx-mcp
okx-mcp scores 67/100 on our quality scale, 3889th of 4,650 Development & Engineering skills we index.
Its MCP Server is 2.9 KB long, well organised into 8 sections with 3 code examples: a solid amount of guidance for an agent.
It has 3 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated about 18 months ago. Expect some instructions to reference tool versions or APIs that have since changed.
- Our last check on 2026-09-23 found the source still online.
- No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
- Its trust signals score 68/100, with 3 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-10-03. Automated pattern scan on 2026-10-03. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
okx-mcp compared with similar skills
All 4 of these similar skills score higher than okx-mcp; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| okx-mcp (this skill)by 0xobedient | 67 | 3 | 18mo ago | MCP Server |
| taste-skillby Leonxlnx | 100 | 111.7k | today | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 110.0k | today | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 79.1k | today | CLAUDE.md |
| ai-job-searchby ai-job-search-dev | 100 | 70.3k | today | CLAUDE.md |
Frequently asked questions
- How do I install okx-mcp?
- Run
claude mcp add 0xobedient -- npx -y github:0xobedient/okx-mcp. The install tabs above show the steps for each supported agent. - Which AI agents does okx-mcp work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is okx-mcp safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It declares no license and scores 68/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is okx-mcp still maintained?
- The repository was last updated about 18 months ago. Expect some instructions to reference tool versions or APIs that have since changed.
Skill content
View source on GitHubOKX-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
git clone https://github.com/0xobedient/okx-mcp
cd okx-mcp
pnpm install
pnpm run dev
📁 Project Structure
.
├── build/ # Compiled output
├── node_modules/ # Node.js dependencies
├── src/
│ ├── bridge/
│ │ ├── hooks/ # Bridge-specific hooks
│ │ ├── tools/ # Utility functions for bridge
│ │ └── server.ts # SSE server for bridge API
│ ├── dex/
│ │ ├── hooks/ # DEX-specific hooks
│ │ ├── tools/ # Utility functions for DEX
│ │ └── server.ts # SSE server for DEX API
│ └── shared/
│ ├── common/
│ │ ├── okxClient.ts # OKX SDK client wrapper
│ │ └── wallet.ts # Wallet handling logic
│ ├── constants/
│ │ └── index.ts # Constant values used across the app
│ ├── env/
│ │ └── index.ts # Environment variable loader
│ ├── types/
│ │ ├── tool.d.ts # Type definitions for tools
│ │ └── wallet.d.ts # Type definitions for wallet
│ └── main.ts # Application entry point
├── .env.example # Sample environment file
├── .gitignore # Git ignore rules
├── package.json # NPM package metadata
├── pnpm-lock.yaml # Lockfile for pnpm
└── tsconfig.json # TypeScript configuration
🔐 Environment Variables
Create a .env file at the root of the project using .env.example as a template:
OKX_API_KEY= # Your OKX API key
OKX_API_SECRET= # Your OKX API secret
OKX_PASSPHRASE= # Your OKX API passphrase
OKX_PROJECT_ID= # Your OKX project ID (if required)
RPC_ENDPOINT_URI= # RPC endpoint URI for Solana or target blockchain
WALLET_PRIVATE_KEY= # Private key for the wallet used in trades
PORT=3000 # Port number for the SSE server
📦 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.
Related Skills
taste-skill
111.7kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
Agent-Reach
110.0kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
79.1kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
ai-job-search
70.3kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
