Provides a FastAPI web server interface for managing Mistral AI agents through REST API endpoints
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Mistral Agent Managercreate a new agent for customer support"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🌐 FastAPI Server - Mistral Agent Manager
Ce dossier contient le serveur FastAPI pour la gestion des agents Mistral via API REST.
📁 Structure
🚀 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 --lockedDémarrer le serveur MCP :
uv run python main.py
🔧 Utilisation avec l'inspecteur MCP
Lancer l'inspecteur :
npx @modelcontextprotocol/inspectorSe connecter au serveur :
Transport :
stdioCommand :
uv run python main.pyWorking Directory :
/Users/yoandicosmo/Documents/LeChat MCP Hack/mcp-server
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_KEYdans.envTransport : 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/