GuideLast updated

How do I trade forex with an AI agent?

Short answer: Connect your AI agent to a trading MCP server. Broker routes, such as cTrader's official MCP servers or fxapis for MetaTrader 5, trade through a forex broker account you already have. OpenFinance (https://api.openfinance.tech/agent/mcp) offers onchain forex in the same connector as crypto perps, stocks, memecoins and Polymarket: FX perps on Hyperliquid (EUR, GBP, JPY and NOK on 15 November 2026) and FX tokens bought spot. There is no KYC on OpenFinance itself and setup takes under 60 seconds. Quote, check, then confirm each order.

MCP URL: https://api.openfinance.tech/agent/mcp · setup in under 60 seconds · no KYC on OpenFinance itself (a debit-card purchase goes through MoonPay, which may run its own checks and holds that data) · a connected IBKR or Robinhood account uses your own verified broker account · crypto spot and perps (everything listed on Hyperliquid), onchain stocks and forex, memecoins, Polymarket · options only in the OpenFinance app via connected IBKR or Robinhood (not via the MCP) · OAuth or an API key (sidebar → External AI) · an API key can withdraw funds, so protect it · OpenFinance enforces no trade limits; set your own · fees 2.5 bps (0.025%) on Hyperliquid perps and spot, 25 bps (0.25%) on Polymarket and onchain swaps, plus venue fees

Forex MCP routes compared

cTrader MCP (local and remote)fxapis (MT5)OpenFinance
What it iscTrader's official MCP servers, included with a cTrader accountA hosted REST API for MetaTrader 5 accounts, with a Claude and ChatGPT connector on its Personal planA hosted trading MCP with its own account
AccountYour cTrader account. Local MCP needs cTrader Windows or Mac running; remote MCP uses a cTrader Web session and a bearer tokenYour broker's MT5 login, password and server; MT5 runs on fxapis's sideOne OpenFinance account; no forex broker needed
Forex marketsYour broker's symbolsYour broker's symbolsHyperliquid FX perps (EUR, GBP, JPY, NOK on 15 Nov 2026) and FX tokens bought spot
ConfirmationLocal MCP has a “Require confirmation for trading operations” settingNot described for the connectorEvery order is quoted first and needs your yes
AI clientsClaude Code, Codex, Cursor, Windsurf, Gemini CLI and GitHub Copilot, per cTraderClaude and ChatGPTClaude, ChatGPT, Grok, Muse, Gemini, Cursor and any MCP client
PriceFree with a cTrader accountFrom $9 a month (14-day free trial)2.5 bps on Hyperliquid perps, plus Hyperliquid's own fees

cTrader details are from help.ctrader.com (cTrader MCP servers), fxapis details from fxapis.com and docs.fxapis.com, and the Hyperliquid FX list and leverage from Hyperliquid's public API, all checked on 15 November 2026. Products change, so re-check before relying on this.

How OpenFinance trades forex

  • FX perps on Hyperliquid: builder-deployed (HIP-3) perpetuals on the xyz market. On 15 November 2026 these were EUR, GBP and JPY with up to 50x leverage, and NOK with up to 10x. Check how each market is quoted (for example, EUR against the dollar or the dollar against JPY) before you go long or short.
  • FX tokens spot: buy fiat-backed stablecoins and FX tokens directly into your own wallet, with no leverage. More on the onchain stocks and forex page.

Trade forex with an AI agent step by step

  1. Get your OpenFinance API key at openfinance.tech (sidebar → External AI) and fund it with a debit card or crypto.
  2. Add https://api.openfinance.tech/agent/mcp in your agent's connectors and sign in.
  3. Ask: “List the Hyperliquid FX perps with their max leverage and funding. Do not place any orders.”
  4. Ask: “Quote a $50 long on EUR at 2x with a 1% stop, and wait for my yes.”
  5. Check the quote, including fees and liquidation price, then confirm.

Example prompts to give your agent

  • “Compare EUR and GBP perp funding on Hyperliquid this week.”
  • “Quote a $40 short on the JPY perp at 2x, explain which way it pays, and wait for my yes.”
  • “Close my EUR position and show my Hyperliquid account.”

Safety

Forex with leverage moves fast. OpenFinance enforces no trade limits and an API key can withdraw funds, so set size and leverage rules yourself, for example: “Never use more than 3x on forex and never risk more than $50 per trade.” Use a dedicated key with a small balance. See Trading MCP safety controls.

Frequently asked questions

Can an AI agent trade forex?

Yes, through an MCP server connected to a forex broker account (such as cTrader's MCP servers) or to OpenFinance, which offers FX perps on Hyperliquid and FX tokens onchain. The agent quotes and you confirm.

Do I need a forex broker account?

For cTrader or MT5 routes, yes. For OpenFinance's onchain forex, no, and there is no KYC on OpenFinance itself.

Which AI assistants work?

Any MCP client: Claude, ChatGPT, Grok, Muse, Gemini and Cursor all work with OpenFinance.

Is there leverage?

On the Hyperliquid FX perps, yes. Each market sets its own maximum: on 15 November 2026 it was up to 50x on EUR, GBP and JPY and up to 10x on NOK. FX tokens bought spot have no leverage. Check the quote before confirming.

Which forex pairs can I trade?

On 15 November 2026 the Hyperliquid FX perps were EUR, GBP, JPY and NOK. Ask your agent to list the current FX markets, because listings change.