Skip to main content
Glama
rollhub-dice-mcp

rollhub-dice-mcp

Official
by rollhub-dev

🎲 rollhub-dice-mcp

npm version License: MIT MCP

MCP server casino for AI agents — provably fair dice & coinflip gambling via Claude Desktop, Cursor, and any MCP-compatible client.

🎰 Agent Casino — The first provably fair crypto casino built for AI agents

What is this?

rollhub-dice-mcp is a Model Context Protocol (MCP) server that connects AI assistants to Agent Casino, the provably fair crypto betting API for AI agents. Let Claude, GPT, or any MCP client place dice bets, verify fairness cryptographically (SHA3-384 + AES-256-CTR), and manage crypto deposits/withdrawals across 70+ blockchain networks. Zero-trust gambling with 99% RTP.

Related MCP server: razz-mcp

Features

  • MCP server casino — drop-in provably fair dice & coinflip for Claude Desktop & Cursor

  • Auto-verification of every bet — SHA3-384 + AES-256-CTR commit-reveal proof

  • 70+ cryptocurrency chains for deposits and withdrawals (SOL, ETH, BTC, USDT, USDC...)

  • 99% RTP, 1% house edge, transparent math

  • 30% affiliate earnings on referred agents — agent affiliate program

  • Register new agents, place bets, verify proofs, check balance & history

Quick Start

npx rollhub-dice-mcp

Claude Desktop Configuration

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "rollhub-dice": {
      "command": "npx",
      "args": ["-y", "rollhub-dice-mcp"],
      "env": {
        "ROLLHUB_API_KEY": "your-api-key"
      }
    }
  }
}

Config file location:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Then restart Claude Desktop. Ask: "Roll a dice over 50 for 100 units" — it just works!

Cursor / Windsurf / Other MCP Clients

Any MCP-compatible client can use this server. The command is:

npx -y rollhub-dice-mcp

Set ROLLHUB_API_KEY environment variable with your API key from agent.rollhub.com.

Available MCP Tools

Tool

Description

register

Create a new agent account

bet

Place a dice bet (over/under target)

coinflip

Flip a coin (heads/tails)

verify

Verify bet fairness cryptographically

balance

Check agent balance

history

Get bet history

deposit

Get deposit address for 70+ chains

withdraw

Withdraw winnings

💰 Affiliate Program — Earn Crypto with AI

Earn 30% of house edge on every bet by agents you refer. Instant credit. AI agents can earn money by referring other autonomous gambling agents.

Also check out rollhub-affiliate-mcp — a dedicated MCP server for affiliate marketing automation.

Full Ecosystem

Package

Registry

Description

rollhub-dice

PyPI

Core Python SDK for AI agent gambling API

rollhub-dice

npm

Core JS/TS SDK for AI agent gambling API

rollhub-dice-mcp

npm

MCP server casino for Claude Desktop & Cursor

rollhub-affiliate-mcp

npm

Affiliate marketing MCP server

langchain-rollhub

PyPI

LangChain gambling tool

crewai-rollhub

PyPI

CrewAI gambling tool

rollhub-openai-tools

npm

OpenAI function calling gambling

rollhub-ai-tools

npm

Vercel AI SDK tools

eliza-rollhub

npm

ElizaOS plugin

autogpt-rollhub

PyPI

AutoGPT plugin

Keywords

MCP server casino, AI agent gambling, provably fair dice, Claude Desktop gambling, crypto betting API, coinflip MCP, zero-trust verification, autonomous agent betting, Solana gambling API, AI casino

Available Tools

11 tools
rollhub_affiliate_statsB

Get Agent Casino affiliate earnings — earn 30% of house edge on referred agents. Agent affiliate program with instant credit. Returns referral code, link, earnings.

Inputs: api_key.

rollhub_balanceB

Check current Agent Casino crypto betting account balance for the AI agent gambling API.

Inputs: api_key.

rollhub_betB

Place a provably fair dice bet with real cryptocurrency on Agent Casino. Every outcome is cryptographically verified using SHA3-384 + AES-256-CTR commit-reveal. 99% RTP, 1% house edge. 70+ blockchain networks.

Inputs: amount (required), target (required), direction (required), api_key.

rollhub_coinflipB

Place a provably fair coinflip bet on Agent Casino. Pick heads or tails, cryptographically verified. 99% RTP, 70+ blockchain networks.

Inputs: side (required), amount (required), api_key.

rollhub_coinflip_verifyC

Verify a coinflip bet was provably fair using zero-trust cryptographic proof.

Inputs: bet_id (required), api_key.

rollhub_gamesC

List available games on Agent Casino — dice, coinflip, and more.

Inputs: api_key.

rollhub_historyC

Get recent bet history from Agent Casino AI agent gambling API.

Inputs: api_key.

rollhub_registerC

Register a new agent wallet on Agent Casino (AI agent gambling API) and receive an API key for provably fair dice betting with cryptocurrency.

Inputs: wallet_address (required), ref.

rollhub_rouletteC

Place a provably fair European roulette bet on Agent Casino. 37 numbers (0-36), multiple bet types. Natural 2.7% house edge from zero. Cryptographically verified.

Inputs: amount (required), bet_type (required), bet_value (required), api_key.

rollhub_roulette_verifyC

Verify a roulette bet was provably fair.

Inputs: bet_id (required), api_key.

rollhub_verifyB

Verify a bet was provably fair using zero-trust cryptographic proof — SHA3-384 + AES-256-CTR client-side recomputation. Independent verification.

Inputs: bet_id (required), api_key.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 11 tools

    Disambiguation4/5

    Each game (dice, coinflip, roulette) has its own bet tool and a matching _verify tool, so the pairing is mostly clear. The exception is rollhub_verify, which is a generic-sounding name that likely verifies dice bets only and overlaps conceptually with rollhub_coinflip_verify and rollhub_roulette_verify, creating a plausible misselection point.

    Naming Consistency4/5

    All tools share the rollhub_ snake_case prefix and use clear lower_snake tokens, with game verification consistently suffixed _verify. Minor deviation: some names are bare nouns/verbs (balance, register, bet, verify) while others are compound (affiliate_stats, coinflip_verify), so the verb_noun pattern isn't uniform.

    Tool Count5/5

    At 11 tools the surface is well-scoped: account setup, balance, history, game listing, three game bet tools, three verify tools, and affiliate stats. Each tool maps to a distinct operation with no filler.

    Completeness4/5

    The lifecycle of register -> balance -> bet -> verify -> history is fully covered for three games, plus affiliate earnings and game listing. The notable gap is fund management: there is no deposit, withdrawal, or transaction/settlement tool, so an agent cannot move crypto out of the account, and there is no tool to fetch a single bet by ID.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers