Research by conversation
Ask the agent to investigate markets, companies, filings, strategies, and your connected account context.
Codex MCP broker guide
Codex connects to BotSpot's remote MCP server, not directly to a brokerage account. BotSpot keeps the saved broker connection, exposes permitted research and trading tools, and requires separate approval before a staged order can execute.
Ask the agent to investigate markets, companies, filings, strategies, and your connected account context.
When direct trading is enabled, request a one-time trade in plain English, inspect the order, and approve it before submission.
Create, revise, backtest, connect, and operate Lumibot strategies without assembling the full application stack yourself.
Work in BotSpot or connect through ChatGPT, Claude, Cursor, Codex, and other compatible MCP clients.
Codex is the MCP client. BotSpot supplies the authenticated tools and workflow. A supported broker holds the account and executes eligible orders.
Connect the brokerage account inside BotSpot first. Do not paste broker credentials into Codex, a prompt, a repository, or config.toml.
Create a BotSpot API key from Account Settings, store it in the BOTSPOT_API_KEY environment variable, then add the BotSpot server to Codex configuration.
Use ~/.codex/config.toml for this host or .codex/config.toml inside a trusted project. Never commit the API key or write its value directly into the TOML file.
Restart the Codex client after changing MCP configuration. Run codex mcp list from the CLI or use /mcp inside Codex to confirm BotSpot is connected.
Start with a narrow prompt such as: “List my BotSpot strategies and latest backtests. Do not create, edit, deploy, or trade.” Verify returned account context before allowing write-capable work.
OpenAI documents per-server tool approval controls. Add default_tools_approval_mode = "writes" under the BotSpot MCP server when you want Codex to prompt before tools not marked read-only.
Codex approval does not replace BotSpot trade approval. It adds a client-side checkpoint before BotSpot creates the pending action.
Current BotSpot support includes stock, options, futures, and crypto connections. Support means BotSpot can connect to the listed provider; it does not prove that every account can place every order.
Ask Codex for a concrete symbol, side, quantity, order type, time in force, and required prices. When the place_trade tool is available, BotSpot validates the request and creates a pending high-risk action.
Review the short-lived BotSpot authorization page while signed in. Confirm broker, paper or live mode, symbol, quantity, order type, prices, option legs, and exits before approving.
Do not treat creation of the approval as execution. Use BotSpot status or get_single_trade_status after approval before claiming the order was submitted, filled, rejected, or canceled.
Direct trading depends on the place_trade scope being present for the current BotSpot API key and MCP session. A deliberately restricted token may expose research and account tools without exposing trade creation.
Broker adapters can also reject unsupported order classes, account permissions, time-in-force values, or product combinations. BotSpot reports those failures without returning broker secrets.
MCP configuration proves connectivity, not trading readiness. Generated analysis can be wrong, backtests remain simulations, and broker execution can differ because of prices, fills, latency, liquidity, fees, permissions, outages, and changing market conditions.
Start with read-only inspection and paper mode where supported. Review every credential scope, order payload, approval screen, and status result.
No. Codex connects to BotSpot through MCP. BotSpot uses your saved supported broker connection for eligible account and execution workflows.
BotSpot's MCP contract does not return raw broker secrets. Keep broker credentials inside BotSpot and keep the BotSpot API key outside prompts and committed files.
No. BotSpot place_trade creates a pending approval request. The exact order must be reviewed and approved through BotSpot before broker submission.
The current BotSpot token or session may not include the place_trade scope. Research and read-only tools can remain available under a narrower access policy.
No. Account permissions, asset eligibility, paper or live mode, market data, regional access, order types, and broker rules still apply.
Sources verified 2026-08-14.
Past performance does not guarantee future results. Automated trading involves risk of loss.