MCP.so
登录

mcp-dice: A MCP Server for Rolling Dice

@yamaton

基本信息

分类

其他

许可证

MIT

传输方式

stdio

作者

yamaton

关于 mcp-dice: A MCP Server for Rolling Dice

A MCP server enabling LLMs to roll dice

mcp-dice: A MCP Server for Rolling Dice 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "mcp-dice": {
      "command": "uvx",
      "args": [
        "mcp-dice"
      ]
    }
  }
}

mcp-dice: A MCP Server for Rolling Dice 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is mcp-dice?

A Model Context Protocol (MCP) server that enables Large Language Models (LLMs) to roll dice. It accepts standard dice notation (e.g., 1d20) and returns both individual rolls and their sum.

How to use mcp-dice?

Install via Smithery with npx @smithery/cli install mcp-dice --client claude or run directly with uvx mcp-dice. The server expects a JSON object with a notation field (e.g., {"notation": "2d6+3"}). For Claude Desktop, add a configuration entry with command uvx and args ["mcp-dice"] in claude_desktop_config.json.

Key features of mcp-dice

  • Supports standard dice notation (e.g., 1d20, 3d6)
  • Returns individual rolls and total sum
  • Handles modifiers (e.g., 2d8+1)
  • Easy integration with Claude Desktop
  • Compatible with MCP Inspector for debugging

Use cases of mcp-dice

—

常见问题

1

How do I install mcp-dice?

Install via Smithery using `npx @smithery/cli install mcp-dice --client claude`, or run directly with `uvx mcp-dice` (requires `uv` to be available).

2

What dice notation does mcp-dice support?

It supports standard dice notation such as `1d20`, `3d6`, and `2d8+1`.

3

How do I configure mcp-dice with Claude Desktop?

Add an entry to `claude_desktop_config.json` (macOS: `~/Library/Application Support/Claude/`, Windows: `%APPDATA%/Claude/`) with command `uvx` and args `["mcp-dice"]`.

4

What is the output format?

Returns a JSON object containing `rolls` (array), `sum`, `modifier`, `total`, `notation`, and `timestamp`.

5

Can I use mcp-dice for debugging?

Yes, it is compatible with MCP Inspector. Run `npx @modelcontextprotocol/inspector uvx mcp-dice` to inspect and debug the server.

评论

其他 分类下的更多 MCP 服务器