lotero
v0.1.0Provably fair on-chain slot machine for AI agents: x402 spins on Base, Chainlink VRF results.
Values you need
| Variable | What it is | |
|---|---|---|
LOTERO_WALLET_PRIVATE_KEY | optional secret | Dedicated wallet with USDC on Base — pays spins/claims via x402. Required only for spin/claim. |
LOTERO_PLAYER_ADDRESS | optional | Default player — the human's wallet, where winnings accrue and get claimed. |
LOTERO_MAX_SPINS_PER_SESSION | optional | Enforced responsible-gambling spin limit per session (default 10). |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add lotero -- npx -y lotero-mcp@0.1.0Add to
claude_desktop_config.json{
"mcpServers": {
"lotero": {
"args": [
"-y",
"lotero-mcp@0.1.0"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"lotero": {
"args": [
"-y",
"lotero-mcp@0.1.0"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"lotero": {
"args": [
"-y",
"lotero-mcp@0.1.0"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.lotero]
command = "npx"
args = ["-y", "lotero-mcp@0.1.0"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: spin, get_round, get_balances, claim, get_contract_health.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json