Home › Alpaca MCP Server › V1 vs V2

Alpaca MCP V1 vs V2: what changed and how to upgrade

✓ Written from Alpaca's official README and docs · checked 2026-10-16

Short answer: V2 is a complete rewrite of Alpaca's official MCP server, built with FastMCP and Alpaca's OpenAPI specs. None of the V1 tools exist in V2, configuration moved from a .env file plus init command to env vars in your MCP client config, and V2 adds ALPACA_TOOLSETS to limit which tools the AI sees. Treat it as a new server, not an update.

What changed

AspectV1V2
Tool namesHand-crafted (e.g. get_account_info)Derived from the API spec with overrides; names may overlap with V1 but schemas differ
ParametersCustom schemasAligned with Alpaca API specs
Configuration.env + init commandEnv vars in the MCP client config only; no files written to disk
Tool filtering / whitelistingNot supportedALPACA_TOOLSETS env var

Upgrade checklist

  1. Don't reuse V1 config. Update the command/args in your MCP client and remove any .env or init-based setup.
  2. Restart your MCP client (Claude Desktop, Cursor, VS Code…) so it fetches the new tool list.
  3. Start a fresh chat, since old sessions may reference V1 tool names.
  4. Update custom instructions and rules (Cursor rules, Claude instructions) that name V1 tools.
  5. Rebuild scripts or prompts that call V1 tools by name: Alpaca says to treat them as obsolete.
  6. Restrict tools with ALPACA_TOOLSETS if you previously limited what the assistant could do.

V2 config (Claude Desktop)

{
  "mcpServers": {
    "alpaca": {
      "command": "uvx",
      "args": ["alpaca-mcp-server"],
      "env": {
        "ALPACA_API_KEY": "your_alpaca_api_key",
        "ALPACA_SECRET_KEY": "your_alpaca_secret_key",
        "ALPACA_TOOLSETS": "account,stock-data,crypto-data,options-data,news"
      }
    }
  }
}

That toolset list is read-only: it leaves out trading. ALPACA_PAPER_TRADE defaults to true; set it to false only with live keys. Full walkthrough: connect Claude to Alpaca MCP.

V2 toolsets

ToolsetCovers
accountAccount info, config, portfolio history, activities
tradingOrders, positions, exercise options
watchlistsWatchlist CRUD operations
assetsAsset lookup, option contracts, calendar, clock
stock-dataStock bars, quotes, trades, snapshots, screeners
crypto-dataCrypto bars, quotes, trades, snapshots, orderbooks
options-dataOption bars, quotes, trades, snapshots, chain, exchange codes
corporate-actionsCorporate action announcements
newsNews articles for stocks and crypto
fixed-income-dataFixed income (bond/treasury) quotes
locatesShort-sale locate requests and quotes

Staying on V1

Pin the last V1 release in your MCP client config, e.g. uvx alpaca-mcp-server==1.x.x serve (Alpaca's placeholder; pick the exact 1.x version you use). V1 remains on PyPI for existing setups.

FAQ

Is Alpaca MCP V2 a drop-in replacement for V1?

No. Alpaca says V2 is a complete rewrite built with FastMCP and OpenAPI, none of the V1 tools exist in V2, and you should assume no backward compatibility.

How do I limit which tools V2 exposes?

Set ALPACA_TOOLSETS to a comma-separated list of toolsets, for example stock-data,crypto-data. V1 had no tool filtering.

Can I stay on V1?

Yes. Pin the last V1 release in your MCP client config (Alpaca's example: uvx alpaca-mcp-server==1.x.x serve). V1 remains on PyPI.

Does V2 still default to paper trading?

Yes. ALPACA_PAPER_TRADE defaults to true; set it to false with live keys to trade live.

Sources: alpacahq/alpaca-mcp-server README, "Upgrading from V1" · Alpaca MCP docs. Not financial advice.

Related

Get the weekly AI-trading stack update

New MCP servers, broker and data API changes, and safety notes. One email a week, unsubscribe anytime.