Uzbyr/mcp-server
3.3
If you are the rightful owner of mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The MCP Server - Mistral Agent Manager is designed to manage Mistral agents through the Model Context Protocol, providing a structured and efficient way to handle agent operations via Le Chat.
Tools
3
Resources
0
Prompts
0
đ FastAPI Server - Mistral Agent Manager
Ce dossier contient le serveur FastAPI pour la gestion des agents Mistral via API REST.
đ Structure
mcp-server/
âââ main.py # Serveur FastAPI principal
âââ simple_server.py # Serveur MCP simple (stdio) - ancien
âââ test_mcp.py # Tests du serveur MCP - ancien
âââ pyproject.toml # Configuration du projet
âââ uv.lock # Lock file des dĂ©pendances
âââ .env # Variables d'environnement
âââ .python-version # Version Python
âââ .gitignore # Fichiers Ă ignorer
âââ .venv/ # Environnement virtuel Python
đ DĂ©marrage rapide
-
Installer uv (si pas déjà fait) :
curl -LsSf https://astral.sh/uv/install.sh | sh export PATH="$HOME/.local/bin:$PATH"
-
Installer les dépendances :
cd mcp-server uv sync --locked
-
Démarrer le serveur MCP :
uv run python main.py
đ§ Utilisation avec l'inspecteur MCP
-
Lancer l'inspecteur :
npx @modelcontextprotocol/inspector
-
Se connecter au serveur :
- Transport :
stdio
- Command :
uv run python main.py
- Working Directory :
/Users/yoandicosmo/Documents/LeChat MCP Hack/mcp-server
- Transport :
-
Accéder à l'interface :
- MCP Inspector : http://localhost:6274 (quand l'inspecteur est lancé)
đ ïž Outils disponibles
- â
create_agent
- CrĂ©er un nouvel agent Mistral - â
list_agents
- Lister tous les agents - â
get_agent_details
- Obtenir les dĂ©tails d'un agent - â
delete_agent
- Supprimer un agent par ID - â
search_agent
- Rechercher un agent par nom
đ§ Configuration
- Variables d'environnement : Configurez
MISTRAL_API_KEY
dans.env
- Transport : Le serveur utilise stdio pour la communication MCP
- API Mistral : Intégration complÚte avec l'API Mistral
đ IntĂ©gration avec Le Chat
Pour utiliser ce serveur MCP avec Le Chat :
- Configurer Le Chat pour pointer vers ce serveur MCP
- Utiliser les outils directement dans Le Chat pour gérer les agents Mistral
- Créer des agents via des prompts naturels dans Le Chat
đ Documentation
- MCP Inspector : http://localhost:6274 (quand l'inspecteur est lancé)
- Documentation MCP : https://modelcontextprotocol.io/