Add Dice Rolling to Claude Desktop
A powerful Model Context Protocol server that lets you roll dice of any size directly within Claude Desktop conversations.
- Visit the Claude Desktop download page
- Download the Windows installer (.exe)
- Run the installer and follow the prompts
- Launch Claude Desktop from Start Menu
- Visit the Claude Desktop download page
- Download the macOS installer (.dmg)
- Open the DMG and drag Claude to Applications
- Launch Claude Desktop from Applications
Run the server on your local machine for development and testing.
Steps:
- Clone this repository to your computer
- Run
npm install
- Run
npm run dev
- Server will be available at localhost:3000
Best for: Development, customization, and when you want full control
Use the already deployed version without running anything locally.
Steps:
- No local setup required!
- Use the configuration provided in Step 3
- The server is already running in the cloud
- Always available and up-to-date
Best for: Quick setup, permanent use, and convenience
💡 Pro Tip
You can switch between local and cloud configurations anytime by updating your Claude Desktop config file. Many users start with the cloud deployment for quick testing, then switch to local for customization.
Configuration File Location:
Windows:
%APPDATA%\Claude\claude_desktop_config.json
macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
Configuration Content:
Choose the configuration that matches your deployment:
🏠 Local Development: Use this configuration when running the server locally with npm run dev
{
"mcpServers": {
"rolldice": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"http://localhost:3000/api/mcp"
]
}
}
}
Requirements:
- Server must be running on
http://localhost:3000
- Keep the development server running while using Claude Desktop
Important Notes:
- • If the config file doesn't exist, create it
- • Make sure the server is accessible before using Claude Desktop
- • You may need to enable Developer mode in Claude Desktop settings
- • For cloud deployments, ensure your deployment is live and accessible
- Completely close Claude Desktop
- Reopen Claude Desktop
- Look for a hammer icon (🔨) in the bottom right of the input box
- The hammer icon indicates MCP tools are available
✅ If you see the hammer icon, you're ready to start rolling dice!