TypeScript-based MCP server for AI assistants
A comprehensive TypeScript-based Model Context Protocol (MCP) server that provides advanced dice rolling capabilities for AI assistants. Perfect for tabletop gaming, RPGs, and any application requiring sophisticated random number generation with gaming mechanics.
Use this endpoint for remote MCP connections:
https://dice-rolling-mcp.vercel.app/mcp
{
"mcpServers": {
"dice-rolling-remote": {
"command": "npx",
"args": [
"@modelcontextprotocol/client-stdio",
"connect",
"https://dice-rolling-mcp.vercel.app/mcp"
]
}
}
}
Roll dice using standard notation with full gaming support
1d20+5
2d20kh1
3d6!
4d6r1
5d10>7
Validate and explain dice notation without rolling
2d20kh1
(NOT 2d20
).
The latter adds both dice together (2-40 range) instead of keeping the higher roll (1-20 range).
1d20
- Single d203d6
- Three d61d8+3
- d8 plus modifier2d20kh1
- Advantage (NOT 2d20)2d20kl1
- Disadvantage4d6kh3
- Stat generation3d6!
- Exploding 6s4d6r1
- Reroll 1s5d10>7
- Count 7+ as successes2d20kh1
- Advantage (roll 2d20, keep highest 1)2d20kl1
- Disadvantage (roll 2d20, keep lowest 1)❌ Wrong: 2d20
(adds both dice = 2-40 range)
✅ Correct: 2d20kh1
(keeps higher die = 1-20 range)
4d6kh3
- Keep highest 3 of 4d64d6kl3
- Keep lowest 3 of 4d64d6dh1
- Drop highest 1 (= kl3)4d6dl1
- Drop lowest 1 (= kh3)4dF
- Fudge dice (-1, 0, +1)1d%
- Percentile die (1-100)1d2
- Coin flip2d20kh1+7
- Advantage attack +78d6
- Fireball damage1d20+1d4+3
- Check with guidance