Facture ÉLectronique France MCP Server

MCP server for French e-invoicing (XP Z12-013). Manages invoices, validation and compliance.

Local serverstdioPython

What is the Facture ÉLectronique France MCP server?

Connect Facture ÉLectronique France to Claude, Cursor or any other MCP client and it stops being a tab you switch to. MCP server for French e-invoicing (XP Z12-013). Manages invoices, validation and compliance. The facture électronique france mcp server is what makes that connection.

What the server does

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).

Installation

The server ships on PyPI as mcp-facture-electronique-fr, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

Credentials and setup notes

Configuration is passed through the environment: PA_BASE_URL_FLOW, PPF_ANNUAIRE_BASE_URL, PA_CLIENT_ID, PA_CLIENT_SECRET, PA_TOKEN_URL, PA_ORGANIZATION_ID, PPF_GLOBAL_ID, PPF_SCHEME_ID. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Where it fits

Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. It is maintained by cmendezs; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

How to install the Facture ÉLectronique France MCP server

{
  "mcpServers": {
    "facture-electronique-fr": {
      "command": "uvx",
      "args": ["mcp-facture-electronique-fr"],
      "env": {
        "PA_BASE_URL_FLOW": "https://api.votre-pdp.fr/flow",
        "PPF_ANNUAIRE_BASE_URL": "https://aife.economie.gouv.fr/ppf/annuaire-public/v1",
        "PA_CLIENT_ID": "votre-id",
        "PA_CLIENT_SECRET": "votre-secret",
        "PA_TOKEN_URL": "https://auth.votre-pdp.fr/oauth/token"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
PA_BASE_URL_FLOWEndpoint or connection string the server talks to.Yes
PPF_ANNUAIRE_BASE_URLEndpoint or connection string the server talks to.Yes
PA_CLIENT_IDConfiguration value read at startup.Optional
PA_CLIENT_SECRETCredential the server authenticates with.Yes
PA_TOKEN_URLCredential the server authenticates with.Yes
PA_ORGANIZATION_IDConfiguration value read at startup.Optional
PPF_GLOBAL_IDConfiguration value read at startup.Optional
PPF_SCHEME_IDConfiguration value read at startup.Optional

Frequently asked questions

It connects Facture ÉLectronique France to MCP-compatible AI assistants such as Claude and Cursor. Instead of copying data back and forth by hand, the assistant works with Facture ÉLectronique France directly.