mcp-dice: サイコロを振るためのMCPサーバー
大規模言語モデル(LLM)がサイコロを振れるようにするモデルコンテキストプロトコル(MCP)サーバー。標準的なサイコロ表記(例: 1d20
)を受け付け、個々の出目とその合計を返します。
特徴
- 標準的なサイコロ表記法
3d6
サポート(例:1d20``2d8+1
) - 個々のロールと合計の両方を返します
- Claude Desktopとの簡単な統合
- デバッグ用のMCP Inspectorと互換性あり
インストール
Smithery経由でインストール
Smithery経由で Claude Desktop 用の Dice Roller を自動的にインストールするには:
uv
を利用できるようにします: https://docs.astral.sh/uv/getting-started/installation/
使用法
基本的なコマンドラインの使用法
入力形式
サーバーは、 notation
フィールドを持つ JSON オブジェクトを受け入れます。
応答例:
クロードデスクトップ構成
位置
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
%APPDATA%/Claude/claude_desktop_config.json
例
注: zsh
ログイン シェルに置き換えます。
開発とデバッグ
開発依存関係のインストール
テストの実行
MCPインスペクターの使用
MCP Inspectorは、MCPサーバーのデバッグに役立つツールです。npmを使ってインストールして実行してください。
開発のためのClaudeデスクトップ構成
注: path/to/mcp-dice-repo
ファイルシステム上のリポジトリへのパスに置き換えます。
注: zsh
ログインシェルに置き換えてください。また、 path/to/mcp-dice-repo
WSLファイルシステム上のリポジトリへのパスに置き換えてください。
local-only server
The server can only run on the client's local machine because it depends on local resources.
Tools
LLMがサイコロを振れるようにするMCPサーバー
Related MCP Servers
- AsecurityAlicenseAqualityAn MCP server that provides LLMs access to other LLMsLast updated -467359JavaScriptMIT License
- -securityAlicense-qualityAn MCP server that provides tools to load and fetch documentation from any llms.txt source, giving users full control over context retrieval for LLMs in IDE agents and applications.Last updated -566PythonMIT License
- AsecurityAlicenseAqualityAn MCP server that enables LLMs to interact with Moodle platforms to manage courses, students, assignments, and quizzes through natural language commands.Last updated -714JavaScriptMIT License
- PythonApache 2.0