SNAP Protocol for VS Code
io.github.agentzeny/snap-private-payments
Private agent payments on Solana via ZK proofs: deposit, withdraw, list pools, estimate fees.
client:VS Code
transport:stdio
runtime:npm
Install SNAP Protocol in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "snap-rpc-url",
"description": "SNAP_RPC_URL",
"password": true
},
{
"type": "promptString",
"id": "snap-pool-address",
"description": "SNAP_POOL_ADDRESS",
"password": true
},
{
"type": "promptString",
"id": "snap-relayer-url",
"description": "SNAP_RELAYER_URL",
"password": true
}
],
"servers": {
"snap-private-payments": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"snap-mcp-server"
],
"env": {
"SNAP_RPC_URL": "${input:snap-rpc-url}",
"SNAP_POOL_ADDRESS": "${input:snap-pool-address}",
"SNAP_RELAYER_URL": "${input:snap-relayer-url}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs