kx402 for VS Code
io.github.kali123411/kx402
Kaspa x402 agent payer — pay x402 v2 services on Kaspa (KAS) per call, no account or API key
client:VS Code
transport:stdio
runtime:npm
Install kx402 in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "kaspa-x402-kaspa-wasm-module",
"description": "KASPA_X402_KASPA_WASM_MODULE",
"password": true
},
{
"type": "promptString",
"id": "kaspa-x402-funding-wallet",
"description": "KASPA_X402_FUNDING_WALLET",
"password": true
},
{
"type": "promptString",
"id": "kaspa-x402-network",
"description": "KASPA_X402_NETWORK",
"password": true
}
],
"servers": {
"kx402": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"kx402"
],
"env": {
"KASPA_X402_KASPA_WASM_MODULE": "${input:kaspa-x402-kaspa-wasm-module}",
"KASPA_X402_FUNDING_WALLET": "${input:kaspa-x402-funding-wallet}",
"KASPA_X402_NETWORK": "${input:kaspa-x402-network}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs