MCP server for French e-invoicing (XP Z12-013). Manages invoices, validation and compliance.
MCPpedia last refreshed this data
This server has been archived and is no longer actively maintained.
io.github.cmendezs/mcp-facture-electronique-fr is an MCP server that MCP server for French e-invoicing (XP Z12-013). Manages invoices, validation and compliance. It exposes 9 tools over stdio, sse and http, requires no API key, and scores 75/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"facture-electronique-fr": {
"env": {
"PA_CLIENT_ID": "votre-id",
"PA_TOKEN_URL": "https://auth.votre-pdp.fr/oauth/token",
"PA_BASE_URL_FLOW": "https://api.votre-pdp.fr/flow",
"PA_CLIENT_SECRET": "votre-secret",
"PA_BASE_URL_DIRECTORY": "https://api.votre-pdp.fr/directory"
},
"args": [
"mcp-facture-electronique-fr"
],
"command": "uvx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
MCP server for French e-invoicing (XP Z12-013). Manages invoices, validation and compliance.
Run this in your terminal to verify the server starts. Then let us know if it worked - your result helps other developers.
uvx 'mcp-facture-electronique-fr' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked mcp-facture-electronique-fr against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in finance / legal
Korean law: statutes, precedents, ordinances, treaties and citation verification (법제처 API).
OKX trading MCP server — connect AI agents to spot, swap, futures, options & grid bots via the Model Context Protocol.
Install, configure, operate and integrate self-hosted PayRam crypto payment gateways.
Unofficial read-only deweloperuch.pl data: new-build asking prices, RCN transactions, GUS and NBP
MCP Security Weekly
Get CVE alerts and security updates for io.github.cmendezs/mcp-facture-electronique-fr and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A Python MCP server exposing the standardized AFNOR XP Z12-013 APIs for the French e-invoicing reform (effective September 1, 2026). This project enables AI agents (Claude, IDEs) to interact natively with the Approved Platform (PA/PDP) ecosystem as a Compatible Solution (SC).
This package is built on top of mcp-einvoicing-core, a shared base library for European e-invoicing MCP servers. It provides the OAuth2 HTTP client, token cache, shared models, logging utilities, and exception hierarchy used by this package.
mcp-einvoicing-core is installed automatically as a transitive dependency, no extra step is needed.
For contributors:
pip install -e ".[dev]"installs the base package from PyPI automatically.
This server operates in Compatible Solution (CS) mode as defined by the French e-invoicing reform. The CS acts as an intermediary between the company's information system and an Approved Platform (AP/PDP). This means:
validate_ereporting_xml is called, but deeper business-rule checks (e.g. coherence between declared amounts and invoice totals) are the responsibility of the AP.The Approved Platform performs final validation and may reject non-conformant submissions with an error code and message.
pip install mcp-facture-electronique-fr
Or without prior installation using uvx:
uvx mcp-facture-electronique-fr
For Factur-X Schematron validation (validate_facturx, requires the XSLT 2.0 /
Saxon-HE backend — see FR-XSLT2-1 in Available tools below):
pip install mcp-facture-electronique-fr[xslt2]
# Clone the repository
git clone https://github.com/cmendezs/mcp-facture-electronique-fr.git
cd mcp-facture-electronique-fr
# Create the virtual environment
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
# Install in editable mode
pip install -e ".[dev]"
# Initial configuration
cp .env.example .env
# Edit .env with the credentials provided by your PA/PDP
The server requires the following variables to authenticate with an Approved Platform (PA):
| Variable | Description |
|---|---|
PA_BASE_URL_FLOW | Base URL of the PA Flow Service |
PA_BASE_URL_DIRECTORY | Deprecated — no longer read; see PPF_ANNUAIRE_BASE_URL |
PPF_ANNUAIRE_BASE_URL | Base URL of the PPF Annuaire service (defaults to the production swagger servers URL; override for sandbox testing) |
PA_CLIENT_ID | OAuth2 Client ID |