-
Notifications
You must be signed in to change notification settings - Fork 145
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?