Dice Roller
Provides dice rolling tools for tabletop RPGs, including standard dice, custom notation, D&D stat generation, and initiative ordering.
README
đČ Dice Roller â MCP Server
Serveur MCP (Model Context Protocol) de lancer de dés pour parties de jeu de rÎle, packagé avec Docker et exposé via le Docker MCP Toolkit.
𧰠Prérequis
- Docker Desktop installé et lancé
- Le plugin Docker MCP Toolkit activé :
Docker Desktop â Settings â Beta features â MCP Toolkit - Un client compatible MCP : Claude Desktop
đ ïž Outils disponibles
| Outil | Description |
|---|---|
flip_coin |
Pile ou face |
roll_dice |
Lance N dés à X faces (sides, count) |
roll_custom |
Notation standard, ex : 2d6+3 |
roll_stats |
Caractéristiques D&D (4d6, on garde les 3 meilleurs) |
roll_advantage |
Jet avec avantage (2 jets, garde le meilleur) |
roll_disadvantage |
Jet avec désavantage (2 jets, garde le pire) |
roll_check |
Jet + modificateur, comparaison optionnelle à une difficulté |
roll_initiative |
Ordre d'initiative pour une liste de joueurs |
đ Installation
1. Construire l'image Docker
docker build -t dice-mcp-server .
Vérifier que l'image démarre correctement :
docker run -i --rm dice-mcp-server
# â doit afficher : INFO - Starting Dice Roller MCP server...
# Ctrl+C pour quitter
2. Créer un catalogue MCP personnalisé
docker mcp catalog create custom --title "Custom Catalog"
3. Ajouter le serveur dice au catalogue
L'image étant uniquement locale, on la décrit via le fichier catalog_entry.yaml fourni et on l'ajoute avec le schéma file:// :
docker mcp catalog server add custom:latest --server file://$(pwd)/catalog_entry.yaml
Vérifier :
docker mcp catalog show custom
4. Créer un profil incluant ce serveur
docker mcp profile create --name dev-tools --server catalog://custom:latest/dice
Vérifier :
docker mcp profile show dev_tools
5. Connecter le profil au client
Claude Desktop (scope global obligatoire, ce client ne supporte pas le scope projet) :
docker mcp client connect claude-desktop --profile dev_tools --global
Voir tous les clients disponibles :
docker mcp client ls
6. Redémarrer le client
Fermer complĂštement l'application et la relancer, afin qu'elle recharge la configuration MCP.
7. Tester
Dans le chat du client connecté, demander par exemple :
"Lance un dé à 20 faces" "GénÚre des caractéristiques de personnage D&D"
â ïž Notes de compatibilitĂ© & piĂšges connus
Le SDK Python mcp v2.0.0 casse ce projet
Le SDK officiel mcp a publié une version 2.0.0 stable le 28 juillet 2026, qui restructure l'API en profondeur :
FastMCPest renomméMCPServer- Le chemin d'import
mcp.server.fastmcpn'existe plus mcp.typesest déplacé vers un package séparémcp-types
âĄïž requirements.txt doit impĂ©rativement Ă©pingler une version sous la v2 :
mcp[cli]>=1.2.0,<2
Mode "Dynamic MCP"
Par défaut, le gateway peut exposer uniquement des outils "méta" de découverte (mcp-find, mcp-exec, etc.) plutÎt que les outils du serveur directement. Si docker mcp tools ls affiche 8 outils génériques au lieu des outils de dés, revenir à l'affichage classique (tous les outils visibles directement) :
docker mcp feature disable dynamic-tools
đ Structure du projet
dice-roller/
âââ Dockerfile # Image Python 3.11-slim + serveur MCP
âââ requirements.txt # mcp[cli]>=1.2.0,<2
âââ dice_server.py # Code du serveur (FastMCP)
âââ catalog_entry.yaml # Description du serveur pour le catalogue Docker MCP
âââ README.md # Ce fichier
đ Licence
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.