Skip to content

Guide / Checked Nov 2026

How do I connect Claude or ChatGPT to my broker?

Nyria's MCP server connects Claude or ChatGPT to your Charles Schwab, Tradier, tastytrade or Alpaca account. The agent sends alerts to a Nyria strategy, and a bot on that strategy places each one as an order at the broker. A live bot places a real order, a paper bot only simulates, and the bot sets the size. Paste the strategy's MCP server URL into the client and start on Nyria Paper.

Official documentation

Connect an agent to your broker in six steps

  1. 1

    Connect your broker

    In Nyria, open Integrations. Charles Schwab, Tradier and tastytrade connect through the broker's own sign-in, and Alpaca with an API key. Skip this step to stay on Nyria Paper.

  2. 2

    Create an AI Agent strategy

    Select Create strategy and pick AI Agent (MCP) as the alert source. Open it, select the Integration tab, then Show URL, and copy the MCP server URL.

  3. 3

    Deploy a paper bot

    Select Deploy bot, choose Nyria Paper and set a Budget per entry. Nyria Paper is free and needs no broker.

  4. 4

    Add the URL to your client

    In Claude, go to Customize, then Connectors, add a custom connector and choose No sign in. In ChatGPT, open Plugins and select Add custom MCP server. OpenAI lists it for Business and Enterprise/Edu. The token in the URL is the key.

  5. 5

    Preview an alert

    Ask the agent to list your bots, then to preview the alert buy AAPL. A preview places nothing.

  6. 6

    Deploy a live bot

    When the paper log reads right, deploy a second bot on your broker account. From then on, an alert the agent sends places a real order there.

What reaches your broker

  • The agent sends an alert to the strategy. Nyria passes it to every bot on that strategy, live and paper alike.
  • The bot sets the size from its own settings. The agent's message names the trade.
  • Nyria places market and limit orders. Closes come from exit alerts.
  • Nyria attaches no stop order to a live entry.

Keep the agent in check

  • Each strategy has its own MCP server URL with its own token.
  • The URL is the key to one strategy. Keep it out of chats, screenshots and repositories.
  • Select Rotate token on the Integration tab to cut the agent off. The old URL stops working at once.
  • A preview reads an alert and shows what Nyria would do. It places nothing.
  • The Logs tab shows every alert the agent sent and the order it became.
  • An agent can send a wrong or duplicate alert. Read the log before you add a live bot.

Questions

Can an AI trading agent place real orders?
Yes, when the strategy has a live bot on Nyria. The agent sends the alert, and the live bot places a real order at its broker. A paper bot only simulates.
Can I let an AI agent trade my Schwab or Alpaca account on paper first?
Yes. Put a bot on Nyria Paper, which is free, and let the agent preview and send alerts there. Alpaca also connects with a paper API key. Nyria can't connect Schwab's paperMoney. When the paper log reads right, deploy a bot on the Schwab or Alpaca account.
Is there an MCP server for stock trading?
Yes. Nyria runs one at https://api.nyria.io/mcp over Streamable HTTP. Each strategy has its own token, and a bot places the agent's alerts at Charles Schwab, Tradier, tastytrade or Alpaca.
Who sets the position size?
The bot does. The agent's message names the trade, and the Budget per entry on the bot decides how much.
How do I cut the agent off?
Select Rotate token on the strategy's Integration tab and confirm. The old URL stops working at once.

Next

Try a paper bot first

No card required. Paper is free. Live trading from $15 a month.