rollhub-dice-mcp
OfficialClick on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@rollhub-dice-mcp Roll a dice over 50 for 100 units, then verify the bet was fair"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🎲 rollhub-dice-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-mcpClaude 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.jsonWindows:
%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-mcpSet ROLLHUB_API_KEY environment variable with your API key from agent.rollhub.com.
Available MCP Tools
Tool | Description |
| Create a new agent account |
| Place a dice bet (over/under target) |
| Flip a coin (heads/tails) |
| Verify bet fairness cryptographically |
| Check agent balance |
| Get bet history |
| Get deposit address for 70+ chains |
| 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 |
PyPI | Core Python SDK for AI agent gambling API | |
npm | Core JS/TS SDK for AI agent gambling API | |
npm | MCP server casino for Claude Desktop & Cursor | |
npm | Affiliate marketing MCP server | |
PyPI | LangChain gambling tool | |
PyPI | CrewAI gambling tool | |
npm | OpenAI function calling gambling | |
npm | Vercel AI SDK tools | |
npm | ElizaOS plugin | |
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
Links
🌐 Website: agent.rollhub.com
📖 API docs: agent.rollhub.com (scroll to API Reference)
🎲 Core SDK: rollhub-dice
💰 Affiliate MCP: rollhub-affiliate-mcp
Available Tools
11 toolsrollhub_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
Scored across 11 tools
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.
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.
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.
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
Related MCP Connectors
Provable crypto data for AI agents: sourced checks on tokens, wallets and trades, with proof ids.
No-account cross-chain crypto swaps (BTC, ETH, SOL, USDT, ZEC…) for AI agents. Flat 0.5% fee.
Crypto wallet for AI agents: balances, payments, swaps and trading with owner controls.
Verified EVM, Aptos and finance tools for AI agents; gas for 14 chains. Pay per call (x402).
Related MCP Servers
- AlicenseCqualityDmaintenanceEnables AI agents to interact with cryptocurrency ecosystems through wallet management, trading operations (swaps, DCA, limit orders), staking, and multi-chain support starting with Solana.37GPL 3.0
- AlicenseAqualityDmaintenancePlay provably fair games with real SOL wagering for any AI agent571MIT

Purple Flea Casinoofficial
AlicenseNot gradedqualityDmaintenanceProvably fair crypto casino API for AI agents. Place bets on 8 games (coin flip, dice, roulette, blackjack, crash, plinko), run tournaments, issue 1v1 challenges, and earn 10% referral commissions. No KYC, pure API.65 npm1MIT- AlicenseAqualityCmaintenanceProvides verifiable randomness for AI agents, enabling dice rolls, coin flips, ranges, winners, and shuffles with on-chain proofs, paid via Circle Agent Wallet.353 npmMIT