Skip to content
VS Code

D20DAO Verifiable Randomness for VS Code

org.d20dao/vrf

Verifiable dice, draws and shuffles with on-chain VRF proofs on Arc. 0.05 USDC per draw.

client:VS Code transport:stdio runtime:npm

Install D20DAO Verifiable Randomness in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "d20-daily-limit-usdc",
      "description": "D20_DAILY_LIMIT_USDC",
      "password": true
    },
    {
      "type": "promptString",
      "id": "d20-network",
      "description": "D20_NETWORK",
      "password": true
    },
    {
      "type": "promptString",
      "id": "d20-pay-chain",
      "description": "D20_PAY_CHAIN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "d20-wallet-address",
      "description": "D20_WALLET_ADDRESS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "d20-circle-cli",
      "description": "D20_CIRCLE_CLI",
      "password": true
    },
    {
      "type": "promptString",
      "id": "d20-mcp-home",
      "description": "D20_MCP_HOME",
      "password": true
    }
  ],
  "servers": {
    "vrf": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@d20dao/mcp"
      ],
      "env": {
        "D20_DAILY_LIMIT_USDC": "${input:d20-daily-limit-usdc}",
        "D20_NETWORK": "${input:d20-network}",
        "D20_PAY_CHAIN": "${input:d20-pay-chain}",
        "D20_WALLET_ADDRESS": "${input:d20-wallet-address}",
        "D20_CIRCLE_CLI": "${input:d20-circle-cli}",
        "D20_MCP_HOME": "${input:d20-mcp-home}"
      }
    }
  }
}

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

D20DAO Verifiable Randomness in other clients