Skip to content
VS Code

xpay for VS Code

io.github.xona-labs/xpay

Xona Wallet: agent wallet for AI agents. x402 payments, AgenC hires, 20k+ services

client:VS Code transport:stdio runtime:npm

Install xpay in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "xpay-profile",
      "description": "XPAY_PROFILE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "xpay-passphrase",
      "description": "XPAY_PASSPHRASE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "xpay-home",
      "description": "XPAY_HOME",
      "password": true
    },
    {
      "type": "promptString",
      "id": "xpay-no-auto-wallet",
      "description": "XPAY_NO_AUTO_WALLET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "xpay-solana-secret",
      "description": "XPAY_SOLANA_SECRET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "xpay-evm-key",
      "description": "XPAY_EVM_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "xpay-evm-network",
      "description": "XPAY_EVM_NETWORK",
      "password": true
    }
  ],
  "servers": {
    "xpay": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@xona-labs/xpay"
      ],
      "env": {
        "XPAY_PROFILE": "${input:xpay-profile}",
        "XPAY_PASSPHRASE": "${input:xpay-passphrase}",
        "XPAY_HOME": "${input:xpay-home}",
        "XPAY_NO_AUTO_WALLET": "${input:xpay-no-auto-wallet}",
        "XPAY_SOLANA_SECRET": "${input:xpay-solana-secret}",
        "XPAY_EVM_KEY": "${input:xpay-evm-key}",
        "XPAY_EVM_NETWORK": "${input:xpay-evm-network}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

xpay in other clients