facturx-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CHORUS_LOGIN | No | Login compte technique Chorus Pro | |
| CHORUS_SANDBOX | No | true pour le bac à sable (défaut: true) | true |
| CHORUS_PASSWORD | No | Mot de passe compte technique | |
| CHORUS_CLIENT_ID | No | Client ID PISTE (Chorus Pro) | |
| FACTURX_LICENSE_KEY | No | Clé de licence Pro (format FTRX-...) | |
| CHORUS_CLIENT_SECRET | No | Client Secret PISTE |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| facturx_generateA | Génère un fichier XML Factur-X valide (norme EN 16931 / UE) à partir des données de facturation. Calcule automatiquement les totaux HT, TVA et TTC. Retourne le XML et un résumé des montants. |
| facturx_validateA | Valide les données d'une facture avant génération : vérifie les champs obligatoires, les formats (dates, codes pays, TVA), la cohérence des montants lignes. Retourne les erreurs bloquantes et les avertissements. |
| facturx_parseA | Parse un fichier XML Factur-X et extrait toutes les données de facturation sous forme JSON structuré. Compatible avec les profils MINIMUM, BASIC, EN 16931 et EXTENDED. |
| facturx_compute_totalsA | Calcule les totaux d'une facture (HT par ligne, sous-total HT, TVA ventilée par taux, TTC, montant à payer). Utile pour vérifier les montants avant génération. |
| facturx_create_pdfA | Crée un PDF avec le XML Factur-X embarqué en pièce jointe (format requis par la norme). Optionnellement, peut intégrer le XML dans un PDF existant. Sauvegarde le résultat sur disque. |
| facturx_extract_from_pdfA | Extrait le XML Factur-X embarqué dans un PDF. Retourne le contenu XML. |
| chorus_submitA | Soumet une facture Factur-X sur la plateforme Chorus Pro (obligatoire pour facturer l'État français). Requiert les variables d'environnement CHORUS_CLIENT_ID, CHORUS_CLIENT_SECRET, CHORUS_LOGIN, CHORUS_PASSWORD. |
| chorus_get_statusA | Récupère le statut de traitement d'une facture soumise sur Chorus Pro (identifiant CPP retourné lors du dépôt). Statuts possibles : DEPOSEE, EN_COURS_TRAITEMENT, VALIDEE, REJETEE. |
| chorus_list_invoicesB | Liste les factures présentes sur Chorus Pro avec filtres optionnels par date, statut et pagination. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 9 tools
Each tool has a clearly distinct purpose: generation, validation, parsing, totals computation, PDF creation, XML extraction, and separate Chorus Pro operations for submission, status, and listing. The overlap between compute_totals and generate is minimal because generate also creates the full XML document.
All tool names follow a consistent pattern using the domain prefixes 'facturx_' and 'chorus_' followed by a verb (generate, validate, parse, compute_totals, create_pdf, extract_from_pdf, submit, get_status, list_invoices). The naming is uniform with snake_case and action-first ordering, making it predictable.
With 9 tools, the server is well-scoped for the Factur-X lifecycle and Chorus Pro integration. Each tool serves a distinct step in the workflow without being overwhelming or redundant.
The toolset covers the main workflow from data validation, generation, PDF creation, XML extraction, to Chorus Pro submission and tracking. A minor gap is the lack of a dedicated tool to fetch a single facture detail from Chorus Pro beyond the list, but the existing surface is sufficient for core e-invoicing tasks.