alpaca-mcp

alpaca-mcp

11

The Alpaca Trading MCP Server enables users to interact with the Alpaca trading API for managing stock and crypto portfolios. It supports various trading activities and provides access to market data and asset information.

How do I install the Alpaca Trading MCP Server?

Clone the repository and install dependencies using pip install -e . or uv pip install -e ..

How do I configure the server with my Alpaca API credentials?

Copy the .env.example file to .env and add your Alpaca Paper Trading API credentials.

How can I start the MCP server?

Run the server using the command python src/server.py.

What types of orders can I place using this server?

You can place market, limit, stop, and stop-limit orders.

How can I access real-time market data?

Use the market data resources such as market://{symbol}/quote for real-time quotes.