Back to Home
klysdale icon

alpaca-mcp-server

Verified Safe

by klysdale

Overview

Provides a containerized Alpaca Market-Compatible Protocol (MCP) server for downstream services, enabling centralized API access to Alpaca without requiring callers to provide API keys on each request.

Installation

Run Command
docker compose up --build

Environment Variables

  • ALPACA_API_KEY
  • ALPACA_SECRET_KEY

Security Notes

Credentials (`ALPACA_API_KEY`, `ALPACA_SECRET_KEY`) are designed to be injected at build time via arguments and baked into the Docker image as environment variables. The entrypoint script includes strong validation to prevent the server from starting with default 'changeme' values or empty credentials. However, this approach means any built image containing real credentials must be treated as highly sensitive and should never be pushed to public registries, as anyone with the image can extract the keys. While this risk is explicitly documented and mitigated with runtime validation, baking secrets into images is generally less secure than runtime injection (e.g., via Docker secrets or a secrets manager) as it increases the risk of credential compromise if the image itself is compromised.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassLow
Stars0
Forks0
Last Update2025-12-11

Tags

DockerAPI ProxyFinancial TradingAlpacaMCP