alpacahq / alpacahq/alpaca-mcp-server
MCP Server Auth with live trading
- Ngôn ngữ chính
- Python
- Star
- 961
- Fork
- 311
- Merge trung bình
- 2 ngày 13 giờ
- Pull request đã merge (30 ngày)
- 4
Mô tả
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?
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.