Alpaca MCP server: order rules and how to add them
Alpaca's MCP server can place live orders for your AI. It can start with practice money and load only some tools, but its docs describe no rules you set on a single order. Those come from your account settings or a check you add.
Two ways to connect
- Run it yourself. The open-source server runs on your computer with your Alpaca API keys. "The server defaults to paper trading" (practice money); live trading needs
ALPACA_PAPER_TRADE=falseand live keys (Alpaca Trading API MCP). - Hosted by Alpaca. You sign in with your Alpaca account. Practice and live are separate addresses:
https://paper-api.alpaca.markets/mcpandhttps://api.alpaca.markets/mcp; Alpaca'salpaca-tradingplugin connects both (Alpaca agentic docs).
Choosing which tools load
On the server you run yourself, ALPACA_TOOLSETS picks which groups of tools your AI gets; "By default, all tools are enabled" (alpaca-mcp-server). Leave out trading and your AI can't place orders. Alpaca's docs describe this filtering for the server you run yourself, not for the hosted one.
One catch: Alpaca's "read-only market data" example includes the account tools, and that group can change account settings. For an AI that only reads, leave out account too.
What Alpaca's MCP docs don't describe
Alpaca's MCP docs describe no cap on the size of one order, no list of allowed stocks, no position cap and no trading hours for the AI. They say: "Orders execute directly against Alpaca's Trading API. Review AI-suggested orders before confirming."
Account settings that help
Alpaca's account configuration settings (account configurations) apply to every order, whoever sends it:
suspend_trade: "If true, new orders are blocked."no_shorting: "If true, account becomes long-only mode."max_options_trading_level: sets how far options trading goes, or turns it off.disable_overnight_trading: "If true, overnight trading is disabled."max_margin_multiplier: set to 1 for no margin.
These are account-wide switches, not rules on which stocks, or how much per order or per day. They hold only if your AI can't change them: on the server you run yourself, leave out account. Alpaca's docs don't say whether the hosted server lets an AI change them.
Adding rules on each order
Galore is an MCP server that sits in front of your brokerage. Your AI sends trades through it, and each one is checked against rules you approve in your own browser (which stocks, how much per trade and in total, and when) before it reaches Alpaca. Your AI can't approve or widen them, and one off switch stops every AI at once. If your AI also has Alpaca's own trading tools, it can place orders there directly: Galore reviews those but can't block them, so for full checks send trades through Galore.
Add https://connect.trygalore.com/mcp to your MCP client and sign in. If Galore lets through a trade your rules don't allow, that month is free. It is not insurance, and market losses are not covered.
Night Stop · Your rules · Galore MCP server · Our promise · Pricing
Read this guide as Markdown · Combined developer reference
Reviewed 5 December 2026
