Skip to content
VS Code

agentwallet for VS Code

io.github.hifriendbot/agentwallet

Wallet infrastructure for Ai agents. EVM + Solana. x402 payments. No KYC.

client:VS Code transport:stdio runtime:npm

Install agentwallet in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "agentwallet-user",
      "description": "AGENTWALLET_USER",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agentwallet-pass",
      "description": "AGENTWALLET_PASS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agentwallet-api-url",
      "description": "AGENTWALLET_API_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agentwallet-wallet-id",
      "description": "AGENTWALLET_WALLET_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agentwallet-dashboard-url",
      "description": "AGENTWALLET_DASHBOARD_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agentwallet-private-key",
      "description": "AGENTWALLET_PRIVATE_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agentwallet-keyfile",
      "description": "AGENTWALLET_KEYFILE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agentwallet-solana-key",
      "description": "AGENTWALLET_SOLANA_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agentwallet-solana-keyfile",
      "description": "AGENTWALLET_SOLANA_KEYFILE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agentwallet-rpc-url",
      "description": "AGENTWALLET_RPC_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agentwallet-rpc-<chainid>",
      "description": "AGENTWALLET_RPC_<chainId>",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agentwallet-solana-rpc",
      "description": "AGENTWALLET_SOLANA_RPC",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agentwallet-solana-rpc-<chainid>",
      "description": "AGENTWALLET_SOLANA_RPC_<chainId>",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agentwallet-chain-id",
      "description": "AGENTWALLET_CHAIN_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agentwallet-max-tx-native",
      "description": "AGENTWALLET_MAX_TX_NATIVE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agentwallet-max-tx-token",
      "description": "AGENTWALLET_MAX_TX_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agentwallet-max-tx-sol",
      "description": "AGENTWALLET_MAX_TX_SOL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agentwallet-allow-unknown-token-calls",
      "description": "AGENTWALLET_ALLOW_UNKNOWN_TOKEN_CALLS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agentwallet-allow-unlimited-approval",
      "description": "AGENTWALLET_ALLOW_UNLIMITED_APPROVAL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agentwallet-token-decimals",
      "description": "AGENTWALLET_TOKEN_DECIMALS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agentwallet-max-autopay",
      "description": "AGENTWALLET_MAX_AUTOPAY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agentwallet-max-autopay-per-hour",
      "description": "AGENTWALLET_MAX_AUTOPAY_PER_HOUR",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agentwallet-autopay-assets",
      "description": "AGENTWALLET_AUTOPAY_ASSETS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agentwallet-x402-max-timeout",
      "description": "AGENTWALLET_X402_MAX_TIMEOUT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agentwallet-approvals",
      "description": "AGENTWALLET_APPROVALS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agentwallet-permit2-auto-approve",
      "description": "AGENTWALLET_PERMIT2_AUTO_APPROVE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agentwallet-token-risk",
      "description": "AGENTWALLET_TOKEN_RISK",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agentwallet-legacy-paywall-origins",
      "description": "AGENTWALLET_LEGACY_PAYWALL_ORIGINS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agentwallet-max-fee-native",
      "description": "AGENTWALLET_MAX_FEE_NATIVE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agentwallet-policy",
      "description": "AGENTWALLET_POLICY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agentwallet-ledger",
      "description": "AGENTWALLET_LEDGER",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agentwallet-webhook-url",
      "description": "AGENTWALLET_WEBHOOK_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agentwallet-webhook-secret",
      "description": "AGENTWALLET_WEBHOOK_SECRET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agentwallet-keyfile-passphrase",
      "description": "AGENTWALLET_KEYFILE_PASSPHRASE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "agentwallet-keyfile-passphrase-file",
      "description": "AGENTWALLET_KEYFILE_PASSPHRASE_FILE",
      "password": true
    }
  ],
  "servers": {
    "agentwallet": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "agentwallet-mcp"
      ],
      "env": {
        "AGENTWALLET_USER": "${input:agentwallet-user}",
        "AGENTWALLET_PASS": "${input:agentwallet-pass}",
        "AGENTWALLET_API_URL": "${input:agentwallet-api-url}",
        "AGENTWALLET_WALLET_ID": "${input:agentwallet-wallet-id}",
        "AGENTWALLET_DASHBOARD_URL": "${input:agentwallet-dashboard-url}",
        "AGENTWALLET_PRIVATE_KEY": "${input:agentwallet-private-key}",
        "AGENTWALLET_KEYFILE": "${input:agentwallet-keyfile}",
        "AGENTWALLET_SOLANA_KEY": "${input:agentwallet-solana-key}",
        "AGENTWALLET_SOLANA_KEYFILE": "${input:agentwallet-solana-keyfile}",
        "AGENTWALLET_RPC_URL": "${input:agentwallet-rpc-url}",
        "AGENTWALLET_RPC_<chainId>": "${input:agentwallet-rpc-<chainid>}",
        "AGENTWALLET_SOLANA_RPC": "${input:agentwallet-solana-rpc}",
        "AGENTWALLET_SOLANA_RPC_<chainId>": "${input:agentwallet-solana-rpc-<chainid>}",
        "AGENTWALLET_CHAIN_ID": "${input:agentwallet-chain-id}",
        "AGENTWALLET_MAX_TX_NATIVE": "${input:agentwallet-max-tx-native}",
        "AGENTWALLET_MAX_TX_TOKEN": "${input:agentwallet-max-tx-token}",
        "AGENTWALLET_MAX_TX_SOL": "${input:agentwallet-max-tx-sol}",
        "AGENTWALLET_ALLOW_UNKNOWN_TOKEN_CALLS": "${input:agentwallet-allow-unknown-token-calls}",
        "AGENTWALLET_ALLOW_UNLIMITED_APPROVAL": "${input:agentwallet-allow-unlimited-approval}",
        "AGENTWALLET_TOKEN_DECIMALS": "${input:agentwallet-token-decimals}",
        "AGENTWALLET_MAX_AUTOPAY": "${input:agentwallet-max-autopay}",
        "AGENTWALLET_MAX_AUTOPAY_PER_HOUR": "${input:agentwallet-max-autopay-per-hour}",
        "AGENTWALLET_AUTOPAY_ASSETS": "${input:agentwallet-autopay-assets}",
        "AGENTWALLET_X402_MAX_TIMEOUT": "${input:agentwallet-x402-max-timeout}",
        "AGENTWALLET_APPROVALS": "${input:agentwallet-approvals}",
        "AGENTWALLET_PERMIT2_AUTO_APPROVE": "${input:agentwallet-permit2-auto-approve}",
        "AGENTWALLET_TOKEN_RISK": "${input:agentwallet-token-risk}",
        "AGENTWALLET_LEGACY_PAYWALL_ORIGINS": "${input:agentwallet-legacy-paywall-origins}",
        "AGENTWALLET_MAX_FEE_NATIVE": "${input:agentwallet-max-fee-native}",
        "AGENTWALLET_POLICY": "${input:agentwallet-policy}",
        "AGENTWALLET_LEDGER": "${input:agentwallet-ledger}",
        "AGENTWALLET_WEBHOOK_URL": "${input:agentwallet-webhook-url}",
        "AGENTWALLET_WEBHOOK_SECRET": "${input:agentwallet-webhook-secret}",
        "AGENTWALLET_KEYFILE_PASSPHRASE": "${input:agentwallet-keyfile-passphrase}",
        "AGENTWALLET_KEYFILE_PASSPHRASE_FILE": "${input:agentwallet-keyfile-passphrase-file}"
      }
    }
  }
}

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

agentwallet in other clients