Skip to main content

voxfactura-mcp

Branche ton business VoxFactura sur ton assistant IA (Claude Desktop, Claude Code, ou tout client MCP). Tu poses tes questions en langage naturel :

  • « Quelles sont mes factures impayées ? »
  • « Quelle est ma marge sur le chantier Villa Michu ? »
  • « Combien j'ai dépensé chez Point P ce mois-ci ? »
  • « Donne-moi mon récapitulatif TVA du 1er trimestre. »
  • « Crée un devis brouillon pour le client 12 : 3 radiateurs à 450. »

L'assistant consulte tes données et peut préparer des brouillons ; il ne n'envoie jamais rien à un client (l'envoi reste une validation humaine dans VoxFactura). Tout passe par une clé API scopée que tu contrôles.

1. Crée une clé API

Dans VoxFactura : Réglages → Clés API → Créer une clé. Coche les permissions voulues (lecture : factures, dépenses, chantiers, clients, comptabilité ; écriture : créer des devis, marquer payé, ajouter des dépenses). Copie la clé vf_live_… : elle n'est affichée qu'une seule fois.

  • Pour la marge chantier : factures + dépenses.
  • Pour le récap TVA / FEC : comptabilité.

2. Installe

pip install voxfactura-mcp
# ou, sans installer : uvx voxfactura-mcp

3. Configure ton client MCP

Claude Desktop

Réglages → Développeur → Modifier la config :

{
  "mcpServers": {
    "voxfactura": {
      "command": "voxfactura-mcp",
      "env": { "VOXFACTURA_API_KEY": "vf_live_ta_cle_ici" }
    }
  }
}

Redémarre Claude Desktop.

Claude Code

claude mcp add voxfactura -e VOXFACTURA_API_KEY=vf_live_ta_cle -- voxfactura-mcp

Variables d'environnement

Variable Rôle Défaut
VOXFACTURA_API_KEY Ta clé API (obligatoire) aucune
VOXFACTURA_API_BASE_URL URL de l'API https://voxfacture-production.up.railway.app
VOXFACTURA_DOSSIER Clé cabinet : numéro du dossier client lu par défaut aucun

Cabinet comptable : une clé pour tous vos dossiers

Un cabinet d'expertise comptable crée une clé cabinet (vf_cab_…) depuis son espace cabinet VoxFactura, page API. Elle lit, en lecture seule, les dossiers des clients qui vous ont donné accès, un dossier à la fois :

  • l'outil dossiers liste vos dossiers (numéro, raison sociale, SIREN) ;
  • chaque outil accepte un paramètre dossier (numéro du dossier) ; à défaut, le serveur prend VOXFACTURA_DOSSIER ;
  • les outils d'écriture répondent par un refus : une clé cabinet ne modifie rien ;
  • chaque lecture figure dans le journal que voit votre client, qui peut retirer l'accès à tout moment.
{
  "mcpServers": {
    "voxfactura-cabinet": {
      "command": "voxfactura-mcp",
      "env": { "VOXFACTURA_API_KEY": "vf_cab_votre_cle", "VOXFACTURA_DOSSIER": "1" }
    }
  }
}

Outils

Outil Rôle Permission
dossiers Dossiers clients d'une clé cabinet clé cabinet
factures_impayees Factures impayées factures
factures Factures (filtres statut / chantier / période) factures
facture Détail d'une facture factures
pdf_facture PDF Factur-X d'une facture émise (base64) factures
depenses Dépenses (filtres chantier / catégorie / période) dépenses
justificatifs_depense Justificatifs d'une dépense dépenses
justificatif Fichier d'un justificatif (base64) dépenses
chantiers Liste des chantiers (filtres statut / client) chantiers
chantier Détail d'un chantier chantiers
clients Liste / recherche clients clients
marge_chantier CA facturé − dépenses d'un chantier factures + dépenses
recap_tva TVA collectée / déductible / nette comptabilité
journal_ventes Journal des ventes d'une période comptabilité
journal_achats Journal des achats d'une période comptabilité
journal_ventes_csv Journal des ventes en CSV comptabilité
journal_achats_csv Journal des achats en CSV comptabilité
export_fec Fichier des écritures comptables de l'année comptabilité
encaissements Factures encaissées d'une période (date, montant, moyen) payments:read
creer_devis_brouillon Crée un devis (brouillon) devis:write
marquer_facture_payee Marque une facture payée payments:write
ajouter_depense Ajoute une dépense expenses:write

Tous les outils (sauf dossiers) acceptent aussi dossier, utile seulement avec une clé cabinet.

API sous-jacente

Le serveur n'est qu'un habillage de l'API publique VoxFactura (lecture/écriture scopée). Doc interactive : https://voxfacture-production.up.railway.app/api/v1/pub/docs. Voir aussi llms.txt et examples/.

Licence

MIT.

Metadata

Release files for voxfactura-mcp 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for voxfactura-mcp 0.2.1
File Size Uploaded Provenance
voxfactura_mcp-0.2.1.tar.gz 14.7 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for voxfactura-mcp 0.2.1
File Interpreter ABI Platform
voxfactura_mcp-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 27.2 kB

Release files / voxfactura_mcp-0.2.1.tar.gz

Download URL voxfactura_mcp-0.2.1.tar.gz
Size 14.7 kB
Tags Source
SHA-256 checksum
How to use checksums
70bcb008c7c49e2e8960004e3b16c31a3bb1c9cad639db0cda449087b05ec517
BLAKE2b-256 checksum
How to use checksums
f9418790e4cb0dac76ced9cb3d9ff672cba7fe2f34def1117fac6a78156c8405
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 3, 2026.

Transparency log

Release files / voxfactura_mcp-0.2.1-py3-none-any.whl

Download URL voxfactura_mcp-0.2.1-py3-none-any.whl
Size 12.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f9924980bdd1c8678f8dd5f8f67600fbbe7a17fcfe456781f70986ac627d3fb9
BLAKE2b-256 checksum
How to use checksums
2d149b1085c8cd5a4da6e3115f15497bd1592078b272b403af600f3de950e25a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 3, 2026.

Transparency log

Security for voxfactura-mcp 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for voxfactura_mcp-0.2.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 3, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page