Get the FREE Ultimate OpenClaw Setup Guide →

roulette

MCP server from Sunwood-ai-labs/roulette-mcp-server

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio sunwood-ai-labs-roulette-mcp-server npx roulette-mcp

How to use

This MCP server adds a roulette-style functionality to your Model Context Protocol setup. It exposes a tool named spin_roulette that spins a roulette with customizable options and returns the selected result. To use it as an MCP server, run the server configuration as shown in the example (the server is invoked via npx roulette-mcp). Once running, clients can call the spin_roulette tool by providing a list of options; the server will respond with a chosen option from the provided list. The input schema for spin_roulette requires an object with an options array of strings, representing the roulette choices.

Usage overview:

  • spin_roulette: spins the roulette and returns one of the provided options. Input must include an options array of strings which are the roulette entries. The server processes the request and returns a single winning option, enabling fast, interactive decision-making or randomized selections in your applications.

How to install

Prerequisites:

  • Node.js (recommended: LTS version, e.g., v16+)
  • npm (comes with Node.js)

Installation steps:

  1. Install the MCP package for roulette:
npm install roulette-mcp
  1. If you want to run via the MCP server setup, ensure your MCP runner is available and configured. The README example shows using npx to start roulette-mcp as a module:
# Example: starting via MCP config (as shown in the README)
npx roulette-mcp
  1. Confirm that the server is reachable through your MCP orchestration tool and that the roulette tool (spin_roulette) is exposed with the expected input schema.
  2. If deploying in a container or different environment, adjust the mcpConfig accordingly (see mcp_config in this document).

Additional notes

Tips and notes:

  • The server configuration provided uses npx to invoke the roulette-mcp package, which is suitable for quick starts. If you prefer a persistent install, you can install roulette-mcp globally or as a project dependency and adjust the command/args accordingly.
  • The spin_roulette tool expects an input object with a single field: options (an array of strings). Ensure your client supplies this format to avoid validation errors.
  • If you plan to customize the roulette options, pass a new options array to spin_roulette through your MCP client according to your integration needs.
  • Environment variables can be defined in the mcp_config under env to tailor runtime behavior (timeouts, logging, etc.).

Related MCP Servers

Sponsor this space

Reach thousands of developers