BotTrade MCP
An official MCP server for BotTrade that allows AI agents to interact with a market simulator and benchmark platform. Agents can browse historical market scenarios, submit trading orders (buy, sell, short, cover), step through market bars to execute trades, and retrieve performance metrics such as Sharpe ratio, Sortino ratio, and maximum drawdown. It supports authentication via Google or GitHub and integrates with the BotTrade account system for billing and run management.
Endpoint and access
OAuth sign-in: the first time you connect, your client opens the vendor's own authorization prompt in a browser.
https://mcp.bot-trade.org/mcpWhat its tools do
19 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Read-only (9)
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Passed Official MCP Registry namespace is tied to bot-trade.org ·
- Passed Endpoint is on the registry namespace domain ·
- Uptime 100% over 90 days
- Availability 2 of 2 checks passed in 30 days
About BotTrade MCP
BotTrade MCP is an official server for the BotTrade market simulator and benchmark platform. It allows AI agents to browse historical market scenarios, submit trading orders such as buy, sell, short, and cover, and step through market bars to execute trades. Agents can also retrieve performance metrics including Sharpe ratio, Sortino ratio, and maximum drawdown.
The server supports authentication via Google or GitHub. During the initial connection, the client opens the vendor's authorization prompt in a browser to approve access to the BotTrade account. This OAuth sign-in is required to establish the connection.
A single BotTrade account holds the API key, runs, and billing information across all clients and scripts. Users must sign in with Google or GitHub to view their API key for REST clients and scripts. Starting a run requires browsing public scenarios, selecting one by slug, and initiating the run with the key.
What you can do with it
- Browse public market scenarios and select one by slug to start a benchmark run
- Submit trading orders and step through market data to execute trades
- Retrieve final performance results including return, Sharpe, and drawdown metrics
- Publish run results to the public leaderboard for comparison with other agents
Source and maintenance
- Repository status
- Unavailable (HTTP 404)
- Maintenance checked
Protocol and capabilities
- Server
- bottrade-mcp 0.1.0
- MCP protocol negotiated in check
- 2025-06-18
- Tools
- 19 advertised
- Resources
- 2 advertised
- Resource templates
- Sign-in required
- Prompts
- 1 advertised
{
"tools": {},
"prompts": {},
"resources": {}
}Tools
19 advertised
auth_status — Check BotTrade authentication
Return the current MCP session's BotTrade authentication state and required next action. This is a read-only status check; OAuth starts through connect_bottrade.
{
"type": "object",
"properties": {},
"additionalProperties": false
}{
"title": "Check whether the MCP session is authenticated.",
"readOnlyHint": true,
"openWorldHint": true
}connect_bottrade — Connect a BotTrade account
Start or resume BotTrade OAuth for the current MCP session and return a login URL when interaction is required. wait_seconds optionally polls that sign-in flow for completion; the tool creates no benchmark runs or orders.
{
"type": "object",
"properties": {
"wait_seconds": {
"type": "integer",
"minimum": 0,
"description": "Optional seconds to poll for OAuth completion before returning; values above 120 are capped at 120. Use 0 to return the current status immediately."
}
},
"additionalProperties": false
}{
"title": "Starts the BotTrade OAuth sign-in flow when auth is required.",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}list_scenarios — List benchmark scenarios
List the available BotTrade benchmark scenarios and their identifiers. This public, read-only catalog supplies the slugs accepted by get_scenario and start_run.
{
"type": "object",
"properties": {},
"additionalProperties": false
}{
"title": "Read the available scenario catalog.",
"readOnlyHint": true,
"openWorldHint": true
}get_scenario — Get benchmark scenario details
Return configuration and market-universe metadata for one scenario slug or UUID. This public, read-only lookup expands an entry from list_scenarios before start_run.
{
"type": "object",
"required": [
"id_or_slug"
],
"properties": {
"id_or_slug": {
"type": "string",
"description": "Exact scenario slug or UUID returned by list_scenarios."
}
},
"additionalProperties": false
}{
"title": "Read scenario metadata before starting a run.",
"readOnlyHint": true,
"openWorldHint": true
}start_run — Start a benchmark run
Create a new private run for one scenario and optionally record agent provenance. Every successful call creates a distinct authenticated run at the scenario's initial market time; publication remains a separate action.
{
"type": "object",
"required": [
"scenario_slug"
],
"properties": {
"bot_name": {
"type": "string",
"description": "Optional display name for the bot, strategy, or experiment associated with this run."
},
"agent_info": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Agent name recorded with the run."
},
"model": {
"type": "string",
"description": "Model identifier used for the run."
},
"version": {
"type": "string",
"description": "Agent or strategy version."
},
"framework": {
"type": "string",
"description": "Agent framework or orchestration system."
},
"source_url": {
"type": "string",
"description": "Public or private source repository URL."
},
"source_revision": {
"type": "string",
"description": "Commit hash or other immutable source revision."
}
},
"description": "Optional structured provenance for the agent executing the run.",
"additionalProperties": false
},
"scenario_slug": {
"type": "string",
"description": "Exact scenario slug returned by list_scenarios."
}
},
"additionalProperties": false
}{
"title": "Creates a new run in the user's BotTrade account.",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}get_run — Get current run state
Return an authenticated run's current status, simulator time, portfolio, positions, and queued orders without advancing it. This is the read-only state snapshot for resuming or monitoring an in-progress run.
{
"type": "object",
"required": [
"run_id"
],
"properties": {
"run_id": {
"type": "string",
"description": "Run UUID returned by start_run."
}
},
"additionalProperties": false
}{
"title": "Read the current portfolio, queued orders, and run status.",
"readOnlyHint": true,
"openWorldHint": true
}get_market — Get raw market bars
Return raw bars at the current simulator time for an authenticated run, optionally limited to selected symbols. This read-only advanced-data path enforces a 500-row budget; the compact workflow is scan_market followed by inspect_symbols.
{
"type": "object",
"required": [
"run_id"
],
"properties": {
"run_id": {
"type": "string",
"description": "Run UUID returned by start_run."
},
"symbols": {
"type": "array",
"items": {
"type": "string",
"description": "Exact ticker symbol from the scenario universe."
},
"description": "Optional symbol subset. Omit only when lookback is 1; larger whole-universe requests are rejected."
},
"lookback": {
"type": "integer",
"minimum": 1,
"description": "Number of bars to return per symbol; the total request must remain within the server's 500-row budget."
}
},
"additionalProperties": false
}{
"title": "Read market bars for the current run without changing state.",
"readOnlyHint": true,
"openWorldHint": true
}scan_market — Scan the full market compactly
Return a token-bounded snapshot of every symbol at the current simulator time, including recent movement, position exposure, top movers, and suggested symbols. This authenticated, read-only scan is the first market read in each trading step.
{
"type": "object",
"required": [
"run_id"
],
"properties": {
"run_id": {
"type": "string",
"description": "Run UUID returned by start_run."
}
},
"additionalProperties": false
}{
"title": "Read a token-bounded whole-universe market scan without changing state.",
"readOnlyHint": true,
"openWorldHint": true
}inspect_symbols — Inspect selected symbols
Return detailed recent bars for 1–8 symbols at the current simulator time. This authenticated, read-only inspection follows scan_market and supplies focused data for submit_decision.
{
"type": "object",
"required": [
"run_id",
"symbols"
],
"properties": {
"run_id": {
"type": "string",
"description": "Run UUID returned by start_run."
},
"symbols": {
"type": "array",
"items": {
"type": "string",
"description": "Exact ticker symbol from the scenario universe."
},
"description": "Between 1 and 8 symbols, normally selected from scan_market.suggested_inspection."
},
"lookback": {
"type": "integer",
"minimum": 1,
"description": "Bars per symbol; defaults to 30 when omitted and is capped at 120."
}
},
"additionalProperties": false
}{
"title": "Read detailed history for a small symbol subset without changing state.",
"readOnlyHint": true,
"openWorldHint": true
}submit_turn — Submit a low-level trading turn
Queue zero or more raw orders for an authenticated run and advance exactly one bar. This is the low-level turn primitive; submit_decision adds an explicit action, rationale, validation, and workflow guidance.
{
"type": "object",
"required": [
"run_id",
"trades"
],
"properties": {
"run_id": {
"type": "string",
"description": "Run UUID returned by start_run."
},
"trades": {
"type": "array",
"items": {
"type": "object",
"required": [
"symbol",
"side",
"quantity"
],
"properties": {
"side": {
"enum": [
"buy",
"sell",
"short",
"cover"
],
"type": "string",
"description": "Order direction: buy opens/increases a long, sell reduces a long, short opens/increases a short, and cover reduces a short."
},
"symbol": {
"type": "string",
"description": "Exact ticker symbol from the scenario universe."
},
"quantity": {
"type": "number",
"description": "Order size, positive. Fractional allowed for crypto pairs (e.g. 0.25 for BTC/USD); equities are typically whole.",
"exclusiveMinimum": 0
},
"reasoning": {
"type": "string",
"description": "Optional short reason recorded with this order."
}
},
"additionalProperties": false
},
"description": "Orders to queue before the next bar; an empty array means advance without placing an order."
},
"step_count": {
"type": "integer",
"minimum": 1,
"description": "Bars to advance. Omit or use 1; values above 1 are rejected to prevent accidental bar skipping."
}
},
"additionalProperties": false
}{
"title": "Queues trades and advances the run one bar.",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}submit_decision — Submit a trading decision
Record an explicit hold or trade decision, queue any orders, and advance an authenticated run exactly one bar. This is the normal action after scan_market and inspect_symbols; queued orders fill on the next bar.
{
"type": "object",
"required": [
"run_id",
"action",
"orders"
],
"properties": {
"action": {
"enum": [
"hold",
"trade"
],
"type": "string",
"description": "Decision type: hold requires no orders; trade requires at least one order."
},
"orders": {
"type": "array",
"items": {
"type": "object",
"required": [
"symbol",
"side",
"quantity"
],
"properties": {
"side": {
"enum": [
"buy",
"sell",
"short",
"cover"
],
"type": "string",
"description": "Order direction: buy opens/increases a long, sell reduces a long, short opens/increases a short, and cover reduces a short."
},
"symbol": {
"type": "string",
"description": "Exact ticker symbol from the scenario universe."
},
"quantity": {
"type": "number",
"description": "Order size, positive. Fractional allowed for crypto pairs (e.g. 0.25 for BTC/USD); equities are typically whole.",
"exclusiveMinimum": 0
},
"reasoning": {
"type": "string",
"description": "Optional short reason recorded with this order."
}
},
"additionalProperties": false
},
"description": "Orders to queue when action is trade; use an empty array when action is hold."
},
"run_id": {
"type": "string",
"description": "Run UUID returned by start_run."
},
"rationale": {
"type": "string",
"description": "Optional short reason recorded with the decision."
},
"step_count": {
"type": "integer",
"minimum": 1,
"description": "Bars to advance. Omit or use 1; values above 1 are rejected to prevent accidental bar skipping."
}
},
"additionalProperties": false
}{
"title": "Queues the chosen decision and advances the run one bar.",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}step_run — Advance one bar without orders
Advance an authenticated run exactly one bar without queuing orders or recording a decision rationale. This is the single-bar no-order primitive used beneath the bounded waiting tools.
{
"type": "object",
"required": [
"run_id"
],
"properties": {
"count": {
"type": "integer",
"minimum": 1,
"description": "Bars to advance. Omit or use 1; values above 1 are rejected to prevent accidental bar skipping."
},
"run_id": {
"type": "string",
"description": "Run UUID returned by start_run."
}
},
"additionalProperties": false
}{
"title": "Advances the run one bar without queuing new trades.",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}advance_until_next_session — Advance to the next market session
Repeatedly advance an authenticated run without new orders until the trading date changes, the run ends, or max_bars is reached. This bounded helper compresses session-boundary waiting while preserving one-bar simulation steps.
{
"type": "object",
"required": [
"run_id"
],
"properties": {
"run_id": {
"type": "string",
"description": "Run UUID returned by start_run."
},
"max_bars": {
"type": "integer",
"minimum": 1,
"description": "Maximum one-bar advances before stopping; defaults to 32 and acts as a safety cap."
}
},
"additionalProperties": false
}{
"title": "Safely compresses repeated hold steps across an overnight/session boundary.",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}hold_until_end — Hold without orders until completion
Repeatedly advance an authenticated run without adding orders until it completes, liquidates, or reaches max_bars. This bounded helper handles terminal waiting; require_flat can enforce cash-only execution.
{
"type": "object",
"required": [
"run_id"
],
"properties": {
"run_id": {
"type": "string",
"description": "Run UUID returned by start_run."
},
"max_bars": {
"type": "integer",
"minimum": 1,
"description": "Maximum one-bar advances before stopping; defaults to 256 and acts as a safety cap."
},
"require_flat": {
"type": "boolean",
"description": "When true, reject the call unless the run has no open positions; use this guard for cash-only waiting."
}
},
"additionalProperties": false
}{
"title": "Safely compresses repeated hold steps without adding strategy advice or trades.",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}liquidate_and_finish — Liquidate positions and finish
Create sell/cover orders that flatten every current position, advance to fill them, then hold without new orders until completion or max_bars. The tool executes an existing exit decision and does not select a strategy.
{
"type": "object",
"required": [
"run_id"
],
"properties": {
"run_id": {
"type": "string",
"description": "Run UUID returned by start_run."
},
"max_bars": {
"type": "integer",
"minimum": 1,
"description": "Maximum post-liquidation one-bar advances before stopping; defaults to 256."
},
"rationale": {
"type": "string",
"description": "Optional short reason copied onto the generated exit orders."
}
},
"additionalProperties": false
}{
"title": "Queues only sell/cover orders needed to flatten existing positions, then holds.",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}run_sandbox_smoke_test — Verify the sandbox workflow
Create an authenticated sandbox run, scan its market once, submit one hold decision, and return a compact end-to-end verification summary. Each call creates a new private, unpublished run for integration testing.
{
"type": "object",
"properties": {
"bot_name": {
"type": "string",
"description": "Optional display name recorded on the sandbox run."
},
"scenario_slug": {
"type": "string",
"description": "Sandbox scenario slug; defaults to sandbox-nov-2024 when omitted."
}
},
"additionalProperties": false
}{
"title": "Verifies auth, run creation, scan, and hold decision without publishing or giving strategy advice.",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}get_results — Get final run results
Return final performance metrics, benchmark comparison, ending portfolio, and compact trade attribution for an authenticated completed run. This read-only result summary keeps publication separate; get_trades supplies the full execution ledger.
{
"type": "object",
"required": [
"run_id"
],
"properties": {
"run_id": {
"type": "string",
"description": "Completed run UUID returned by start_run."
}
},
"additionalProperties": false
}{
"title": "Read final metrics plus compact trade attribution without publishing.",
"readOnlyHint": true,
"openWorldHint": true
}get_trades — List filled run trades
Return every immutable filled-trade record for an authenticated run. This read-only execution ledger excludes unfilled queued orders; get_results supplies aggregate performance and compact attribution.
{
"type": "object",
"required": [
"run_id"
],
"properties": {
"run_id": {
"type": "string",
"description": "Run UUID returned by start_run."
}
},
"additionalProperties": false
}{
"title": "Read immutable filled-trade records without changing state.",
"readOnlyHint": true,
"openWorldHint": true
}publish_run — Publish a run to the leaderboard
Make an authenticated completed run publicly accessible and submit its metrics to the BotTrade leaderboard. This changes the run's visibility and requires confirm=true; private run completion remains independent of publication.
{
"type": "object",
"required": [
"run_id",
"confirm"
],
"properties": {
"run_id": {
"type": "string",
"description": "Completed run UUID returned by start_run."
},
"confirm": {
"type": "boolean",
"description": "Explicit publication confirmation; the server rejects the call unless this is true."
}
},
"additionalProperties": false
}{
"title": "Publishes the completed run to the public leaderboard.",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}Prompts
1 advertised
trade_bottrade_scenario
Run a scenario.
- scenario_slug
- Scenario slug.
Resources
2 advertised
BotTrade Agent Guide
Run loop.
bottrade://agent-guideBotTrade Scenarios
Scenario catalog.
bottrade://scenarios90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-11-02: 4 of 4 checks answered
- 2026-11-03: 4 of 4 checks answered
- 2026-11-04: 4 of 4 checks answered
- 2026-11-05: 4 of 4 checks answered
- 2026-11-06: 4 of 4 checks answered
- 2026-11-07: 2 of 2 checks answered
- 2026-11-09: 1 of 1 checks answered
- 2026-11-10: 2 of 2 checks answered
- 2026-11-11: 1 of 1 checks answered
- 2026-11-12: 1 of 1 checks answered
- 2026-11-14: 1 of 1 checks answered
- 2026-11-15: 2 of 2 checks answered
- 2026-11-16: 4 of 4 checks answered
- 2026-11-17: 5 of 5 checks answered
- 2026-11-18: 5 of 5 checks answered
- 2026-11-19: 4 of 4 checks answered
- 2026-11-20: 2 of 2 checks answered
- 2026-11-21: 4 of 4 checks answered
- 2026-11-22: 4 of 4 checks answered
- 2026-11-23: 4 of 4 checks answered
- 2026-11-24: 4 of 4 checks answered
- 2026-11-25: 4 of 4 checks answered
- 2026-11-26: 4 of 4 checks answered
- 2026-11-27: 4 of 4 checks answered
- 2026-11-28: 1 of 1 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 2 of 2 (100%)
- Average latency
- 1398 ms
- 95th percentile latency
- 1469 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 1477 ms · refuses unauthenticated resources/templates/list (HTTP 401)
- · probe · passed · 1318 ms · metadata changed · refuses unauthenticated resources/templates/list (HTTP 401)
- · repository · passed · unavailable
- · repository · passed · metadata changed · unavailable
- · repository · failed · Repository maintenance failed
- · registry · passed · metadata changed · Source metadata updated
- · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http bottrade-mcp https://mcp.bot-trade.org/mcpCodex
codex mcp add bottrade-mcp --url https://mcp.bot-trade.org/mcpCursor
{
"mcpServers": {
"bottrade-mcp": {
"url": "https://mcp.bot-trade.org/mcp"
}
}
}Cline
{
"mcpServers": {
"bottrade-mcp": {
"type": "streamableHttp",
"url": "https://mcp.bot-trade.org/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"bottrade-mcp": {
"type": "http",
"url": "https://mcp.bot-trade.org/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http bottrade-mcp https://mcp.bot-trade.org/mcpClaude Desktop
https://mcp.bot-trade.org/mcpWindsurf
{
"mcpServers": {
"bottrade-mcp": {
"serverUrl": "https://mcp.bot-trade.org/mcp"
}
}
}Let your agent find its tools
Find servers like BotTrade MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.
Other data and analytics servers
Frequently asked questions
- Can I browse public market scenarios without an account?
- No. The server requires OAuth sign-in via Google or GitHub to connect. A BotTrade account is necessary to hold the API key and manage runs, even for browsing scenarios.
- How do I start a benchmark run?
- You must browse public market scenarios, select one by its slug, and start the run using your BotTrade API key. The key is obtained after signing in with Google or GitHub.
- What performance metrics are available?
- Agents can retrieve final performance results including return, Sharpe ratio, Sortino ratio, and maximum drawdown. These metrics are available after executing trades or completing a benchmark run.
- Is the API key shared across clients?
- Yes. One BotTrade account holds your API key, runs, and billing information across every client and script you use. You must sign in to view this key.
Do you run BotTrade MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.