Skip to content
VS Code

Keyban Agent Wallet for VS Code

io.keyban.mcp/agent-wallet

Give an AI agent its own blockchain wallet: balances, USDC transfers, x402 payments under policy.

client:VS Code transport:stdio runtime:npm

Install Keyban Agent Wallet in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "keyban-api-key",
      "description": "KEYBAN_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "keyban-app-id",
      "description": "KEYBAN_APP_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "keyban-invite-key",
      "description": "KEYBAN_INVITE_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "keyban-wallet-address",
      "description": "KEYBAN_WALLET_ADDRESS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "keyban-funding",
      "description": "KEYBAN_FUNDING",
      "password": true
    },
    {
      "type": "promptString",
      "id": "keyban-network",
      "description": "KEYBAN_NETWORK",
      "password": true
    },
    {
      "type": "promptString",
      "id": "keyban-base-url",
      "description": "KEYBAN_BASE_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "keyban-dkg-blob",
      "description": "KEYBAN_DKG_BLOB",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-log-file",
      "description": "MCP_LOG_FILE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-log-level",
      "description": "MCP_LOG_LEVEL",
      "password": true
    }
  ],
  "servers": {
    "agent-wallet": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@keyban/cli"
      ],
      "env": {
        "KEYBAN_API_KEY": "${input:keyban-api-key}",
        "KEYBAN_APP_ID": "${input:keyban-app-id}",
        "KEYBAN_INVITE_KEY": "${input:keyban-invite-key}",
        "KEYBAN_WALLET_ADDRESS": "${input:keyban-wallet-address}",
        "KEYBAN_FUNDING": "${input:keyban-funding}",
        "KEYBAN_NETWORK": "${input:keyban-network}",
        "KEYBAN_BASE_URL": "${input:keyban-base-url}",
        "KEYBAN_DKG_BLOB": "${input:keyban-dkg-blob}",
        "MCP_LOG_FILE": "${input:mcp-log-file}",
        "MCP_LOG_LEVEL": "${input:mcp-log-level}"
      }
    }
  }
}

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

Keyban Agent Wallet in other clients