Dice MCP
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 MCPMake a Dexterity check with a +3 modifier."
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
dice-mcp is a local Model Context Protocol (MCP) server for tabletop role-playing dice rolls. It uses Streamable HTTP at http://127.0.0.1:8000/mcp.
Run locally
This project uses uv. From the repository root, start the server with:
uv run dice-mcpThe server listens only on localhost. Leave it running while using it from an MCP host, then stop it with Ctrl+C.
Related MCP server: Dice Roller MCP Server
Tool
roll_dice
Roll one or more dice and add a modifier.
Parameter | Type | Description |
| integer | Number of sides on each die. |
| integer | Number of dice to roll. |
| integer | Optional value added to the sum of the rolls; defaults to |
| boolean | Optional; rerolls a die that reaches its maximum value. Defaults to |
The result contains displayable individual rolls, their unmodified sum, the modifier, and the final total. An exploded die is marked with *; for example, an exploding d6 result might be {"rolls": ["6*", "3"], "sum": 9, "modifier": 2, "total": 11}.
Dice formulas
The dice utilities also parse conventional dice notation, ready for a formula-based MCP tool:
from dicemcp.dice import parse_formula, roll_formula
parse_formula("2d20+4")
roll_formula("6W6")Both d/D and the German W/w separator are supported, as are modifiers such as d20-1. An omitted amount means one die.
Prompts
The server provides MCP prompts for common d20 tabletop workflows:
ability_checksaving_throwattack_roll(setadvantage=truefor a D&D attack roll that keeps the higher of2d20)damage_rolladvantage_roll(D&D advantage rolls2d20and keeps the higher die; setdisadvantage=trueto keep the lower die)
They instruct the model to call roll_dice and report the relevant dice and total. They are system-neutral guidance based on familiar d20 conventions.
Add it to LM Studio
Start the server in a terminal first:
uv run dice-mcpThen, in LM Studio, open the Program tab, choose Install, then Edit mcp.json. Add this entry inside mcpServers:
{
"dice-mcp": {
"url": "http://127.0.0.1:8000/mcp"
}
}Save the configuration, enable the server in a chat, and ask a dice-related question such as: “Make a Dexterity check with a +3 modifier.” LM Studio supports local MCP servers from version 0.3.17 and uses Cursor-compatible mcp.json notation; see its MCP server guide for current setup details.
This 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-qualityFmaintenanceProvides cryptographically secure random dice rolls for AI assistants, supporting standard and advanced dice notation for tabletop RPGs and games.Last updated8
- 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 functionality for tabletop games and RPGs, supporting standard dice notation, D\&D ability score generation, advantage/disadvantage rolls, and skill checks against difficulty classes.Last updated
- 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
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.
Renders interactive Chart.js charts and dashboards inline in AI conversations.
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/SvenBroeckling/dicemcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server