Dice 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 MCP Serverroll 1d20+5 with advantage against DC 15"
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 MCP Server
A Model Context Protocol (MCP) server for TRPG dice rolling across multiple game systems.
Quick Start
uvx (recommended)
{
"mcpServers": {
"dice": {
"command": "uvx",
"args": ["roleplaying-dice-mcp"]
}
}
}Config: macOS
~/Library/Application Support/Claude/claude_desktop_config.json/ Windows%APPDATA%\Claude\claude_desktop_config.json
pip / Docker
pip install roleplaying-dice-mcp
roleplaying-dice-mcpdocker build -t dice-mcp-server . && docker run -i dice-mcp-serverRelated MCP server: Dice Roller MCP Server
Tools
Tool | Purpose | Key Params |
| Roll dice using standard notation (NdM+X, kh/kl, dF) |
|
| Dice pool with success counting (WoD, Shadowrun) |
|
| Re-roll last roll with same params | — |
| Retrieve recent roll log |
|
| Clear roll history | — |
See CONTEXT.md for system-specific parameter mappings and invariants.
Parameter Reference
roll_dice
Parameter | Type | Default | Description |
| string | required | Dice expression: |
| bool |
| Roll d20 twice, take higher (1d20 only) |
| bool |
| Roll d20 twice, take lower (1d20 only) |
| int |
| CoC bonus dice (0–2, 1d100 only) — extra tens, keep lowest |
| int |
| CoC penalty dice (0–2, 1d100 only) — extra tens, keep highest |
| int | — | DC/AC/skill value for success check |
| enum |
|
|
| bool |
| Nat 20/1 detection. With |
| enum | — |
|
roll_pool
Parameter | Type | Default | Description |
| int | required | Number of dice (1–50) |
| int |
| Sides per die |
| int |
| Minimum value for a success (≥) |
| bool |
| Reroll on max value |
| int | — | Double success at this value or higher (must be ≥ target) |
| bool |
| Enable botch/glitch detection |
get_history
Parameter | Type | Default | Description |
| int |
| Number of recent rolls to retrieve (1–100) |
System Coverage
System | Coverage | Key Features Used |
D&D 5e | 95% | notation, advantage, critical, target, 4d6kh3 |
CoC 7e | 85% | d100, bonus/penalty dice, degrees=coc, at_most |
PF2e | 85% | d20+mod, degrees=pf2e, critical (nat 20/1 shift) |
PbtA | 90% | 2d6+mod, degrees=pbta |
FATE | 95% | 4dF+mod |
WoD | 90% | roll_pool, explode, count_ones (botch) |
Shadowrun | 85% | roll_pool (d6), count_ones (glitch) |
Savage Worlds | 50% | Exploding works, but no wild die or raise counting |
Project Structure
├── server.py # MCP server — tools & handlers
├── dice_parser.py # Notation parser (NdM, NdF, kh/kl)
├── history.py # Roll history manager
├── src/roleplaying_dice_mcp/ # PyPI package
├── tests/test_trpg_scenario.py
├── pyproject.toml
├── Dockerfile
└── README.mdLicense
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- 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/patissierMongs/roleplayingMCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server