Skip to content
VS Code

lotero for VS Code

io.github.csacanam/lotero

Provably fair on-chain slot machine for AI agents: x402 spins on Base, Chainlink VRF results.

client:VS Code transport:stdio runtime:npm

Install lotero in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "lotero-wallet-private-key",
      "description": "LOTERO_WALLET_PRIVATE_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "lotero-player-address",
      "description": "LOTERO_PLAYER_ADDRESS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "lotero-max-spins-per-session",
      "description": "LOTERO_MAX_SPINS_PER_SESSION",
      "password": true
    }
  ],
  "servers": {
    "lotero": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "lotero-mcp"
      ],
      "env": {
        "LOTERO_WALLET_PRIVATE_KEY": "${input:lotero-wallet-private-key}",
        "LOTERO_PLAYER_ADDRESS": "${input:lotero-player-address}",
        "LOTERO_MAX_SPINS_PER_SESSION": "${input:lotero-max-spins-per-session}"
      }
    }
  }
}

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

lotero in other clients