Alpaca MCP Server

A Model Context Protocol (MCP) server for Alpaca Trading API that provides seamless integration with AI assistants and development tools.

Local serverstdio

What is the Alpaca MCP Server?

Alpaca MCP Server is an MCP project maintained in the jwaresolutions/alpaca-mcp-server repository. The maintainer describes its purpose as “A Model Context Protocol (MCP) server for Alpaca Trading API that provides seamless integration with AI assistants and development tools”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using python. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Configuration values

The example declares APCA_API_KEY_ID, APCA_API_SECRET_KEY, APCA_API_BASE_URL. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

How to install the Alpaca MCP Server

{
  "mcpServers": {
    "alpaca": {
      "command": "python",
      "args": [
        "/path/to/alpaca-mcp-server/alpaca_mcp_server.py"
      ],
      "env": {
        "APCA_API_KEY_ID": "YOUR_APCA_API_KEY_ID",
        "APCA_API_SECRET_KEY": "YOUR_APCA_API_SECRET_KEY",
        "APCA_API_BASE_URL": "https://paper-api.alpaca.markets"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
APCA_API_KEY_IDDeclared in the maintainer’s client configuration.Check documentation
APCA_API_SECRET_KEYDeclared in the maintainer’s client configuration.Check documentation
APCA_API_BASE_URLDeclared in the maintainer’s client configuration.Check documentation