drio
Open app

Mcp Server Diceroll

Source

Dice Roll Server for Model Context Protocol

Catalog onlyCatalog onlySTDIO

Overview

Mcp Server Diceroll is a server designed to implement the Dice Roll functionality for the Model Context Protocol, enabling users to initiate dice rolls in a seamless manner.

To use the Mcp Server Diceroll, you need to add a specific configuration in your claude_desktop_config.json file in the appropriate format. This configuration tells the system how to invoke the dice roll server.

  • Easy-to-integrate dice rolling server for applications. - Utilizes Model Context Protocol for efficient communication. - Lightweight and straightforward configuration process.
  1. Implementing dice rolling mechanics in games.
  2. Facilitating random number generation for applications.
  3. Supporting gameplay features that require dice rolls (e.g., RPGs).

Add to your AI client

Use these steps to connect Mcp Server Diceroll 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": {
    "mcp-server-diceroll-fumieval": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-diceroll-fumieval"
      ]
    }
  }
}

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": {
    "mcp-server-diceroll-fumieval": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-diceroll-fumieval"
      ]
    }
  }
}

Claude Code

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

.mcp.json (project root)

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

VS Code (Copilot)

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

.vscode/mcp.json

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

Windsurf

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

~/.codeium/windsurf/mcp_config.json

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

Cline

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

Cline MCP Settings (via UI)

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

FAQ

How do I configure the Mcp Server Diceroll?

You can configure it by adding the provided JSON snippet to your `claude_desktop_config.json` file.

Is there a need for additional libraries?

The server runs using Node.js, so ensure you have it installed to use the command provided.

Can I use this server in any programming language?

While the server is designed for the Model Context Protocol, integration depends on how you choose to implement it within your application context.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":425,"uuid":"5c4d513a-0714-4663-8cd6-070b191edd8c","name":"mcp-server-diceroll","title":"Mcp Server Diceroll","description":"Dice Roll Server for Model Context Protocol","avatar_url":"https://avatars.githubusercontent.com/u/761865?v=4","created_at":"2024-12-16T07:21:58.967Z","updated_at":"2024-12-19T12:38:24.461Z","status":"created","author_name":"fumieval","author_avatar_url":"https://avatars.githubusercontent.com/u/761865?v=4","tags":"mcp-server,diceroll,model-context-protocol","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/fumieval/mcp-server-diceroll","target":"_self","content":"## mcp-server-diceroll\n\nAdd the following to `claude_desktop_config.json`:\n\n```json\n{\n \"mcpServers\": {\n \"dice-roll\": {\n \"command\": \"npx\",\n \"args\": [\"-y\", \"mcp-server-diceroll\"]\n }\n }\n}\n```","summary":"$29","img_url":null,"type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]