mcp-facture-electronique-fr
mcp-facture-electronique-fr 🇫🇷
フランスの電子請求書改革(2026年9月1日施行)に対応した標準化 AFNOR XP Z12-013 API を公開する Python MCP サーバーです。このプロジェクトにより、AI エージェント(Claude、IDE)は、認定プラットフォーム(PA/PDP)エコシステムと互換ソリューション(SC)としてネイティブに連携できます。
基盤技術
このパッケージは、欧州の電子請求書 MCP サーバー向け共有基盤ライブラリである mcp-einvoicing-core の上に構築されています。このライブラリは、OAuth2 HTTP クライアント、トークンキャッシュ、共有モデル、ロギングユーティリティ、例外階層を提供します。
mcp-einvoicing-core は推移的依存関係として自動的にインストールされるため、追加の手順は不要です。
貢献者向け:
pip install -e ".[dev]"を実行すると、ベースパッケージが PyPI から自動的にインストールされます。
Related MCP server: mcp-einvoicing-de
適用範囲(互換ソリューション)
このサーバーは、フランスの電子請求書改革で定義されている 互換ソリューション(CS) モードで動作します。CS は、企業の情報システムと認定プラットフォーム(AP/PDP)の間の仲介役として機能します。つまり、以下のことを意味します。
呼び出し元から提供されたペイロードのプロファイル検証は行いません。 サーバーは、請求書ファイル(Factur-X PDF/A-3、UBL 2.1、または CII XML)をそのまま送信します。構造的およびビジネスルールの検証(NF XP Z12-012 プロファイル、Schematron ルール)は、受信側の認定プラットフォームが実行します。このサーバーでは実行されません。
e-レポーティングのペイロード検証は、スキーマレベルの XSD のみです。 取引レポート(Flux 10.1/10.3)および支払いレポート(Flux 10.2/10.4)は、
validate_ereporting_xmlが呼び出されたときに DGFiP v3.2 XSD スキーマに対して検証されますが、より深いビジネスルールのチェック(例:申告金額と請求書合計の整合性)は AP の責任です。PDF/A-3 エンベロープの生成は行いません。 呼び出し元は、CII XML が埋め込まれた準拠した Factur-X PDF/A-3 ファイルを生成する必要があります。このサーバーは完成したバイナリを送信します。
認定プラットフォームは最終検証を実行し、不適合な送信をエラーコードとメッセージとともに拒否する場合があります。
🏗️ アーキテクチャ
このサーバーは、AI エージェントと改革の技術インフラストラクチャの間のインテリジェントな通信インターフェースとして機能します。
[ ERP / Business IS ] <--> [ MCP Server ] <--> [ Approved Platform (PA/PDP) ]
^ |
| v
[ AI Agent (Claude) ] <--- (XP Z12-013 Standard)🛠️ 公開サービス
サービス | ドメイン | 標準 | MCP ツール |
フローサービス | 請求書フローと e-レポーティング | 附属書 A、v1.2.0 | 5 ツール |
PPF アニュエール(ディレクトリ) | 中央ディレクトリ(SIREN/SIRET/ルーティング/アドレス指定) | PPF swagger v1.11.0 | 20 ツール |
Webhook サービス | イベント通知サブスクリプション | 附属書 A、v1.2.0 | 5 ツール |
Factur-X サービス | CII XML 検証(Schematron) | Factur-X 1.09.2 | 1 ツール |
テキストは 2026 年 6 月(v1.2.0 swagger 現在)に更新されました — AFNOR は 2026 年 6 月に XP Z12-013 の説明テキストを更新しましたが、swagger は更新されていません。サーバーは引き続き v1.2.0 ワイヤー契約を実装しています。
注記(FR-XSLT2-1、解決済み): 同梱の Factur-X 1.09.2 Schematron スタイルシートには XSLT 2.0 が必要ですが、
lxml/libxslt(XSLT 1.0 のみ)ではコンパイルできません — ZUGFeRD で追跡されているDE-XSLT2-1ギャップと同じ根本原因です。validate_facturxは現在、Saxon-HE を介して実際の Schematron 検証を実行します。これを機能させるには、オプションのxslt2エクストラをインストールしてください:pip install mcp-facture-electronique-fr[xslt2]。これがない場合、ツールはlevel="unavailable"にグレースフルに縮退します。
注記(FR-FLUX11-2026-06、PPF アニュエール): ディレクトリツールは、同梱の PPF プラットフォーム swagger
ppf-openapi-annuaire-api-public-1.11.0-openapi.jsonに直接接続されています。これは PPF プラットフォーム固有の インターフェースであり、PDP に依存しない附属書 B の抽象化ではありません。swagger 自体の説明によると、これらのエンドポイントは変更される可能性があり、使用前に PISTE アプリケーションの公開が必要です。
🚀 インストール
PyPI 経由(推奨)
pip install mcp-facture-electronique-frまたは、事前インストールなしで uvx を使用:
uvx mcp-facture-electronique-frFactur-X Schematron 検証(validate_facturx、XSLT 2.0 / Saxon-HE バックエンドが必要 — 上記 FR-XSLT2-1 を参照)の場合:
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⚙️ 設定(.env)
サーバーは、認定プラットフォーム(PA)で認証するために以下の変数を必要とします。
変数 | 説明 |
| PA フローサービスのベース URL |
| 非推奨 — 読み取られなくなりました。 |
| PPF アニュエールサービスのベース URL(デフォルトは本番 swagger の |
| OAuth2 クライアント ID |
| OAuth2 クライアントシークレット |
| 認証サーバーの URL |
| マルチテナント AP 用の組織識別子(オプション) |
| リクエストタイムアウト(デフォルト:30 秒) |
| CDAR の 2 番目の |
|
|
| PPF |
| PPF |
🤖 Claude Desktop との統合
このサーバーを Claude で使用するには、claude_desktop_config.json ファイルに次の設定を追加します。
{
"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"
}
}
}
}⌨️ Cursor との統合
Cursor は stdio を介して MCP サーバーをサポートしています。設定を以下に追加します。
グローバル(すべてのプロジェクト):
~/.cursor/mcp.jsonプロジェクト(このリポジトリのみ):
.cursor/mcp.json
{
"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"
}
}
}
}変更を適用するには、Cursor ウィンドウをリロードします(Ctrl+Shift+P を押して Reload Window を選択)。
🪐 Kiro との統合
Kiro は専用の設定ファイルを介して MCP サーバーをサポートしています。2 つのレベルが利用可能です。
グローバル(すべてのプロジェクト):
~/.kiro/settings/mcp.jsonワークスペース(このリポジトリのみ):
.kiro/settings/mcp.json
{
"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"
},
"disabled": false,
"autoApprove": []
}
}
}ファイルは保存時に自動的にリロードされます。コマンドパレット(Cmd+Shift+P / Ctrl+Shift+P)から MCP を選択して設定を開くこともできます。
Kiro セキュリティのヒント: シークレットを平文で書く代わりに、
"PA_CLIENT_SECRET": "${PA_CLIENT_SECRET}"という構文を使用してください。Kiro は起動時にシェル環境変数を解決します。
🧰 利用可能な MCP ツール
フローサービス(フロー管理)
submit_flow: 請求書(Factur-X、UBL、CII)または e-レポーティングデータを送信します。search_flows: 標準フィルターを使用して、送信済みまたは受信済みのフローを複数条件で検索します。submit_lifecycle_status: ライフサイクルステータス(例:利用可能、回収済み、紛争)を更新します。get_flow: 特定のフローの完全な詳細と添付ファイルを取得します。healthcheck_flow: PA フロー API の接続性と可用性をテストします。
PPF アニュエール(ディレクトリ)
同梱の PPF プラットフォーム swagger ppf-openapi-annuaire-api-public-1.11.0-openapi.json に直接接続されています — 上記の注記を参照してください。
search_company/get_company_by_siren/get_company_by_id_instance: 法人単位(SIREN)を検索します。search_establishment/get_establishment_by_siret/get_establishment_by_id_instance: 事業所(SIRET)を検索します。search_routing_code/get_routing_code_by_siret_and_code/get_routing_code_by_id_instance/create_routing_code/update_routing_code/replace_routing_code: ルーティングコード(code-routage)を管理します。search_directory_line/get_directory_line_by_code/get_directory_line/create_directory_line/update_directory_line/replace_directory_line/delete_directory_line: ディレクトリ行(ligne-annuaire)、つまり電子請求書の受信アドレスを管理します。check_ppf_annuaire_health: PPF アニュエールサービスの可用性を確認します。
Webhook サービス(Webhook 管理)
list_webhooks: 現在のトークン所有者のすべての Webhook サブスクリプション ID を一覧表示します。get_webhook: Webhook サブスクリプションの完全な詳細を取得します。create_webhook: フローイベント通知をサブスクライブします(フロータイプ、方向、処理ルールでフィルタリング)。update_webhook: Webhook の技術的パラメータ(認証、署名)を更新します。delete_webhook: Webhook のサブスクリプションを解除します。
📚 規制参照
AFNOR XP Z12-012: 請求書メッセージ形式、プロファイル、ライフサイクルステータス(v1.4、2026 年 6 月版)。
AFNOR XP Z12-013: サービスインターフェース仕様(2026 年 6 月版、v1.2.0 ワイヤー契約)。
AFNOR XP Z12-014: ビジネスユースケースの技術実装ガイド(v1.4、2026 年 6 月版)。
フランス B2B 改革: 必須ロールアウトスケジュール(2024-2026)。
🧪 テスト
# Run the unit and integration test suite
pytest tests/ -vその他の電子請求書 MCP サーバー
国 | サーバー |
🌍 グローバル | |
🇧🇪 ベルギー | |
🇧🇷 ブラジル | |
🇫🇷 フランス | |
🇩🇪 ドイツ | |
🇮🇹 イタリア | |
🇵🇱 ポーランド | |
🇪🇸 スペイン |
📄 ライセンス
このプロジェクトは Apache 2.0 ライセンスの下で配布されています。詳細は LICENSE ファイルを参照してください。
プロジェクトは cmendezs によって保守されています。XP Z12-013 標準の実装に関するご質問は、お気軽に Issue を開いてください。
Available Tools
34 toolscheck_ppf_annuaire_healthA
Check the availability of the PPF Annuaire service (GET /healthcheck). Use before a directory-management session to ensure the service is reachable.
Inputs: no named parameters. Returns: object
create_directory_lineA
Create a directory line (electronic invoice receiving address) (POST /ligne-annuaire).
HUMAN-IN-THE-LOOP: Requires user confirmation. Call without confirmation_token first, show the summary to the user, then call again with the token.
Inputs: siren (required), date_debut_effet (required), matricule_plateforme (required), siret, +4 more. Returns: object
create_routing_codeA
Create a routing code (POST /code-routage).
HUMAN-IN-THE-LOOP: Requires user confirmation. Call without confirmation_token first, show the summary to the user, then call again with the token.
Inputs: siret (required), identifiant_routage (required), libelle_code_routage (required), nature_etablissement (required), +4 mo… Returns: object
create_webhookA
Subscribe to webhook notifications from the Approved Platform.
The AP will POST event payloads to the callback URL whenever a flow matching the specified filters (flow type, direction, processing rule, ack status) is created or updated.
HUMAN-IN-THE-LOOP: Requires user confirmation. Call without confirmation_token first, show the summary to the user, then call again with the token.
Inputs: flow_type (required), callback_url (required), flow_direction (required), auth_type, +10 more. Returns: object
delete_directory_lineA
Delete a directory line (DELETE /ligne-annuaire/id-instance:{id-instance}).
HUMAN-IN-THE-LOOP: Requires user confirmation. Call without confirmation_token first, show the summary to the user, then call again with the token.
Inputs: id_instance (required), confirmation_token. Returns: object
delete_webhookA
Delete (unsubscribe from) a webhook. After deletion, the AP will stop sending notifications to the callback URL.
HUMAN-IN-THE-LOOP: Requires user confirmation. Call without confirmation_token first, show the summary to the user, then call again with the token.
Inputs: webhook_uid (required), confirmation_token. Returns: object
get_company_by_id_instanceA
Look up a legal unit by directory instance ID (GET /siren/id-instance:{id-instance}).
Inputs: id_instance (required). Returns: object
get_company_by_sirenA
Look up a legal unit by SIREN (GET /siren/code-insee:{siren}).
Inputs: siren (required). Returns: object
get_directory_lineA
Look up a directory line by directory instance ID (GET /ligne-annuaire/id-instance:{id-instance}).
Inputs: id_instance (required). Returns: object
get_directory_line_by_codeA
Look up a directory line by addressing code (GET /ligne-annuaire/code:{identifiant-adressage}).
Inputs: identifiant_adressage (required). Returns: object
get_establishment_by_id_instanceB
Look up an establishment by directory instance ID (GET /siret/id-instance:{id-instance}).
Inputs: id_instance (required). Returns: object
get_establishment_by_siretB
Look up an establishment by SIRET (GET /siret/code-insee:{siret}).
Inputs: siret (required). Returns: object
get_flowA
Retrieve a flow by its identifier. docType allows choosing between JSON metadata (Metadata), the original document (Original), the converted document (Converted), or the readable representation (ReadableView). By default, returns the JSON metadata (status, dates, identifiers).
Inputs: flow_id (required), doc_type. Returns: object
get_routing_code_by_id_instanceB
Look up a routing code by directory instance ID (GET /code-routage/id-instance:{id-instance}).
Inputs: id_instance (required). Returns: object
get_routing_code_by_siret_and_codeA
Look up a routing code by SIRET and code (GET /code-routage/siret:{siret}/code:{identifiant-routage}).
Inputs: siret (required), identifiant_routage (required). Returns: object
get_webhookA
Retrieve the full details of a webhook subscription: callback URL, authentication mode, signature configuration, and metadata filters (flow type, direction, processing rule, ack status).
Inputs: webhook_uid (required). Returns: object
healthcheck_flowA
Check the availability of the Approved Platform's Flow Service. Returns the operational status of the service (ok/degraded/unavailable). Use before an invoice submission session to ensure the AP is reachable.
Inputs: no named parameters. Returns: object
list_webhooksA
List all webhook subscription IDs owned by the current OAuth2 token holder.
Returns a list of webhook UUIDs. Use get_webhook with each ID to retrieve the full subscription details (callback URL, filters, authentication).
Inputs: no named parameters. Returns: object
replace_directory_lineA
Fully replace a directory line (PUT /ligne-annuaire/id-instance:{id-instance}).
HUMAN-IN-THE-LOOP: Requires user confirmation. Call without confirmation_token first, show the summary to the user, then call again with the token.
Inputs: id_instance (required), matricule_plateforme (required), date_fin_effet, confirmation_token. Returns: object
replace_routing_codeA
Fully replace a routing code (PUT /code-routage/id-instance:{id-instance}). Unlike update_routing_code, all fields are required and replace the existing object entirely.
HUMAN-IN-THE-LOOP: Requires user confirmation. Call without confirmation_token first, show the summary to the user, then call again with the token.
Inputs: id_instance (required), etat_administratif (required), libelle_code_routage (required), type_identifiant_routage (require… Returns: object
search_companyA
Search legal units (SIRENs) in the PPF Annuaire (POST /siren/recherche).
A company must appear here before its establishments (SIRETs) or directory lines (ligne-annuaire) can be resolved. Prefer get_company_by_siren when the exact SIREN is already known.
Inputs: siren, limite, ignorer, type_entite, +2 more. Returns: object
search_directory_lineA
Search directory lines (electronic invoice receiving addresses) (POST /ligne-annuaire/recherche).
Call before sending an invoice to verify the recipient has a registered line and to identify their Approved Platform.
Inputs: siren, siret, limite, ignorer, +3 more. Returns: object
search_establishmentB
Search establishments (SIRETs) in the PPF Annuaire (POST /siret/recherche).
Inputs: siren, siret, limite, ignorer, +2 more. Returns: object
search_flowsA
Search flows (invoices, statuses, e-reportings) in the Approved Platform by criteria: flow type, status, processingRule, period, trackingId. Pagination via updatedAfter: use the 'nextUpdatedAfter' field from the response as the updated_after parameter value to get the next page.
Inputs: limit, status, flow_type, tracking_id, +2 more. Returns: object
search_routing_codeC
Search routing codes (POST /code-routage/recherche).
Inputs: siret, limite, ignorer, etat_administratif, +2 more. Returns: object
submit_flowA
Submit an electronic invoice, e-reporting, or lifecycle status to the Approved Platform.
Scope: Compatible Solution (CS) mode, no payload validation. See README "Scope" section.
This is the primary action for sending B2B invoices (Factur-X, UBL, CII), B2BInt/B2C e-reportings, or CDAR lifecycle status messages.
HUMAN-IN-THE-LOOP: This tool requires explicit user confirmation. Call without confirmation_token first; show the returned summary to the user; then call again with the provided token to execute the submission.
BEHAVIOR:
Submission is asynchronous: the AP returns a flowId and an initial status (typically 'Deposited'), not the final delivery status. Poll get_flow(flow_id) or search_flows to track processing.
Returns an error dict (with 'error' key) if the base64 encoding is invalid.
The AP may reject the flow synchronously (e.g. malformed XML, unknown recipient, quota exceeded); in that case the response contains an error code and message.
If processing_rule is B2B, the recipient must be registered in the PPF directory with an active directory line; verify with get_directory_line before submitting.
RESPONSE on success: includes flowId (AP-assigned identifier), trackingId (echoed back), status (initial processing status), and submittedAt timestamp.
USAGE GUIDELINES:
Always call get_directory_line (or search_directory_line) first to confirm the recipient is reachable and to identify their Approved Platform before submitting a B2B invoice.
Set a meaningful tracking_id (invoice number or UUID) to simplify later retrieval via search_flows.
After submission, use get_flow(flow_id, doc_type='Metadata') to monitor the flow status.
For lifecycle statuses on received invoices (Refused, Approved, etc.), prefer submit_lifecycle_status which provides structured status fields and handles mandatory PPF transmissions.
Call healthcheck_flow before a batch submission to confirm the AP is available.
Inputs: file_name (required), flow_type (required), file_base64 (required), flow_syntax (required), +3 more. Returns: object
submit_lifecycle_statusA
Emit a processing status on a received invoice: Refused, Approved, PartiallyApproved, Disputed, Suspended, Cashed, PaymentTransmitted, Cancelled. Refused and Cashed are mandatory transmissions to PPF. Reason is mandatory for Refused, Disputed, PartiallyApproved, and Suspended.
Builds a real CDAR (CrossDomainAcknowledgementAndResponse, XP Z12-014 v1.4) document — see mcp_facture_electronique_fr.clients.flow_client for the MDT-* field mapping this depends on.
HUMAN-IN-THE-LOOP: Requires user confirmation. Call without confirmation_token first, show the summary to the user, then call again with the token.
Inputs: invoice_id (required), status_code (required), issuer_party_id (required), issuer_role_code (required), +19 more. Returns: object
submit_payment_reportB
Submit a DGFiP Flux 10.2 / 10.4 payment e-reporting flow.
Scope: Compatible Solution (CS) mode, no payload validation. See README "Scope" section.
Builds a FRR XML payload conforming to DGFiP Spécifications Externes v3.2 (payment.xsd / ereporting.xsd) and submits it to the Approved Platform via POST /v1/flows with flowSyntax="FRR".
Use for:
International B2B payment reporting (processing_rule=B2BInt, flow_type=UnitaryCustomerPaymentReport)
B2C individual payment reporting (processing_rule=B2C, flow_type=UnitaryCustomerPaymentReport)
Aggregated B2C payment reporting (processing_rule=B2C, flow_type=AggregatedCustomerPaymentReport)
Inputs: flow_type (required), issuer_id (required), sender_id (required), type_code (required), +15 more. Returns: object
submit_transaction_reportA
Submit a DGFiP Flux 10.1 / 10.3 transaction e-reporting flow.
Scope: Compatible Solution (CS) mode, no payload validation. See README "Scope" section.
Builds a FRR XML payload conforming to DGFiP Spécifications Externes v3.2 (transaction.xsd / ereporting.xsd) and submits it to the Approved Platform via POST /v1/flows with flowSyntax="FRR".
Use for:
International B2B outbound sales (processing_rule=B2BInt, flow_type=IndividualCustomerTransactionReport)
International B2B inbound purchases (processing_rule=B2BInt, flow_type=UnitarySupplierTransactionReport)
B2C individual transactions (processing_rule=B2C, flow_type=IndividualCustomerTransactionReport)
Aggregated B2C reports (processing_rule=B2C, flow_type=AggregatedCustomerTransactionReport)
Inputs: flow_type (required), issuer_id (required), sender_id (required), type_code (required), +15 more. Returns: object
update_directory_lineA
Partially update a directory line (PATCH /ligne-annuaire/id-instance:{id-instance}). Only provided fields are modified.
Inputs: id_instance (required), date_fin_effet, matricule_plateforme. Returns: object
update_routing_codeA
Partially update a routing code (PATCH /code-routage/id-instance:{id-instance}). Only provided fields are modified.
Inputs: id_instance (required), etat_administratif, libelle_code_routage, type_identifiant_routage. Returns: object
update_webhookA
Update a webhook subscription's technical parameters (authentication, signature, custom headers). Metadata filters (flow type, direction) cannot be changed; delete and recreate the webhook instead.
Only provided fields are modified (PATCH semantics).
Inputs: webhook_uid (required), auth_type, auth_user_id, signature_key, +5 more. Returns: object
validate_ereporting_xmlA
Validate a DGFiP e-reporting (Flux 10) FRR XML payload.
Scope: XSD schema validation only, no business-rule checks. See README "Scope" section.
Checks the XML against the DGFiP Spécifications Externes v3.2 ereporting.xsd. Returns validation result with errors if any. Use this before submitting to catch structural problems early.
Validation levels (in order of preference):
xsd — full schema validation
wellformedness — XML failed to parse (malformed or unsafe input)
none — XSD files not found on disk
Inputs: xml_content (required). Returns: object
validate_facturxA
Validate a Factur-X CII XML document against its profile's Schematron ruleset.
Scope: Schematron (SVRL) business-rule validation only, no XSD structural check. Returns is_valid, errors, and warnings (rule_id, location, text). Use this before embedding the XML into a PDF/A-3 or submitting via submit_flow.
Requires the optional saxonche extra (FR-XSLT2-1, resolved in
mcp-einvoicing-core 1.14.0): the bundled Factur-X 1.09.2 Schematron
stylesheets require XSLT 2.0, which lxml/libxslt (XSLT 1.0 only) cannot
compile. Install with pip install mcp-facture-electronique-fr[xslt2].
If it is missing, this tool returns level="unavailable" with
is_valid=None instead of raising.
Inputs: profile (required), xml_content (required). Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 34 tools
Most tools target a distinct entity and action (company, establishment, routing code, directory line, flow, webhook), and identifier-based getters are clearly separated by lookup key. The main ambiguity is between the generic submit_flow and the specialized submit_transaction_report/submit_payment_report/submit_lifecycle_status, which all submit or build flows but are differentiated by payload construction and scope.
The dominant patterns are clear: search_*, get_*_by_*, create_*/update_*/replace_*/delete_*, submit_*, and validate_*. Minor inconsistencies exist such as healthcheck_flow vs check_ppf_annuaire_health, get_directory_line vs get_directory_line_by_code, and list_webhooks vs the search_* convention.
At 34 tools, the server covers many subdomains—directory lookups, routing-code/directory-line CRUD, flow submission/retrieval, validators, and webhooks—so the count is not absurd, but it is well beyond the comfortable 3–15 range. The breadth of the underlying API justifies the size, but it makes the MCP surface heavy for an agent to navigate reliably.
The server covers the core lifecycle well: search/get for directory entities, full CRUD for directory lines and webhooks, flow submission/retrieval/search/status, and validation for e-reporting and Factur-X. The main gap is that routing codes have create/update/replace but no delete operation, which leaves a lifecycle hole.
Maintenance
Related MCP Connectors
MCP Spec Compliance MCP — audits any MCP server.json against the official Model Context Protocol
Deterministic OpenAPI 3.x SemVer diff, SPF 10-lookup flattener & WCAG 2.2 / EN 301 549 MCP server.
MCP server for French (BOAMP) + EU (TED) public procurement data via TenderAPI.
MCP server for the PDFGate API. Generate PDFs, manage documents and handle e-signatures.
Related MCP Servers
- AlicenseAqualityBmaintenanceModel Context Protocol (MCP) server for Italian Electronic Invoicing (FatturaPA / SDI). Provide tools to validate, generate, and explore API specifications for Sistema di Interscambio (SDI) interoperability.4374 PyPI2Apache 2.0
- AlicenseAqualityBmaintenanceModel Context Protocol (MCP) server for German Electronic Invoicing (ZUGFeRD 2.x / XRechnung 3.x). Provides tools to validate, generate, parse, and convert invoices compliant with EN 16931 and KoSIT.50146 PyPI2Apache 2.0
- AlicenseAqualityBmaintenanceModel Context Protocol (MCP) server for Polish Electronic Invoicing (KSeF / FA(2)). Provides tools to validate, generate, and explore API specifications for KSeF interoperability.10102 PyPI3Apache 2.0
- AlicenseAqualityBmaintenanceModel Context Protocol (MCP) server for Singapore Electronic Invoicing (InvoiceNow / PINT-SG / Peppol 5-Corner Model). Provides tools to validate, generate, and explore API specifications for IRAS / Peppol interoperability.1737 PyPIApache 2.0