drio
Open app

dice-mcp-server

Source

Catalog onlyCatalog onlySTDIO

Overview

Dice MCP Server is a simple server designed to roll a six-sided die.

To use Dice MCP Server, install it using the command pip install dice-mcp-server and then run the command dice-mcp-server to roll the die.

  • Simple installation via pip - Easy command-line interface to roll a die - Lightweight and efficient server for dice rolling
  1. Rolling dice for tabletop games
  2. Random number generation for simulations
  3. Educational purposes in teaching probability

Add to your AI client

Use these steps to connect dice-mcp-server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "dice-mcp-server-kei0440": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-dice-mcp-server-kei0440"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "dice-mcp-server-kei0440": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-dice-mcp-server-kei0440"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "dice-mcp-server-kei0440": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-dice-mcp-server-kei0440"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "dice-mcp-server-kei0440": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-dice-mcp-server-kei0440"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "dice-mcp-server-kei0440": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-dice-mcp-server-kei0440"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "dice-mcp-server-kei0440": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-dice-mcp-server-kei0440"
      ]
    }
  }
}

FAQ

Can I roll different types of dice?

No, this server is specifically designed for six-sided dice only.

Is Dice MCP Server free to use?

Yes! Dice MCP Server is free to use under the MIT license.

How do I uninstall Dice MCP Server?

You can uninstall it using the command `pip uninstall dice-mcp-server`.