alpaca guard for VS Code
io.github.evidai/alpaca-guard
Alpaca trading API with hard daily USD cap guard. Paper trading default; live opt-in.
client:VS Code
transport:stdio
runtime:npm
Install alpaca guard in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "alpaca-api-key",
"description": "ALPACA_API_KEY",
"password": true
},
{
"type": "promptString",
"id": "alpaca-secret-key",
"description": "ALPACA_SECRET_KEY",
"password": true
}
],
"servers": {
"alpaca-guard": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"alpaca-guard-mcp"
],
"env": {
"ALPACA_API_KEY": "${input:alpaca-api-key}",
"ALPACA_SECRET_KEY": "${input:alpaca-secret-key}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs