Skip to main content
Glama
mcp-facture-electronique-fr

mcp-facture-electronique-fr

mcp-facture-electronique-fr 🇫🇷

English | Francais

License PyPI version Python mcp-facture-electronique-fr MCP server

一个 Python MCP 服务器,为法国电子发票改革(自 2026 年 9 月 1 日起生效)提供标准化的 AFNOR XP Z12-013 API。该项目使 AI 代理(Claude、IDE)能够以兼容解决方案(SC)的身份与经批准的平台(PA/PDP)生态系统进行原生交互。

构建基础

本包构建于 mcp-einvoicing-core 之上,这是一个用于欧洲电子发票 MCP 服务器的共享基础库。它提供了本包所使用的 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 规则)由接收方经批准的平台执行,而非本服务器。

  • 除模式级 XSD 外,不进行电子报告载荷验证。 当调用 validate_ereporting_xml 时,交易报告(Flux 10.1/10.3)和支付报告(Flux 10.2/10.4)会针对 DGFiP v3.2 XSD 模式进行验证,但更深入的业务规则检查(例如申报金额与发票总额之间的一致性)由 AP 负责。

  • 不生成 PDF/A-3 信封。 调用方必须生成符合规范的 Factur-X PDF/A-3 文件,并嵌入 CII XML。本服务器传输最终生成的二进制文件。

经批准的平台执行最终验证,并可能以错误代码和消息拒绝不符合规范的提交。


🏗️ 架构

服务器充当您的 AI 代理与改革技术基础设施之间的智能通信接口:

[ ERP / Business IS ] <--> [ MCP Server ] <--> [ Approved Platform (PA/PDP) ]
          ^                        |
          |                        v
   [ AI Agent (Claude) ] <--- (XP Z12-013 Standard)

🛠️ 公开的服务

服务

领域

标准

MCP 工具

流程服务

发票流程与电子报告

Annex A, v1.2.0

5 个工具

PPF Annuaire(目录)

中央目录(SIREN/SIRET/路由/寻址)

PPF swagger v1.11.0

20 个工具

Webhook 服务

事件通知订阅

Annex 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 Annuaire): 目录工具直接对接捆绑的 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-fr

对于 Factur-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_BASE_URL_FLOW

PA 流程服务的基础 URL

PA_BASE_URL_DIRECTORY

已弃用——不再读取;请参阅 PPF_ANNUAIRE_BASE_URL

PPF_ANNUAIRE_BASE_URL

PPF Annuaire 服务的基础 URL(默认为生产环境 swagger servers URL;可在沙盒测试时覆盖)

PA_CLIENT_ID

OAuth2 客户端 ID

PA_CLIENT_SECRET

OAuth2 客户端密钥

PA_TOKEN_URL

认证服务器 URL

PA_ORGANIZATION_ID

多租户 AP 的组织标识符(可选)

HTTP_TIMEOUT

请求超时(默认:30 秒)

PPF_GLOBAL_ID

用于 CDAR 第二个 RecipientTradeParty 的 PPF 参与方 GlobalID(可选;默认未设置,请参阅 submit_lifecycle_status)

PPF_SCHEME_ID

PPF_GLOBAL_ID 的 schemeID(默认 0238)

PPF_NAME

PPF RecipientTradeParty 的名称(默认 PPF)

PPF_ROLE_CODE

PPF RecipientTradeParty 的 RoleCode(默认 DFH)

🤖 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 然后选择 重新加载窗口)以应用更改。

🪐 Kiro 集成

Kiro 通过其专用配置文件支持 MCP 服务器。提供两个级别:

  • 全局(所有项目):~/.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 会在启动时解析 shell 环境变量。

🧰 可用的 MCP 工具

流程服务(流程管理)

  • submit_flow:提交发票(Factur-X、UBL、CII)或电子报告数据。

  • search_flows:使用标准过滤器对已发送或已接收的流程进行多条件搜索。

  • submit_lifecycle_status:更新生命周期状态(例如,已提供、已收取、争议)。

  • get_flow:检索特定流程的完整详细信息和附件。

  • healthcheck_flow:测试 PA 流程 API 的连接性和可用性。

PPF Annuaire(目录)

直接对接捆绑的 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 Annuaire 服务的可用性。

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 服务器

国家

服务器

🌍 全球

mcp-einvoicing-core

🇧🇪 比利时

mcp-einvoicing-be

🇧🇷 巴西

mcp-nfe-br

🇫🇷 法国

mcp-facture-electronique-fr

🇩🇪 德国

mcp-einvoicing-de

🇮🇹 意大利

mcp-fattura-elettronica-it

🇵🇱 波兰

mcp-ksef-pl

🇪🇸 西班牙

mcp-facturacion-electronica-es

📄 许可证

本项目根据 Apache 2.0 许可证分发。有关详细信息,请参阅 LICENSE 文件。


项目由 cmendezs 维护。如有关于 XP Z12-013 标准实施的任何问题,欢迎提交 Issue。

Available Tools

34 tools
check_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

    A3.6/5.0

    Scored across 34 tools

    Disambiguation4/5

    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.

    Naming Consistency4/5

    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.

    Tool Count2/5

    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.

    Completeness4/5

    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

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Model 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.
      43
      47 PyPI
      2
      Apache 2.0
    • A
      license
      A
      quality
      B
      maintenance
      Model 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.
      50
      110 PyPI
      2
      Apache 2.0
    • A
      license
      A
      quality
      B
      maintenance
      Model Context Protocol (MCP) server for Polish Electronic Invoicing (KSeF / FA(2)). Provides tools to validate, generate, and explore API specifications for KSeF interoperability.
      10
      51 PyPI
      3
      Apache 2.0
    • A
      license
      A
      quality
      B
      maintenance
      Model 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.
      17
      172 PyPI
      Apache 2.0