---
title: "Alpaca MCP server: order rules and how to add them | Galore"
description: "Alpaca's MCP server can use practice money, but its docs describe no rules on a single order. The account settings that help, and how to add rules."
last_updated: "2026-12-05"
url: "https://trygalore.com/learn/alpaca-mcp-server-order-rules"
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://trygalore.com/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

Source: [https://trygalore.com/learn/alpaca-mcp-server-order-rules](https://trygalore.com/learn/alpaca-mcp-server-order-rules)

# 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=false ` and live keys ([Alpaca Trading API MCP](https://docs.alpaca.markets/us/docs/trading-api-mcp)).

- **Hosted by Alpaca.** You sign in with your Alpaca account. Practice and live are separate addresses: ` https://paper-api.alpaca.markets/mcp ` and ` https://api.alpaca.markets/mcp `; Alpaca's ` alpaca-trading ` plugin connects both ([Alpaca agentic docs](https://docs.alpaca.markets/us/docs/agentic)).

## 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](https://github.com/alpacahq/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](https://docs.alpaca.markets/us/reference/patchaccountconfig-1)) 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](https://trygalore.com/night-stop) · [Your rules](https://trygalore.com/rules) · [Galore MCP server](https://trygalore.com/developers/mcp) · [Our promise](https://trygalore.com/cover) · [Pricing](https://trygalore.com/pricing)

Reviewed 5 December 2026

## Sitemap

- [Every page on trygalore.com](https://trygalore.com/sitemap.md)
