- Home
- MCP servers
- Diceroll
Diceroll
- javascript
0
GitHub Stars
javascript
Language
7 months ago
First Indexed
3 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"fumieval-mcp-server-diceroll": {
"command": "npx",
"args": [
"-y",
"mcp-server-diceroll"
]
}
}
}You can run a small, self-contained MCP server that provides a dice-rolling capability. It runs locally via a simple npm/npx workflow, so you can add it to your existing MCP client setup and access dice-rolling actions through your client alongside other MCP services.
How to use
Configure your MCP client to include the dice-roll server as a local stdio server. This lets your client send requests to perform dice rolls through the MCP protocol without needing a remote HTTP endpoint.
Once configured, you can use the dice-roll MCP server to request dice outcomes within your MCP workflow. Use the client’s MCP composition features to call the dice-roll service, pass the number of dice and sides as needed, and receive a formatted result that you can incorporate into your responses or actions.
How to install
Prerequisites: you need Node.js and npm installed on your system.
-
Ensure Node.js and npm are available on your machine.
-
Add the MCP server configuration to your claude_desktop_config.json file as shown below.
{
"mcpServers": {
"dice-roll": {
"command": "npx",
"args": ["-y", "mcp-server-diceroll"]
}
}
}
Additional sections
Note: This MCP server is invoked locally via npx, so you do not need a remote URL. The server runs as a stdio process when started through your MCP management environment.