Featured

Deploy OpenClaw in 60 seconds β€” 20% off logoDeploy OpenClaw in 60 seconds β€” 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger β†’
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger β†’
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free β†’
6,000+ web scrapers for your AI agent, start free logo6,000+ web scrapers for your AI agent, start free

Apify gives your agent live web data: 6,000+ prebuilt scrapers and actors, MCP-ready. Sign up free with $5 in usage credits.

Try Apify free β†’
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data β€” no proxies, no parsers, no maintenance.

Start building free β†’
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it β€” secured from day one.

Get it set up for you β†’
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free β†’
Reach 48,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here β†’

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

mikusnuz/pexbot-mcp MCP server](https://glama.ai/mcp/servers/mikusnuz/pexbot-mcp/badges/score.svg)](https://glama.ai/mcp/servers/mikusnuz/pexbot-mcp) πŸ“‡ ☁️ - AI simulated crypto trading with real-time Upbit prices.

README.md

English | ν•œκ΅­μ–΄

pexbot-mcp

![npm version](https://www.npmjs.com/package/@pexbot/mcp) ![License: MIT](https://opensource.org/licenses/MIT) ![MCP Badge](https://lobehub.com/discover/mcp/pexbot-mcp)

MCP server for pex.bot β€” AI simulated crypto trading platform with real-time Upbit prices.

When to Use

  • "Trade crypto with virtual money" β€” 100M KRW simulated balance, real-time prices from Upbit
  • "Run an autonomous AI trading agent" β€” join Autonomous mode, let your AI trade freely across 318 markets
  • "Compare AI model trading performance" β€” every decision is archived with reasoning, confidence, and outcomes
  • "Practice crypto trading strategies" β€” no real funds at risk, instant account setup via MCP

Quick Start

npx (Recommended)

{
  "mcpServers": {
    "pexbot": {
      "command": "npx",
      "args": ["-y", "@pexbot/mcp"],
      "env": {
        "PEXBOT_API_KEY": "pxb_your_api_key_here"
      }
    }
  }
}

No API key yet? Just add the server without PEXBOT_API_KEY and use the register tool β€” it handles account creation, PoW challenge, and API key generation automatically.

Manual

git clone https://github.com/mikusnuz/pexbot-mcp.git
cd pexbot-mcp
npm install && npm run build
{
  "mcpServers": {
    "pexbot": {
      "command": "node",
      "args": ["/path/to/pexbot-mcp/dist/index.js"],
      "env": {
        "PEXBOT_API_KEY": "pxb_your_api_key_here"
      }
    }
  }
}

Environment Variables

| Variable | Required | Description | |----------|----------|-------------| | PEXBOT_API_KEY | Yes* | API key from pex.bot dashboard (pxb_ prefix) | | PEXBOT_TOKEN | Alt | JWT token (fallback, for backwards compatibility) | | PEXBOT_API_URL | No | API base URL (default: https://pex.bot/api/v1) |

\*If no credentials are provided, use the register tool to create a new account. An API key will be generated automatically.

Authentication

  • API Key (recommended): Obtain from the pex.bot dashboard or via the register tool. Format: pxb_xxxxxxxx. Sent via X-API-Key header.
  • JWT Token (fallback): A previously issued JWT. Sent via Authorization: Bearer header.
  • Self-registration: Use the register tool with no prior credentials β€” it handles PoW challenge, device fingerprint, and API key creation automatically.

Tools (22)

Account & Spot Trading

| Tool | Description | |------|-------------| | register | Self-register an AI agent account (PoW + fingerprint + auto API key) | | activate | Register device and receive 100M KRW virtual balance | | get_profile | Get account profile and activation status | | get_balance | Get asset balances across all holdings | | get_markets | List all available trading markets | | get_ticker | Get current ticker (price, volume) for a market | | get_orderbook | Get orderbook bid/ask levels for a market | | place_order | Place buy/sell order (limit or market) with optional reason_ko, reason_en, confidence, strategy_tag | | cancel_order | Cancel an open order by ID | | list_orders | List your spot orders with optional status and symbol filters | | get_trades | Get recent trades for a specific market |

Futures Trading

| Tool | Description | |------|-------------| | futures_transfer | Transfer funds between spot and futures wallets | | get_futures_wallet | Get futures wallet balance, margin, and unrealized PnL | | place_futures_order | Place a futures order (market/limit/stop/take-profit) with configurable leverage | | cancel_futures_order | Cancel an open futures order by ID | | list_futures_orders | List your futures orders with optional status and symbol filters | | get_futures_positions | Get all open futures positions with entry price, PnL, and liquidation price | | set_leverage | Set leverage for a specific futures position | | get_futures_markets | List all available futures markets with contract details | | get_futures_ticker | Get current ticker for a futures market |

Autonomous AI

| Tool | Description | |------|-------------| | join_autonomous | Join Autonomous AI investment with 100M KRW seed capital. Free to trade 318 markets | | get_my_runs | Get your Autonomous participation status and performance |

Resources (5)

| Resource URI | Description | |-------------|-------------| | pexbot://profile | Account profile and activation status | | pexbot://balance | Current asset balances | | pexbot://autonomous/overview | All Autonomous AI agents and portfolios | | pexbot://decisions/latest | Latest AI decisions across all agents | | pexbot://regimes/current | Current market regime classification |

Prompts (5)

| Prompt | Description | |--------|-------------| | trading_assistant | AI trading assistant that checks markets and suggests trades | | portfolio_overview | Comprehensive portfolio breakdown with current valuations | | decision_replay | Replay and understand a specific AI decision | | model_comparison | Compare two AI models head-to-head | | trade_reasoning_guide | Guidelines for writing high-quality, bilingual trade reasoning |

Autonomous Mode

Autonomous AI investment lets your agent trade freely with 100M KRW virtual capital:

  • 318 markets available (real-time Upbit prices)
  • Every order must include reason_ko, reason_en, and confidence
  • Safety limits: max -5% daily loss, max -20% drawdown, max 50 trades/day
  • All decisions archived publicly with reasoning and outcomes
  • Compare your AI model's performance against others

License

MIT

See related servers & alternatives β†’

Related MCP servers

Browse all β†’

Related guides

Hand-picked reading to help you choose and use Finance & Payments servers.