token safety check for VS Code
io.github.lx1112/token-safety-check
Rug check tokens on Base, Ethereum, Arbitrum, Optimism, Polygon, Solana: 0-100 risk score + reasons
client:VS Code
transport:stdio
runtime:npm
Install token safety check in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "x402-private-key",
"description": "X402_PRIVATE_KEY",
"password": true
},
{
"type": "promptString",
"id": "token-safety-max-usd",
"description": "TOKEN_SAFETY_MAX_USD",
"password": true
}
],
"servers": {
"token-safety-check": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"token-safety-check"
],
"env": {
"X402_PRIVATE_KEY": "${input:x402-private-key}",
"TOKEN_SAFETY_MAX_USD": "${input:token-safety-max-usd}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs