From 0a082c0e854f0c3ea40e752d40d19778f3aeadc8 Mon Sep 17 00:00:00 2001 From: Hemithermos Date: Mon, 26 Jan 2026 10:35:46 +0100 Subject: [PATCH] edit README --- README.md | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 60 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d158418..5828fea 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,61 @@ # Wyvern&Castle -Projet de NLP 2025-2026. Modèle MCP de D&D. \ No newline at end of file +Projet de NLP 2025-2026. Modèle MCP de D&D. + + +# Initialisation du jeu + +Pour lancer la partie il faut tout d'abord installer [Claude Desktop](https://claude.com/fr-fr/download) (disponible sur Windows +et Mac). + +## Installer l'utilitaire python UV : +```bash +# Mac/Linux +curl -LsSf https://astral.sh/uv/install.sh | sh +# Windows, l'ajouter au Path +powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" +``` + +## Initialiser le dossier pour l'installation +Creer un dossier et cloner le projet : +```bash +uv init wyvern-castle +cd wyvern-castle +git clone "https://gitea.galaxynoliro.fr/KuMiShi/Wyvern-Castle.git" +``` +## Creation de l'environnement virtuel +```bash +uv venv +``` +Mac/Linux +```bash +source .venv/bin/activate +``` +Windows +```bash +.\.venv\Scripts\activate +``` + +## Installation du client mcp +```bash +uv add mcp[cli] httpx +``` + +## Changement de la config de Claude Desktop +Modifier le fichier `claude_desktop_config.json` + +```bash +{ + "mcpServers": { + "weather": { + "command": "uv", + "args": [ + "--directory", + "C:\\ABSOLUTE\\PATH\\TO\\PARENT\\FOLDER\\wyvern_castle", + "run", + "server.py" + ] + } + } +} +``` +