GuideLast updated

How to trade with Xiaomi MiMo

Short answer: Xiaomi's MiMo Code agent supports remote MCP servers. Add an openfinance entry with type: "remote" and url: "https://api.openfinance.tech/agent/mcp" to mimocode.json, check it with mimo mcp list, and MiMo can trade crypto, onchain stocks, forex, memecoins and Polymarket.

MCP URL: https://api.openfinance.tech/agent/mcp · HTTP streamable · works with any MCP client · one URL, no SDK · no KYC · fund with a debit card.

Setup in 60 seconds: get your OpenFinance key and start trading all markets with the cheapest fees.

How Xiaomi MiMo connects to tools

MiMo Code (built on the OpenCode codebase) reads MCP servers from mimocode.json under mcp. Remote servers use type: "remote", url, optional headers, and support Streamable HTTP/SSE with OAuth discovery (mimo mcp auth). mimo mcp debug diagnoses connections. The MiMo chat model on its own has no MCP UI.

Set up Xiaomi MiMo in under 60 seconds

  1. Open mimocode.json in your project or global config.
  2. Paste the block below.
  3. Run mimo mcp list; OpenFinance should show connected.
  4. If needed, mimo mcp debug openfinance.
  5. Ask MiMo for a BTC quote.
{
  "mcp": {
    "openfinance": {
      "type": "remote",
      "url": "https://api.openfinance.tech/agent/mcp",
      "enabled": true,
      "headers": { "x-api-key": "open_xxxxx" }
    }
  }
}

Get your OpenFinance key at openfinance.tech (sidebar → External AI), then fund it with a debit card or crypto.

What Xiaomi MiMo can trade through OpenFinance

Xiaomi MiMo can trade crypto spot and leveraged perps on Hyperliquid, onchain stocks such as TSLA and NVDA, forex, Solana and Base memecoins, and Polymarket prediction markets, all with one OpenFinance key. The full market list is on the hub page.

Prompts to try in Xiaomi MiMo

  • “Long BTC 5x with $50, then write the fill to trades.md.”
  • “Chart TSLA and buy with 3x margin.”
  • “Buy $50 of NVDA and $25 of AAPL stock tokens.”
  • “Ape $20 into the trending Solana memecoin like BONK or WIF, whichever has more volume.”
  • “Bet $10 on Polymarket election odds.”

FAQ

Is MiMo a model or an app?
MiMo is Xiaomi's model family; MiMo Code is its coding agent with MCP support. Use MiMo Code for trading.

Where is mimocode.json?
In your project root or global config dir.

Does OAuth work?
MiMo Code supports OAuth discovery with mimo mcp auth; an API key header also works.

Can I use MiMo models in other agents?
Yes, wherever MiMo is offered as a model; then add OpenFinance in that agent.

How do I debug?
mimo mcp debug openfinance.

Can MiMo trade in Chinese?
Prompts can be in any language the model handles; tickers stay the same.

Related

Sources: https://mimo.xiaomi.com/mimocode/mcp-servers, https://mimo.xiaomi.com/mimocode/cli-subcommands

Trading involves risk, especially with leverage and memecoins. Start small.