Dice Roller MCP Server
Click on "Install 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., "@Dice Roller MCP Serverroll 2d6+3 for damage"
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.
🎲 Dice Roller MCP Server
A complete example of a Model Context Protocol (MCP) server that provides comprehensive dice rolling functionality for tabletop games, RPGs, and random number generation.
Features
flip_coin- Flip one or more coinsroll_dice- Roll dice using standard notation (e.g., 2d6+3, 1d20-2)roll_custom- Roll custom dice with any number of sidesroll_stats- Generate D&D ability scores using 4d6 drop lowestroll_advantage- Roll d20 with advantageroll_disadvantage- Roll d20 with disadvantageroll_check- Make a skill check against a DCroll_initiative- Roll initiative for combat
Related MCP server: Dice Roller MCP Server
Quick Setup
# 1. Build the Docker image
docker build -t dice-mcp-server .
# 2. Follow the installation instructions
cat install_instructions.txtUsage Examples
Ask Claude:
"Roll 2d6+3 for damage"
"Generate D&D stats for a new character"
"Roll a perception check with +5 modifier against DC 15"
"Flip 3 coins"
"Roll with advantage and add my +7 attack bonus"
Files Included
Dockerfile- Container configurationrequirements.txt- Python dependenciesdice_server.py- Main server implementationinstall_instructions.txt- Step-by-step setup guidereadme.txt- Original documentation
Dice Notation Guide
XdY: Roll X dice with Y sides (e.g., 3d6)
XdY+Z: Add Z to the total
XdY-Z: Subtract Z from the total
d20: When X is omitted, defaults to 1 die
Testing
# Test locally
python dice_server.py
# Test MCP protocol
echo '{"jsonrpc":"2.0","method":"tools/list","id":1}' | python dice_server.pyThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceEnables dice rolling mechanics for tabletop RPGs including standard dice notation, coin flips, advantage/disadvantage rolls, exploding dice, and maintains a history of recent rolls. Supports D\&D 5e mechanics and various gaming dice types (d4, d6, d8, d10, d12, d20, d100).Last updated
- Flicense-qualityDmaintenanceProvides comprehensive dice rolling, coin flipping, and tabletop RPG mechanics for AI assistants like Claude. It enables real-time tabletop gaming through features such as standard NdM notation, advantage/disadvantage rolls, and D\&D character stat generation.Last updated1
- AlicenseAqualityDmaintenanceProvides comprehensive TRPG dice rolling functionality including standard notation, advantage/disadvantage mechanics, and success-counting dice pools. It enables users to perform complex dice logic and track roll history through an MCP-compliant interface.Last updated2MIT
- Alicense-qualityDmaintenanceEnables dice rolling for RPG games using standard dice notation, supporting complex expressions like keep/drop, reroll, exploding dice, and batch rolls.Last updated3MIT
Related MCP Connectors
Manage TTRPG campaigns: NPCs, locations, factions, quests, sessions, lore, and knowledge graphs.
Official remote MCP server for Archivist AI TTRPG campaign memory: characters, sessions, and more.
500+ deterministic tools for AI agents: math, conversion, validation, hashing, encoding, date/time.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ltcg-addict/dice-roller'
If you have feedback or need assistance with the MCP directory API, please join our Discord server