Client générique
Tout client compatible MCP Streamable HTTP peut se connecter au serveur Factumis. Aucun SDK propriétaire n’est requis.
Paramètres de connexion
Section intitulée « Paramètres de connexion »- URL :
https://mcp.factumis.fr - En-tête :
Authorization: Bearer <clé API> - Content-Type :
application/json - Accept :
application/json, text/event-stream
Séquence minimale (JSON-RPC 2.0)
Section intitulée « Séquence minimale (JSON-RPC 2.0) »initialize— handshake protocole.tools/list— découverte des tools disponibles.tools/call— appel d’un tool avec ses arguments.
Exemple initialize :
curl -s https://mcp.factumis.fr \ -H "Authorization: Bearer VOTRE_CLE_API" \ -H "Content-Type: application/json" \ -H "Accept: application/json, text/event-stream" \ -d '{"jsonrpc":"2.0","id":1,"method":"initialize", "params":{"protocolVersion":"2025-06-18","capabilities":{}, "clientInfo":{"name":"mon-client","version":"1.0.0"}}}'Voir la Référence API pour le détail des en-têtes et du cycle de requêtes.