GuideLast updated

How to trade with Grok (GrokBot)

Short answer: Grok supports custom MCP connectors. Go to grok.com/connectors, click New Connector → Custom, paste https://api.openfinance.tech/agent/mcp and sign in. Grok discovers OpenFinance's tools and can then trade crypto perps, onchain stocks, forex, memecoins and Polymarket in normal Grok chats. On Grok Business an admin adds it first in console.x.ai.

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 Grok (GrokBot) connects to tools

xAI's docs: custom connectors live at grok.com/connectors (New Connector → Custom), the server must be publicly reachable (OpenFinance is), and auth is completed in Grok. Business/Enterprise admins provision connectors at console.x.ai → Grok Business → Connectors → Add Connector → Other. The Grok CLI also supports grok mcp add --transport http.

Set up Grok (GrokBot) in under 60 seconds

  1. Open grok.com/connectors.
  2. Click New Connector, then Custom.
  3. Paste https://api.openfinance.tech/agent/mcp and complete sign-in (or API key).
  4. Open a chat and ask Grok to list OpenFinance tools.
  5. CLI users: run the command below instead.
grok mcp add --transport http openfinance https://api.openfinance.tech/agent/mcp \
  --header "x-api-key: ${OPENFINANCE_API_KEY}"

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

What Grok (GrokBot) can trade through OpenFinance

Grok (GrokBot) 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 Grok (GrokBot)

  • “What's trending on X about $WIF? If sentiment is positive, ape $20.”
  • “Long BTC 5x with $100 and watch it for me.”
  • “Chart TSLA vs NVDA this month; buy $50 of the stronger one with 3x margin.”
  • “Bet $10 on Polymarket election odds and explain the market.”
  • “Buy $30 of HYPE and show my Hyperliquid account.”

FAQ

Is GrokBot the same as Grok?
GrokBot on the OpenFinance homepage refers to xAI's Grok assistant. Connectors work in Grok on the web.

Can Grok trade on X sentiment?
Grok can read X and then call OpenFinance tools, so “buy if sentiment is positive” prompts work. You still confirm orders.

What if I'm on Grok Business?
An admin adds OpenFinance in console.x.ai under Grok Business → Connectors → Add Connector → Other; then you connect at grok.com/connectors.

Does Grok need a local server?
No. Grok rejects localhost; OpenFinance is already public HTTPS.

Can developers use OpenFinance through the xAI API?
Yes, see our xAI page: the Responses API takes {type: "mcp", server_url}.

How do I disconnect?
Remove the connector at grok.com/connectors and revoke the key in OpenFinance.

Related

Sources: https://docs.x.ai/grok/connectors, https://docs.x.ai/grok/connector-management, https://docs.x.ai/build/features/mcp-servers

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