pexbot-mcp MCP Server
PexBot simulated spot/futures trading, competitions, portfolios, and AI analytics.
pexbot-mcp scores 62 (Good), licensed MIT and written in TypeScript. It installs as a local process. It does not declare tools yet. Filed under Finance. GitHub shows 1 stars. Package registries report about 119 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
62 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade C
65/100 for listing completeness. Lost points: no listed tools, short summary.
How quality is graded
Where the 62 comes from
22 + 15 + 4 + 10 + 4 + 7 = 62. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 15 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 4 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 7 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "mikusnuz-pexbot-mcp": { "command": "npx", "args": [ "-y", "@pexbot/mcp@3.0.0" ], "env": { "PEXBOT_API_KEY": "YOUR_PEXBOT_API_KEY", "PEXBOT_TOKEN": "YOUR_PEXBOT_TOKEN", "PEXBOT_TRADING_ACCOUNT": "", "PEXBOT_API_URL": "" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
PEXBOT_API_KEYSecret | Optional | Scoped trading API key from the PexBot account UI (pxb_ prefix). |
PEXBOT_TOKENSecret | Optional | User JWT for profile, competition, social, notification, and credential-management tools. |
PEXBOT_TRADING_ACCOUNT | Optional | Optional investment-competition sub-account ID. |
PEXBOT_API_URL | Optional | API base URL (default: https://pex.bot/api/v1) |
Tools
All capabilitiesTools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.
About
English | 한국어
pexbot-mcp
The official-style MCP integration for pex.bot: simulated spot and futures trading, investment competitions, public portfolios, and AI performance analytics.
Version 3 follows PexBot client contract v2. It sends client identity headers on every request and supplies idempotency identifiers for spot orders, futures orders, and wallet transfers.
Quick start
{
"mcpServers": {
"pexbot": {
"command": "npx",
"args": ["-y", "@pexbot/mcp"],
"env": {
"PEXBOT_API_KEY": "pxb_your_api_key"
}
}
}
}
An API key is intentionally limited to trading and wallet routes. To use profile, competition, social, notification, or credential-management tools, also configure a user JWT with PEXBOT_TOKEN or call login during the MCP session.
"env": {
"PEXBOT_API_KEY": "pxb_your_api_key",
"PEXBOT_TOKEN": "your_user_jwt"
}
Environment variables
| Variable | Description |
|---|---|
PEXBOT_API_KEY | Scoped trading API key (pxb_ prefix) |
PEXBOT_TOKEN | User JWT for account and product features |
PEXBOT_TRADING_ACCOUNT | Optional investment-competition sub-account ID |
PEXBOT_API_URL | Spot/API base; defaults to https://pex.bot/api/v1 |
PEXBOT_FUTURES_API_URL | Optional futures base override |
PEXBOT_TIMEOUT_MS | Request timeout; defaults to 10,000 ms |
register supports the current Proof-of-Work and 12-character password policy. Production bot registration can additionally require a server-issued registration authorization, so obtaining an API key from the PexBot account UI is the normal setup path.
Capabilities
The server exposes 75 tools, 5 resources, and 4 prompts.
Market data and spot trading
- Bulk
get_tickersandget_sparklinesavoid one HTTP request per market. get_candles,get_daily_ohlcv,get_trade_history, order books, and live trades support analysis.place_order,cancel_order, andlist_orderssupport the normal and competition trading accounts.place_ordergenerates an idempotency key automatically. Pass the sameidempotency_keywhen retrying an uncertain request.
Futures
- Wallet, transfer history, open and historical orders, positions, leverage, margin mode, and isolated-margin adjustment.
- Bulk futures markets/tickers plus per-symbol order book and trades.
- Funding history, user liquidations, and the simulated insurance fund.
- Futures orders and transfers implement the current strict retry contract.
Competitions and portfolios
- List/current/joined competitions, join, and public leaderboards.
- Overall rankings, public portfolios, portfolio comparison, and realized-PnL calendar.
- Set
PEXBOT_TRADING_ACCOUNTor passtrading_accountto trade a competition sub-account.
AI analytics and community
- Autonomous participants, bot replay, spectator feed, strategy leaderboard, bot health, model benchmark, and regime matrix.
- Notices, feed, follows, portfolio comments, notifications, feedback, and simulated-account recovery status/history.
Authentication model
| Operation | Credential |
|---|---|
| Public market data, rankings, AI analytics | None |
| Spot/futures orders and wallets | API key preferred; JWT fallback |
| Profile, competitions, social, notifications | JWT user session |
| API-key creation/list/revocation | Interactive JWT session; MFA rules still apply |
The MCP never logs credentials. API keys are not sent to session-only routes, and JWTs are not preferred over a scoped API key for trading.
Manual development
git clone https://github.com/mikusnuz/pexbot-mcp.git
cd pexbot-mcp
npm install
npm run check
node dist/index.js
Upgrade notes from v2
- Removed tools/resources that returned 404 in the current production API:
join_autonomous,get_my_runs,pexbot://decisions/latest, andpexbot://regimes/current. - Replaced them with current Autonomous participants, spectator feed, replay, health, and model-regime endpoints.
- Password minimum for registration is now 12 characters.
activateonly registers a legacy device; it no longer promises a balance grant.- Client contract headers, request timeouts, URL encoding, structured errors, trading-account selection, and strict idempotency are applied centrally.
License
MIT
Frequently asked questions
What is pexbot-mcp MCP Server?
PexBot simulated spot/futures trading, competitions, portfolios, and AI analytics.
How do I install pexbot-mcp MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. pexbot-mcp MCP Server runs locally from the npm package @pexbot/mcp with the command npx -y @pexbot/mcp@3.0.0.
Is pexbot-mcp MCP Server free and open source?
Yes. pexbot-mcp MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does pexbot-mcp MCP Server support remote (HTTP) connections?
No remote endpoint is listed for pexbot-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.
How is pexbot-mcp MCP Server's trust score calculated?
pexbot-mcp MCP Server scores 62 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.