MCP.so
Sign In

0xAuto OKX MCP Server

@Buidl-Land

Basic information

Category

Other

Transports

stdio

Author

Buidl-Land

About 0xAuto OKX MCP Server

No overview available yet

0xAuto OKX MCP Server config

No standard config provided

This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.

Repository

0xAuto OKX MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is 0xAuto OKX MCP Server?

0xAuto OKX MCP Server is an MCP‑compliant tool interface layer for the OKX V5 API and OKX DEX API. It provides AI agents with simplified, authenticated access to OKX exchange (CEX) and decentralized exchange (DEX) functionalities, hiding complex API signing logic behind standard MCP tools.

How to use 0xAuto OKX MCP Server?

Install dependencies with pnpm install, copy .env.example to .env, and fill in your OKX API credentials (OKX_API_KEY, OKX_SECRET_KEY, OKX_PASSPHRASE). Set SIMULATED_TRADING=0 (live) or 1 (demo). Start the server with pnpm start (or pnpm dev). MCP clients connect via /mcp, /sse, or /messages endpoints. Use the listed MCP tools (e.g., okx_get_balance, okx_place_order, okx_swap) to interact with CEX and DEX features.

Key features of 0xAuto OKX MCP Server

  • Hides OKX API authentication and signature complexity
  • Covers CEX account, market, trading, and funding operations
  • Provides DEX aggregator access for multi‑chain swaps
  • Standardized JSON responses and error handling
  • Supports MCP session management and streaming
  • Simulated trading mode for testing

Use cases of 0xAuto OKX MCP Server

  • AI agents placing orders and checking balances on OKX CEX
  • Automated portfolio management and position tracking
  • Fetching real‑time market data and K‑lines for analysis
  • Executing intra‑chain and cross‑chain token swaps via OKX DEX
  • Funding operations: deposit addresses, withdrawal history, withdrawals

Frequently asked questions

1

What dependencies are required?

Node.js v16 or higher and pnpm are required. The server runs as a standard Node.js application.

2

How do I configure OKX API credentials?

Set `OKX_API_KEY`, `OKX_SECRET_KEY`, `OKX_PASSPHRASE` in the `.env` file. Ensure your API key has read and trade permissions. Optional: configure `SIMULATED_TRADING` for demo mode.

3

Which OKX data does the server access?

It accesses the OKX V5 API (CEX) and the OKX DEX API (web3.okx.com). It does not store user data locally; all data is fetched live from OKX endpoints.

4

Does the server support live and demo trading?

Yes. Set `SIMULATED_TRADING=0` for live trading or `1` for a demo/simulated environment. This is configured in the `.env` file.

5

What transports and authentication are used?

The server communicates over HTTP (port 3000 by default) using standard MCP endpoints. OKX authentication is handled internally via API key, secret, and passphrase; no additional auth layer is exposed to the MCP client.

Comments

More Other MCP servers