mcp-facture-electronique-fr
mcp-facture-electronique-fr 🇫🇷
프랑스 전자송장 개혁(2026년 9월 1일 시행)을 위한 표준화된 AFNOR XP Z12-013 API를 노출하는 Python MCP 서버입니다. 이 프로젝트는 AI 에이전트(Claude, IDE)가 호환 솔루션(SC)으로서 승인 플랫폼(PA/PDP) 생태계와 기본적으로 상호작용할 수 있게 합니다.
기반 기술
이 패키지는 유럽 전자송장 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 규칙)은 이 서버가 아닌 수신 승인 플랫폼에서 수행합니다.
스키마 수준 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 도구 |
Flow 서비스 | 송장 흐름 및 전자보고 | 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월에 업데이트된 swagger 없이 XP Z12-013 설명 텍스트를 재제공함; 서버는 계속해서 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에 구애받지 않는 Annex 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 Flow 서비스의 기본 URL |
| 더 이상 사용되지 않음 — 더 이상 읽지 않음; |
| PPF Annuaire 서비스의 기본 URL(프로덕션 swagger |
| OAuth2 클라이언트 ID |
| OAuth2 클라이언트 시크릿 |
| 인증 서버 URL |
| 멀티테넌트 AP용 조직 식별자(선택 사항) |
| 요청 시간 초과(기본값: 30초) |
| CDAR 두 번째 |
|
|
| 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 서버를 지원합니다. 두 가지 수준이 있습니다:
전역(모든 프로젝트):
~/.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 도구
Flow 서비스(흐름 관리)
submit_flow: 송장(Factur-X, UBL, CII) 또는 전자보고 데이터 제출.search_flows: 표준 필터를 사용한 발신/수신 흐름의 다중 기준 검색.submit_lifecycle_status: 수명 주기 상태 업데이트(예: 사용 가능, 수집됨, 분쟁).get_flow: 특정 흐름의 전체 세부 정보 및 첨부 파일 검색.healthcheck_flow: PA Flow 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 서비스(웹훅 관리)
list_webhooks: 현재 토큰 보유자의 모든 웹훅 구독 ID 나열.get_webhook: 웹훅 구독의 전체 세부 정보 검색.create_webhook: 흐름 이벤트 알림 구독(흐름 유형, 방향, 처리 규칙으로 필터링).update_webhook: 웹훅의 기술 매개변수 업데이트(인증, 서명).delete_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.17Apache 2.0