MCP server for AI gambling by Agent Casino (Rollhub) — provably fair dice casino, crypto betting API. Claude Desktop compatible. 99% RTP, 70+ chains.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add rollhub-dice --env ROLLHUB_API_KEY='<ROLLHUB_API_KEY>' -- npx -y rollhub-dice-mcp~/.codex/config.toml
[mcp_servers.rollhub-dice]
command = "npx"
args = ["-y", "rollhub-dice-mcp"]
env = { ROLLHUB_API_KEY = "<ROLLHUB_API_KEY>" }
# codex mcp add rollhub-dice --env ROLLHUB_API_KEY='<ROLLHUB_API_KEY>' -- npx -y rollhub-dice-mcp~/.cursor/mcp.json
{
"mcpServers": {
"rollhub-dice": {
"command": "npx",
"args": [
"-y",
"rollhub-dice-mcp"
],
"env": {
"ROLLHUB_API_KEY": "<ROLLHUB_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"rollhub-dice": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"rollhub-dice-mcp"
],
"env": {
"ROLLHUB_API_KEY": "<ROLLHUB_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"rollhub-dice": {
"command": "npx",
"args": [
"-y",
"rollhub-dice-mcp"
],
"env": {
"ROLLHUB_API_KEY": "<ROLLHUB_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"rollhub-dice": {
"command": "npx",
"args": [
"-y",
"rollhub-dice-mcp"
],
"env": {
"ROLLHUB_API_KEY": "<ROLLHUB_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"rollhub-dice": {
"command": "npx",
"args": [
"-y",
"rollhub-dice-mcp"
],
"env": {
"ROLLHUB_API_KEY": "<ROLLHUB_API_KEY>"
}
}
}
}Environment variables
ROLLHUB_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.