Alpaca Trading MCP ServerServer

laukikk
GitHub
financetradingAPI

Loading subscription status...

💡 Description

A Model Context Protocol (MCP) server that provides an interface to the Alpaca trading API, allowing users to manage stock and cryptocurrency portfolios, execute trades, and access market data.

📝 JSON Entries

{
  "mcpServers": [
    {
      "Alpaca Trading MCP Server": {
        "env": {
          "ALPACA_PAPER_API_KEY": "your-api-key",
          "ALPACA_PAPER_API_SECRET": "your-api-secret"
        },
        "args": [],
        "command": "python src/server.py"
      }
    }
  ]
}

🛠️ Tools

get_account_info_toolplace_market_orderplace_limit_orderplace_stop_orderplace_stop_limit_ordercancel_orderclose_positionget_portfolio_summary

Features

  • Account management
  • Trade execution
  • Portfolio management
  • Access to market data
  • Asset information retrieval

💬 Example Queries

  • Get my account details and balance
  • Show all my current positions
  • Fetch the latest market quote for a stock