mcp-server-diceroll
by aikiyy
This is a simple demo MCP (Model Calling Protocol) server project. It provides dice rolling and basic arithmetic functions.
Last updated: N/A
What is mcp-server-diceroll?
This is a demo server implementing the Model Calling Protocol (MCP). It offers functionalities like dice rolling, basic arithmetic operations, UUID generation, and dynamic greeting message creation.
How to use mcp-server-diceroll?
- Clone the repository. 2. Install uv if not already installed. 3. Create a virtual environment using uv and install dependencies. 4. Run the server using
python server.py
oruv run python server.py
. Available tools includeadd
,roll_dice
,generate_uuid
, andgreeting://{name}
.
Key features of mcp-server-diceroll
Numerical addition
Customizable dice roll (specify number of sides and rolls)
UUID generation (version 4 or version 1)
Dynamic greeting message generation
Use cases of mcp-server-diceroll
Integrating dice rolling functionality into AI models
Performing simple arithmetic calculations within an MCP environment
Generating unique identifiers for various purposes
Creating personalized greetings based on user input
FAQ from mcp-server-diceroll
What is MCP?
What is MCP?
MCP stands for Model Calling Protocol, a protocol for connecting generative AI with external tools.
What Python version is required?
What Python version is required?
Python 3.12 or higher is required.
What is uv?
What is uv?
uv is a Python package manager.
How do I specify the number of sides for the dice roll?
How do I specify the number of sides for the dice roll?
Refer to the MCP client documentation for how to send requests to the roll_dice
tool with custom parameters.
Where can I learn more about MCP?
Where can I learn more about MCP?
Refer to the provided links in the '参考資料' section of the README.