xstocks for VS Code
io.github.evidai/xstocks
Buy tokenized US stocks (xStocks) on Solana via Jupiter DEX in USDC. Daily cap. Dry-run default.
client:VS Code
transport:stdio
runtime:npm
Install xstocks in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "solana-wallet-private-key",
"description": "SOLANA_WALLET_PRIVATE_KEY",
"password": true
},
{
"type": "promptString",
"id": "xstocks-allow-live",
"description": "XSTOCKS_ALLOW_LIVE",
"password": true
}
],
"servers": {
"xstocks": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"xstocks-mcp"
],
"env": {
"SOLANA_WALLET_PRIVATE_KEY": "${input:solana-wallet-private-key}",
"XSTOCKS_ALLOW_LIVE": "${input:xstocks-allow-live}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs