mcp-server-diceroll
0
MCP Server Diceroll is a demo project showcasing a simple MCP server with capabilities like dice rolling and basic operations. It is intended for educational and demonstration purposes, particularly in connecting AI with external tools.
MCP Server Diceroll
This is a demo project of a simple MCP (Model Calling Protocol) server. It provides dice-rolling functionality and basic numerical operations.
Features
- Number addition
- Customizable dice roll (configurable die sides and roll count)
- UUID generation (version 4 or version 1)
- Dynamic greeting message generation
Requirements
- Python 3.12+
- MCP library 1.6.0+
- uv (Python package manager)
Installation
- Clone the repository.
- Install uv if not already installed.
- Create a virtual environment using uv and install dependencies.
Usage
Start the server with Python or uv. The server provides tools for adding numbers, rolling dice, generating UUIDs, and creating greeting messages.