Labsco
MCP SERVER

Alpaca Trading

by laukikk

Trade and track an Alpaca portfolio from the assistant — account status, market and stop orders, positions closed on request.

Trading Execution & Brokerage
Summary
A paper trading account an assistant can actually operate.

All four order types are here, which means a full entry and exit can be expressed rather than just a buy: a stop-limit is the same kind of call as a market order. The documented configuration points at paper trading, so a strategy can be exercised end to end before real money is involved.

What it is

A trading connection to the Alpaca API covering stocks and crypto. Account and portfolio state, the four order types, and position management are tools; quotes, positions and recent orders are also exposed as resources.

What you get
  • Account details and balances, and a portfolio summary with its performance
  • Market and limit orders
  • Stop and stop-limit orders, for exits defined in advance
  • An order cancelled before it fills
  • A position closed on request
  • Resources alongside the tools: account info, all positions, one symbol's position, and recent orders
Requirements

Alpaca API credentials in a local .env file — the documented setup uses paper trading keys, which you create from an Alpaca account.

Setup effort

One command plus a key — npx -y @smithery/cli install @laukikk/alpaca-mcp --client claude, then supply credentials