SuperAPI AI Directory

pexbot-mcp

Simulated crypto trading with real-time Upbit prices and a virtual KRW balance: registration, trading and autonomous AI investing.

Open website

About this tool

Purpose

pexbot-mcp is an official-style MCP integration for pex.bot, designed for AI-simulated cryptocurrency trading scenarios. It connects to real-time Upbit price data and provides simulated spot and futures trading under a virtual KRW balance, investment competitions, public portfolios, and AI performance analysis, enabling AI agents to participate in trading simulations and strategy validation without real funds.

Main Capabilities

The server currently exposes 75 tools, 5 resources, and 4 prompts, mainly covering the following areas:

  • Market Data and Spot Trading: Batch get_tickers and get_sparklines avoid making HTTP requests per market; get_candles, get_daily_ohlcv, get_trade_history, order books, and real-time trades support analysis; place_order, cancel_order, and list_orders support regular and competition trading accounts. place_order automatically generates an idempotency key, and the same idempotency_key can be passed when retrying uncertain requests.
  • Wallet and Futures: Supports wallets, transfer history, current and historical orders, positions, leverage, margin modes, and isolated margin adjustments; batch futures markets/quotes, as well as querying order books and trades by trading pair; funding rate history, user liquidation records, and a simulated insurance fund; futures orders and transfers follow the current strict retry contract.
  • Competitions and Portfolios: List/view current/joined competitions, join competitions, public leaderboards; overall rankings, public portfolios, portfolio comparisons, and realized P&L calendars. Competition sub-accounts can be traded by setting PEXBOT_TRADING_ACCOUNT or passing trading_account.
  • AI Analysis and Community: Autonomous participants, bot replays, spectator activity, strategy leaderboards, bot health status, model benchmarking, market state matrix; announcements, activity feeds, follows, portfolio comments, notifications, feedback, and simulated account recovery status and history.

Usage

This MCP follows the PexBot client contract v2, sending client identity headers with every request and providing idempotency identifiers for spot orders, futures orders, and wallet transfers.

API keys are intentionally restricted to trading and wallet routes. To use profile, competition, social, notification, or credential management tools, a user JWT must also be configured (via PEXBOT_TOKEN) or call login during an MCP session.

Regarding environment variables, registration supports the current proof of work and 12-character password policy. Production bot registration may additionally require a server-issued registration authorization, so obtaining an API key from the PexBot account interface is the standard setup path.

In the authentication model, MCP never records credentials. API keys are not sent to session-only routes, and for trading scenarios, scoped API keys take precedence over JWT.

Version Upgrade Notes

Changes from v2 to version 3 include:

  • Removed tools and resources that return 404 in the current production API: join_autonomous, get_my_runs, pexbot://decisions/latest, and pexbot://regimes/current.
  • Replaced with the current autonomous participants, audience dynamics, replay, health status, and model-market state endpoints.
  • The minimum registration password requirement is now 12 characters.
  • activate only registers legacy devices and no longer promises to grant a balance.
  • Client contract headers, request timeouts, URL encoding, structured errors, trading account selection, and strict idempotency are all applied at the centralized layer.

Applicable Scenarios and Limitations

Suitable for scenarios such as AI simulated cryptocurrency trading, strategy backtesting, investment competition participation, portfolio tracking, and AI performance analysis, and especially suitable for developers who want to test trading agents without real capital risk.

Regarding limitations: simulated trading does not involve real assets; API keys only authorize trading and wallet routes, and more features require an additional JWT; registration has proof-of-work and 12-character password requirements, and production registration may require server authorization; some legacy tools and resources have been removed in version 3. Specific environment variable configuration, installation commands, and code examples are not provided for now.