Dice Roll
Type: server
Author: lpbayliss
Language: TypeScript
Tags: dice,role-playing,games,probability
Description: A Model Context Protocol (MCP) server for simulating dice rolls with support for standard dice notation and Fate/Fudge dice. It provides tools to parse dice notation strings (like "3d6+4") and generate random dice rolls. Integrates with MCP-compatible clients like Claude Desktop and features full input/output validation using Zod schemas. It supports both standard dice (NdS+M format) and Fate/Fudge dice (NdF format) commonly used in tabletop role-playing games.
Tools:
[{"name":"parse_dice_roll_notation","description":"Parses dice roll notation","inputSchema":{"type":"object","properties":{"notation":{"description":"The dice roll notation to parse","minLength":1,"type":"string"}},"required":["notation"]}},{"name":"dice_roll","description":"Make a dice roll","inputSchema":{"type":"object","properties":{"count":{"minimum":0,"type":"integer"},"modifier":{"type":"integer"},"sides":{"exclusiveMinimum":0,"type":"integer"},"type":{"enum":["standard","fate"],"type":"string"}},"required":["type","count","sides"]}}]
Server command: npx server-dice-roll
Server configuration:
{
  "mcpServers": {
    "dice": {
      "command": "npx",
      "args": [
        "server-dice-roll"
      ]
    }
  }
}