alpacahq / alpacahq/alpaca-mcp-server

MCP Server Auth with live trading

Ouverte
#16 5 commentaires 0 réactions 1 personne assignée Réclamée par @idsts2670 Voir sur GitHub
Langage dominant
Python
Étoiles
961
Forks
311
Merge moyen
2 j 13 h
PR mergées (30 j)
4

Description

I am having issues with authentication of MCP server when using with claude desktop . Even though I have configured my live trading API's correctly . This is the error I am getting : 
{"code":40110000,"message":"request is not authorized"} 

My tool config file : 
{
  "mcpServers": {
    "alpaca": {
      "command": "/Users/zee/alpaca-mcp-server/venv/bin/python",
      "args": [
        "/Users/zee/alpaca-mcp-server/alpaca_mcp_server.py"
      ],
      "env": {
        "ALPACA_API_KEY": "ABCDEEFGH",
        "ALPACA_SECRET_KEY": "ZYXWV"
      }
    }
  }
}

I've correctly configured based on your github documentation the values and set paper trading=False as well in .env file. 

 A curl using the same API keys works successfully : 
curl -X GET "https://api.alpaca.markets/v2/account" \
  -H "APCA-API-KEY-ID: ABCDEEF" \
  -H "APCA-API-SECRET-KEY: ZYXVW"

Have you guys disabled Live trading through MCP Server since I am able to use the same APIs for live trading?
How can I get more debug logs ?
Can you help me resolving this issue?

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.