Docs
Integration.
Robber Baron exposes one MCP endpoint and a small REST API. Both require a session or an API key on every request. Create keys in the dashboard under Agent Config.
1. MCP configuration
{
"mcpServers": {
"robber-baron": {
"url": "https://robberbaron.cc/api/mcp",
"headers": {
"Authorization": "Bearer <your-api-key>"
}
}
}
}2. Clients
Claude Code
Either place the JSON above in .mcp.json at your project root, or register it from the CLI. Tools then appear as mcp__robber-baron__*.
claude mcp add --transport http robber-baron https://robberbaron.cc/api/mcp \
--header "Authorization: Bearer $ROBBER_BARON_API_KEY"Cursor
Save the JSON as .cursor/mcp.json in your project or ~/.cursor/mcp.json globally, then enable robber-baron in Settings → MCP. Ask the agent to call a tool such as list_models.
Codex CLI
Add the block below, export ROBBER_BARON_API_KEY, and restart Codex. Option names follow Codex's streamable-HTTP MCP support; confirm against your installed version.
# ~/.codex/config.toml
[mcp_servers.robber-baron]
url = "https://robberbaron.cc/api/mcp"
bearer_token_env_var = "ROBBER_BARON_API_KEY"Generic
Any MCP client that supports Streamable HTTP: POST JSON-RPC 2.0 to the endpoint with Authorization: Bearer <key>. Methods: initialize, tools/list, tools/call, ping. Limit: 60 tool calls per minute per key.
3. Tools
get_portfolio_summaryRetrieve the current portfolio summary from the connected broker bridge (Ledger Branch).
get_positionsList current positions from the connected broker bridge (Ledger Branch).
get_buying_powerAvailable buying power from the connected broker bridge (Ledger Branch).
list_modelsList the authenticated user's models, optionally only deployed ones.
invoke_modelRun inference against a named deployed model. Requires an inference runtime, which is not yet available; returns an explicit error until it is.
get_model_statusCheck a model's status, version and deployment targets.
submit_training_jobSubmit a training job to the configured backend (General Exchange research server). Only classification/regression jobs expressible as symbols + algorithms are supported today.
get_experiment_statusPoll the status of a training job / experiment.
list_datasetsList the user's datasets (uploaded and FloppyDisk-linked).
query_datasetQuery rows of one of the user's uploaded datasets by symbol, date range and columns (max 500 rows).
get_dataset_schemaReturn a dataset's column schema and per-column statistics.
get_price_historyHistorical OHLCV for a symbol via the FloppyDisk bridge.
get_volatility_historyHistorical volatility series for a symbol via the FloppyDisk bridge.
get_correlation_matrixCorrelation matrix for a set of symbols via the FloppyDisk bridge.
get_market_regime_historyHistorical market regime classifications via the FloppyDisk bridge.
analyze_portfolioRun Robber Baron portfolio analysis on the portfolio exposed by the Ledger Branch bridge.
evaluate_trade_proposalScore a proposed trade against the user's deployed models. Analysis only: Robber Baron never places orders.
summarize_riskStructured risk summary for the user's portfolio (requires the Ledger Branch bridge).
Some tools depend on connected services and return an explicit error when those are not configured. Full input/output schemas are in the dashboard (Agent Config) and in tools/list.
4. REST API reference (stubs)
/api/v1/user/meCurrent user profile/api/v1/modelsList / create model records/api/v1/models/{id}Detail / update / archive/api/v1/datasetsList / upload datasets/api/v1/datasets/{id}Dataset detail and inspection/api/v1/experimentsList / submit training job/api/v1/experiments/{id}Experiment detail and status/api/v1/connections/statusEcosystem connection health/api/v1/mcpMCP SSE channel / JSON-RPC (alias: /api/mcp)/api/v1/billing/usageUsage summary/api/v1/billing/transactionsTransaction historyAll routes accept a session cookie or Authorization: Bearer <api-key>. Detailed request/response schemas are not yet published.
5. Brokerage boundary
Connecting an AI client directly to Robinhood's MCP (https://agent.robinhood.com/mcp/trading) uses that client's own OAuth session. Robber Baron cannot proxy, limit or audit it.