Skip to content
Beta
Docs+

Codex

Connect uSMART MCP to Codex — order queries, pre-trade checks and (opt-in) trading.

Updated 2026-10-21

Local clients run usmart-mcp over stdio: credentials stay in ~/.usmart on your machine, and the first call opens the browser for uSMART authorization.

Where to find it

Edit ~/.codex/config.toml

Configuration

codex
toml
[mcp_servers.usmart]
command = "uvx"
args = ["--from", "usmart-mcp==1.2.0", "usmart-mcp"]
env = { USMART_READONLY = "1" }
startup_timeout_sec = 60

Finish authorization

  1. Install Python 3.10+ and uv
  2. Add usmart-mcp to the client with the configuration above
  3. The first call opens the browser for uSMART authorization
  4. Stay on USMART_READONLY=1 and verify with check_trade_credentials and list_today_orders

Other clients

Stuck?

Send us a screenshot and your client version and we will take a look.

Contact support