Skip to content
Skip to main content

TradeZero MCP

TradeZero MCP (Model Context Protocol) links your TradeZero account to Claude, Claude Code, ChatGPT, Perplexity, Cursor, or VS Code through TradeZero's hosted MCP server. Add the server URL in your assistant, complete OAuth sign-in, and manage your account in natural language. For the complete tool catalog, see the TradeZero MCP Tool Reference.

Assistant connects to TradeZero hosted MCP, which calls the Trading API

Disclaimer - live trading

Orders you approve through MCP are real. On a live TradeZero brokerage account, every order, cancellation, or locate you confirm via an MCP client is a real transaction that can use real money, incur fees, and have the same effect as a trade placed through TradeZero Platforms.

You are responsible for checking every preflight detail before you approve - including whether the account is paper or live, plus symbol, side, quantity, order type, price, and route. TradeZero does not operate or control third-party AI assistants or how they interpret your instructions.

Keep write-approval prompts enabled in your client. Paper accounts use simulated funds only. See tools that can move money.

This notice is for documentation purposes only and is not legal or investment advice.

Before you get started

  • API Trading enabled in the TradeZero Portal.

  • An MCP client with remote Streamable HTTP and OAuth 2.0 (clients below).

  • Hosted MCP URLhttps://webapi.tradezero.com/mcp

Paste the hosted URL, complete OAuth sign-in, and confirm accountType (Paper or Live) from list_accounts before any write operation. Use OAuth only - do not configure API keys in the assistant.

Connect your client

Each client has its own plan and UI requirements. ChatGPT Free, Plus, and Pro do not support TradeZero MCP - use Business, Enterprise, or Edu, or pick another client below.

Select a platform

Plan requirements

Remote custom connectors work on Free (one connector), Pro, Max, Team, and Enterprise. On Team/Enterprise, an Owner must add the connector first; members then click Connect.

3 steps

  1. Open Connectors

    On Free / Pro / Max: claude.ai → Customize → Connectors → + → Add custom connector. Free accounts are limited to one custom connector.

    On Team / Enterprise: an Owner adds it under Organization settings → Connectors → Add → Custom → Web. Members then open Customize → Connectors and click Connect.

  2. Add the server URL

    Paste into Remote MCP server URL. Leave OAuth client ID/secret empty (Dynamic Client Registration). Click Add, then complete TradeZero sign-in if prompted.

    https://webapi.tradezero.com/mcp

  3. Enable in chat

    In the chat composer, open + → Connectors and turn TradeZero on for that conversation.

Guide: Claude custom connectors (remote MCP).

Any MCP client that supports remote Streamable HTTP transport and OAuth 2.0 can connect: paste the hosted URL, complete sign-in, and authorize access to your TradeZero account.

What you can do

Read balances, positions, profit and loss, orders, and cash history. Place and cancel equity and options orders. Execute the short-locate workflow on live accounts. See the Tool Reference for the complete catalog.

No market data

The hosted MCP server does not stream quotes, options chains, or charts. Supply your own limit prices on orders.

Prompts to try

After you connect, open a new chat and paste any prompt below. Section-by-section examples are on the Tool Reference.

Account

  • ReadShow me my current balance and buying power - and tell me whether this account is paper or live.
  • ReadHow is my portfolio performing today?
  • ReadWhat positions do I have open right now?
  • ReadShow me my recent cash transactions.

Orders

  • ReadWhat open orders do I have on my account right now?
  • ReadWalk me through why my last order was rejected.
  • WriteCancel my open AAPL order.
  • WritePlace a limit order to buy 100 shares of AAPL at $180.

Options

  • ReadWhat option positions do I have open?
  • WriteBuy to open one AAPL call - I will give you the OCC symbol and a limit of $2.50.

Short locates

  • ReadIs BB easy to borrow right now?
  • ReadWhat locate inventory do I still have available today?
  • Write

    Quote me a locate for 500 shares of BB and show each offer with its cost before I accept.

    Live account only.

FAQ

Troubleshooting

ClientSymptomFix
ChatGPTNo Developer mode / cannot create appFree / Plus / Pro cannot do this. Use Business/Enterprise/Edu on the web, or Claude / Perplexity / Cursor / VS Code. Workspace members may need an admin to enable Developer mode.
ChatGPTApp exists but tools unusedNew chat → composer +Developer mode → select TradeZero MCP
ChatGPTOn Plus or ProTradeZero MCP is not supported on those plans - upgrade to Business/Enterprise/Edu or use Claude, Perplexity (Pro/Max/Enterprise), Cursor, or VS Code
PerplexityNo + Custom connectorNeed Pro/Max/Enterprise. On Enterprise, admin must allow custom connectors.
ClaudeConnector missing for membersOwner must add it under Organization settings → Connectors first
ClaudeCannot add a second connectorFree is limited to one custom connector - remove another connector first
CursorServer missingCustomize → MCPs; check Output → MCP Logs
CursorJSON file openedAdd a url entry in mcp.json or update Cursor
AllNo OAuth / no toolsEnable connector in chat. Well-known URLs are path-inserted (…/oauth-protected-resource/mcp, …/oauth-authorization-server/mcp-oauth2) - root paths 404
Claude / ChatGPTTools missing in chatEnable connector per conversation; fresh chat
VS CodeTools unusedCopilot Chat in Agent mode (not Ask/Edit)
All401Finish TradeZero login; Claude Code: /mcp → Authenticate
AllOlder order historyUse get_historical_orders or get_historical_orders_paginated for fill archives; get_todays_orders / get_order for the session book

Disconnecting

Remove the connector in the assistant (Claude: Customize → Connectors; ChatGPT: remove the developer-mode app / disconnect under Apps or Plugins; Cursor: Tools & MCP; VS Code: MCP list; Claude Code: claude mcp remove tradezero). Open orders stay in the market. Removing the client may not revoke the OAuth token - sign out of TradeZero browser sessions if you need to end access.

Session and rate limits

Re-authenticate on 401 or Needs authentication. MCP calls share API rate limits with REST.