Ajout de Dockerfile et configuration MCP

Ajout du Dockerfile pour containeriser l'application MCP

- Création du Dockerfile avec l'image Python 3.11 slim
- Installation du SDK FastMCP
- Copie du code source dans le conteneur
- Exposition du port 6666
- Configuration du point d'entrée

Ajout du fichier opencode.json pour la configuration MCP

Ajout du script Python src/mon_mcp.py avec les outils echo, shout et additionner

Ajout du fichier test.py pour les tests de l'API
This commit is contained in:
2026-01-25 12:07:21 +01:00
parent 7412b51ab5
commit 9f9d9bc3b3
5 changed files with 68 additions and 2 deletions

6
.gitignore vendored
View File

@@ -1,3 +1,5 @@
reseau
# ---> macOS
# General
.DS_Store
@@ -5,7 +7,8 @@
.LSOverride
# Icon must end with two \r
Icon
Icon
# Thumbnails
._*
@@ -201,4 +204,3 @@ cython_debug/
# PyPI configuration file
.pypirc
.pypirc