fudaut-bmecat-oci-mcp
Converts BMEcat 1.2/2005 catalogs into import-ready Sage 100 JSON or CSV mappings, including SKU, GTIN, descriptions, units, tier prices, VAT, and classifications.
Validates SAP OCI 4.0/5.0 PunchOut cart payloads in JSON, form-encoded, or HTML form formats, checking item indexing, mandatory fields, units, field lengths, quantities, prices, and currency totals.
Converts BMEcat 1.2/2005 catalogs into import-ready Shopware 6 JSON or CSV mappings, including product data, units, tier prices, VAT, and classifications.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@fudaut-bmecat-oci-mcp Validate catalog.xml as a BMEcat 2005 catalog"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
fudaut-bmecat-oci-mcp
MIT-licensed Model Context Protocol (MCP) server and CLI for non-SAP technical wholesale and B2B procurement: BMEcat 1.2 & 2005 validation (GS1 GTIN/EAN-8/13, BigInt tier pricing, ETIM/eCl@ss, XXE protection), BMEcat to JTL-Wawi / weclapp / Shopware 6 / Sage 100 / SelectLine ERP JSON & CSV conversion, wholesale CSV/JSON to BMEcat 2005 T_NEW_CATALOG generation, and SAP OCI 4.0 / 5.0 PunchOut cart validation.
English
fudaut-bmecat-oci-mcp equips MCP-compatible AI assistants (Claude Desktop, Claude Code, Cursor, Windsurf, custom hosts) and CI pipelines with four deterministic local tools for technical wholesale catalog and PunchOut workflows (BMEcat 1.2, BMEcat 2005, SAP OCI 4.0/5.0, JTL-Wawi, weclapp, Shopware 6, Sage 100, SelectLine).
It runs 100 % locally over stdio or as a CLI binary, makes zero external network calls, uses exact BigInt fixed-point decimal arithmetic (10^8 scale, zero IEEE-754 float drift), blocks XML External Entity (<!ENTITY / XXE) attacks, and enforces strict single-folder path isolation (BMECAT_ORDNER). Both users and maintainer Ilia Isakov (Fudaut) pay 0 EUR in license or external API fees.
Four MCP Tools & CLI Subcommands
MCP Tool | CLI Subcommand | What It Checks / Produces | Modifies Disk (MCP) |
|
| Validates BMEcat 1.2 & 2005 XML catalogs: | No ( |
|
| Converts BMEcat 1.2/2005 XML into import-ready ERP/shop JSON or | No ( |
|
| Converts a wholesale price list (CSV with | No ( |
|
| Audits SAP OCI 4.0 / 5.0 PunchOut cart payloads (JSON, | No ( |
Server-Enforced Safety Boundaries
Single-Folder Isolation (
BMECAT_ORDNER): File paths passed to MCP tools are resolved strictly insideBMECAT_ORDNER(defaults toprocess.cwd()). Parent traversal (..), external absolute paths, and symlinks or Windows junctions escaping the root are rejected viafs.realpathSync. Files above20 MBare refused.Read-Only & Offline: All four MCP tools set
readOnlyHint: true, write nothing to disk, and make zero network calls.XXE Protection:
<!ENTITYdeclarations in XMLDOCTYPEblocks and unknown entities are rejected deterministically.Redacted Audit Log on
stderr: Each MCP call writes one compact JSON line tostderr(zeit,werkzeug,quelle,ergebnis) without company names, item texts, SKUs, or monetary amounts.Exact
BigIntFixed-Point Math: Quantities, unit prices, price units, tier bounds, and VAT conversions run at10^8scale with half-away-from-zero commercial rounding.
Quickstart & Installation
Prerequisite: Node.js >= 20.
1. Run Directly via npx (Claude Desktop, Claude Code, Cursor, Windsurf)
{
"mcpServers": {
"bmecat-oci": {
"command": "npx",
"args": ["-y", "github:iisakovbusiness-wq/fudaut-bmecat-oci-mcp"],
"env": {
"BMECAT_ORDNER": "/absolute/path/to/catalogs-and-oci"
}
}
}
}Or from a local checkout:
git clone https://github.com/iisakovbusiness-wq/fudaut-bmecat-oci-mcp.git
cd fudaut-bmecat-oci-mcp
npm ci
npm test{
"mcpServers": {
"bmecat-oci": {
"command": "node",
"args": ["/absolute/path/to/fudaut-bmecat-oci-mcp/dist/cli.js"],
"env": {
"BMECAT_ORDNER": "/absolute/path/to/catalogs-and-oci"
}
}
}
}Config file locations:
Claude Desktop:
claude_desktop_config.jsonClaude Code:
.mcp.jsonin your project root or~/.claude.jsonCursor:
.cursor/mcp.jsonWindsurf:
~/.codeium/windsurf/mcp_config.json
2. Command-Line Interface (CLI & CI Gate)
Exit codes: 0 when valid/successful, 1 when validation errors are detected, 2 on file or usage errors. All commands also support - to read from stdin.
# 1. Validate a BMEcat 2005 or 1.2 catalog
npx -y github:iisakovbusiness-wq/fudaut-bmecat-oci-mcp validate-bmecat fixtures/bmecat-2005-valide.xml
# 2. Convert BMEcat XML to Shopware 6 JSON or JTL-Wawi CSV
npx -y github:iisakovbusiness-wq/fudaut-bmecat-oci-mcp to-erp fixtures/bmecat-2005-valide.xml --target shopware6
npx -y github:iisakovbusiness-wq/fudaut-bmecat-oci-mcp to-erp fixtures/bmecat-12-valide.xml --target jtl-wawi --format csv
# 3. Generate BMEcat 2005 XML from a wholesale CSV and validate via stdin roundtrip
npx -y github:iisakovbusiness-wq/fudaut-bmecat-oci-mcp from-csv fixtures/grosshandel-preisliste-valide.csv | node dist/cli.js validate-bmecat -
# 4. Validate SAP OCI 4.0 / 5.0 PunchOut cart payloads (form-encoded or JSON)
npx -y github:iisakovbusiness-wq/fudaut-bmecat-oci-mcp validate-oci fixtures/oci-cart-valide-form.txt
npx -y github:iisakovbusiness-wq/fudaut-bmecat-oci-mcp validate-oci fixtures/oci-cart-defekt-form.txt --json3. Docker Container
docker build -t fudaut-bmecat-oci-mcp .
docker run -i --rm -v /path/to/files:/data:ro -e BMECAT_ORDNER=/data fudaut-bmecat-oci-mcpPositive-Control Test Suite (fixtures/ & test/)
npm test compiles TypeScript (strict: true) and runs node --test across 11 synthetic .example fixtures:
Valid baselines (
0errors):bmecat-2005-valide.xml,bmecat-12-valide.xml,grosshandel-preisliste-valide.csv(roundtripcsv_to_bmecat_2005->validate_bmecat),grosshandel-preisliste-valide.json,oci-cart-valide-form.txt,oci-cart-valide-json.json.Positive-control defect fixtures (verified
ok: false):bmecat-defekt-doppelte-aid.xml(duplicateSUPPLIER_AID, missingDESCRIPTION_SHORTandORDER_UNIT),bmecat-defekt-ean-und-staffel.xml(bad GS1 EAN-13 check digit, invalidTAX=19, inconsistent currency, negative/duplicateLOWER_BOUND, negative price, invalidSTKunit, malformed ETIM ID),bmecat-defekt-xxe.xml(<!ENTITYblocked),oci-cart-defekt-form.txt&oci-cart-defekt-json.json(STKunit instead ofPCE, description> 40chars, attachment> 255chars, negative/zero quantity, negative price, decimal comma).
Automated Wholesale ERP, Catalog & E-Invoicing Bridges (Fudaut)
This open-source MCP server and CLI remain permanently free (0 EUR license and external API fees; users pay 0 EUR, Ilia Isakov / Fudaut pays 0 EUR).
If your wholesale or industrial B2B business needs a production-ready automation bridge across BMEcat 2005, SAP OCI PunchOut, JTL-Wawi, weclapp, Shopware 6, Sage 100, SelectLine, or B2B e-invoicing, Fudaut delivers fixed-price turnkey integrations (final prices under § 19 UStG, paid by the direct client to Fudaut):
48h Handoff Bridge (
48h-Übergabe-Brücke):1,450 EURfixed price (direct client pays725 EURat start and725 EURafter acceptance on real sample data, 100 % credited toward an implementation package).Free Client-Side E-Rechnung Browser Checker (zero server upload):
https://www.fudaut.com/en/e-rechnung-check
Services overview (German): https://www.fudaut.com/de/leistungen
Services overview (English): https://www.fudaut.com/en/services
Related MCP server: mcp-einvoicing-de
Deutsch
fudaut-bmecat-oci-mcp ist ein lokal über stdio laufender Open-Source-MCP-Server und Kommandozeilen-Konverter (MIT-Lizenz, TypeScript / Node.js) für den technischen Großhandel und B2B-Einkauf abseits von SAP: BMEcat 1.2 & 2005, ERP-/Shop-Konvertierung (JTL-Wawi, weclapp, Shopware 6, Sage 100, SelectLine), Großhandels-Preislisten zu BMEcat-2005-T_NEW_CATALOG und SAP OCI 4.0 / 5.0 PunchOut.
Der Server arbeitet zu 100 % lokal ohne externe Netzwerk- oder API-Aufrufe, rechnet exakt mit BigInt-Festkomma-Arithmetik (10^8-Skalierung ohne IEEE-754-Rundungsfehler), blockiert <!ENTITY-Angriffe (XXE) und erzwingt eine harte Einzelordner-Grenze (BMECAT_ORDNER). Anwender zahlen 0 € Lizenz- oder API-Kosten, Ilia Isakov (Fudaut) zahlt 0 € laufende Drittanbieter-API-Kosten.
Die vier MCP-Werkzeuge & CLI-Befehle
MCP-Werkzeug | CLI-Befehl | Funktion & Prüfregeln | Schreibt auf Platte (MCP) |
|
| Prüft BMEcat 1.2 & BMEcat 2005 XML-Kataloge auf Struktur ( | nein ( |
|
| Konvertiert BMEcat 1.2/2005 XML in direkt importierbares ERP-/Shop-JSON oder | nein ( |
|
| Erzeugt aus einer Großhandels-Preisliste (CSV mit | nein ( |
|
| Prüft SAP OCI 4.0 / 5.0 PunchOut-Warenkorb-Payloads (JSON, Form-Encoded oder HTML-Formulare) auf 1-basierte | nein ( |
Installation & Einbindung in MCP-Clients
Voraussetzung: Node.js ab Version 20.
1. Direktstart über npx (Claude Desktop, Claude Code, Cursor, Windsurf)
{
"mcpServers": {
"bmecat-oci": {
"command": "npx",
"args": ["-y", "github:iisakovbusiness-wq/fudaut-bmecat-oci-mcp"],
"env": {
"BMECAT_ORDNER": "/absoluter/pfad/zu/katalogen-und-oci"
}
}
}
}Oder aus einem lokalen Klon:
git clone https://github.com/iisakovbusiness-wq/fudaut-bmecat-oci-mcp.git
cd fudaut-bmecat-oci-mcp
npm ci
npm test{
"mcpServers": {
"bmecat-oci": {
"command": "node",
"args": ["/absoluter/pfad/zu/fudaut-bmecat-oci-mcp/dist/cli.js"],
"env": {
"BMECAT_ORDNER": "/absoluter/pfad/zu/katalogen-und-oci"
}
}
}
}2. Nutzung als CLI und in CI/CD-Pipelines
Exit-Codes: 0 bei fehlerfreier Datei, 1 bei fachlichem Befund (ok = false), 2 bei Dateifehler. Mit - lesen alle Befehle auch von stdin.
# BMEcat 2005 Katalog validieren
node dist/cli.js validate-bmecat fixtures/bmecat-2005-valide.xml
# BMEcat nach Shopware 6 JSON oder JTL-Wawi CSV konvertieren
node dist/cli.js to-erp fixtures/bmecat-2005-valide.xml --target shopware6
node dist/cli.js to-erp fixtures/bmecat-12-valide.xml --target jtl-wawi --format csv
# Großhandels-CSV in BMEcat 2005 wandeln und per stdin gegenprüfen
node dist/cli.js from-csv fixtures/grosshandel-preisliste-valide.csv | node dist/cli.js validate-bmecat -
# SAP OCI 4.0 / 5.0 PunchOut-Warenkorb prüfen
node dist/cli.js validate-oci fixtures/oci-cart-valide-form.txt
node dist/cli.js validate-oci fixtures/oci-cart-defekt-form.txt --jsonProjektstruktur
src/math.ts Exakte BigInt-Festkomma-Arithmetik (Skalierung 10^8, deutsches Komma/ISO-Punkt)
src/xml.ts Deterministischer XML-Parser mit Zeilennummern, Escaping und XXE-Sperre
src/codes.ts GS1 Modulo-10 GTIN/EAN, UN/ECE Rec 20 Einheiten, ISO 4217, ETIM/eCl@ss
src/bmecatModel.ts Kanonisches Modell für BMEcat 1.2 (ARTICLE) und BMEcat 2005 (PRODUCT)
src/validateBmecat.ts Werkzeug 1: BMEcat 1.2 & 2005 Katalogprüfung
src/bmecatToErp.ts Werkzeug 2: ERP-/Shop-Konvertierung (JTL-Wawi, weclapp, Shopware 6, Sage 100, SelectLine)
src/csvToBmecat.ts Werkzeug 3: Großhandels-CSV/JSON nach BMEcat 2005 T_NEW_CATALOG
src/validateOci.ts Werkzeug 4: SAP OCI 4.0 / 5.0 PunchOut-Warenkorbprüfung
src/server.ts MCP-Server (stdio), Einzelordner-Grenze (BMECAT_ORDNER), stderr-Protokoll
src/cli.ts Kombinierter MCP-Starter (0 Argumente) und CLI-Runner
fixtures/ 11 synthetische Positiv- und Defekt-Musterdateien (nur .example-Daten)
test/ Automatisierte Unit-, Positivkontroll-, MCP-stdio-, CLI- und Hygiene-Tests
server.json Metadaten nach Official MCP Registry Schema (2025-12-11)
glama.json Glama-Maintainer-Metadaten
Dockerfile Mehrstufiges Node-22-Alpine-Image (non-root USER node)Produktive Katalog-, OCI- & E-Rechnungs-Brücken (Fudaut)
Dieses Open-Source-Paket ist unter der MIT-Lizenz dauerhaft kostenlos (0 € Lizenz- und API-Kosten; Anwender zahlen 0 €, Ilia Isakov / Fudaut zahlt 0 € externe API-Gebühren).
Wenn Ihr Großhandel oder Industriebetrieb eine produktive Schnittstelle zwischen bestehendem ERP (JTL-Wawi, weclapp, Shopware 6, Sage 100, SelectLine), BMEcat 2005, SAP OCI PunchOut und BMF-konformen E-Rechnungen benötigt, setzt Fudaut die Strecke zum klaren Festpreis um (Endpreise nach § 19 UStG, jeweils gezahlt vom Direktkunden an Fudaut):
48h-Übergabe-Brücke:
1.450 €Festpreis (Direktkunde zahlt725 €bei Start und725 €erst nach Abnahme an echten Musterdaten, zu 100 % anrechenbar auf ein Umsetzungspaket).Kostenloser 100-%-Browser-Prüfer für E-Rechnungen (null Server-Upload):
https://www.fudaut.com/de/e-rechnung-check
Leistungsübersicht & Festpreise: https://www.fudaut.com/de/leistungen
Marken- und Lizenzhinweis / Trademarks & License
Markenhinweis / Trademarks: BMEcat ist eine Standardbezeichnung des Bundesverbandes Materialwirtschaft, Einkauf und Logistik e.V. (BME). SAP und OCI (Open Catalog Interface) sind Bezeichnungen bzw. Marken der SAP SE. JTL und JTL-Wawi sind Marken der JTL-Software-GmbH. weclapp ist eine Marke der weclapp SE. Shopware ist eine Marke der shopware AG. Sage ist eine Marke der Sage Group plc. SelectLine ist eine Marke der SelectLine Software GmbH. ETIM ist eine Bezeichnung der ETIM International / ETIM Deutschland e.V. eCl@ss ist eine Bezeichnung des ECLASS e.V. Dieses Open-Source-Projekt steht in keiner gesellschaftsrechtlichen oder vertraglichen Verbindung zu den genannten Rechteinhabern und ist von ihnen weder geprüft noch zertifiziert. Alle Firmen-, Produkt- und Katalogangaben unter
fixtures/sind frei erfunden (.example).Lizenz / License: Veröffentlicht unter der MIT-Lizenz (siehe
LICENSE).
Available Tools
4 toolsbmecat_to_erp_jsonBMEcat 1.2 / 2005 nach ERP-JSON oder CSV konvertierenBRead-onlyIdempotent
Konvertiert BMEcat 1.2 oder 2005 XML-Kataloge in direkt importierbares ERP-/Shop-JSON oder CSV (generic, JTL-Wawi, weclapp, Shopware 6, Sage 100, SelectLine) inklusive Artikelnummer, GTIN, Kurz-/Langtext, UN/ECE-Einheit, exakter BigInt-Staffelpreise, MwSt.-Satz und ETIM/eCl@ss-Klassifikation.
Inputs: xml, pfad, zielSystem, ausgabeFormat. Returns: ok, artikel, csvText, katalog, +7 more
csv_to_bmecat_2005Großhandels-CSV/JSON in BMEcat 2005 XML konvertierenARead-onlyIdempotent
Erzeugt aus einer Großhandels-Preisliste (CSV mit Semikolon oder Komma, oder JSON) ein sauberes, XML-escaped BMEcat-2005-T_NEW_CATALOG-XML inklusive HEADER, SUPPLIER, PRODUCT-Blöcken, UN/ECE-Einheitennormalisierung, GS1-GTIN-Prüfung und BigInt-Staffelpreisen.
Inputs: pfad, inhalt, sprache, waehrung, +7 more. Returns: ok, xml, befunde, waehrung, +5 more
validate_bmecatBMEcat 1.2 / 2005 XML-Katalog prüfenARead-onlyIdempotent
Validiert BMEcat 1.2 und BMEcat 2005 XML-Kataloge deterministisch: Struktur HEADER/CATALOG/SUPPLIER/T_NEW_CATALOG, eindeutige SUPPLIER_AID/SUPPLIER_PID, GS1 Modulo-10 GTIN/EAN-8/12/13/14 Prüfziffern, Pflichtfelder DESCRIPTION_SHORT/ORDER_UNIT/PRICE_DETAILS, UN/ECE-Mengeneinheiten, konsistente CURRENCY/TAX/LOWER_BOUND-Staffeln in BigInt-Festkomma-Arithmetik, ETIM/eCl@ss-Klassifikation und XXE-<!ENTITY-Sperre.
Inputs: xml, pfad. Returns: ok, befunde, katalog, statistik, +4 more
validate_oci_cartSAP OCI 4.0 / 5.0 PunchOut-Warenkorb prüfenARead-onlyIdempotent
Validiert SAP OCI 4.0 / 5.0 PunchOut-Warenkorb-Payloads (JSON, application/x-www-form-urlencoded oder HTML-Formular): 1-basierte NEW_ITEM-Indizierung, Pflichtfelder DESCRIPTION/QUANTITY/UNIT/PRICE/PRICEUNIT/CURRENCY, UN/ECE-Einheitenprüfung (PCE/C62/MTR/KGM/LTR/SET statt STK), Feldlängen-Grenzen (<= 40 / <= 255 Zeichen), negative Mengen/Preise und BigInt-Gesamtsummen.
Inputs: pfad, payload. Returns: ok, befunde, positionen, fehlerAnzahl, +4 more
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool targets a distinct artifact and action: validating a BMEcat XML catalog, converting BMEcat to ERP JSON/CSV, generating BMEcat 2005 from CSV/JSON, and validating SAP OCI punchout carts. The two validation tools are cleanly separated by domain (BMEcat vs OCI), and the two conversion tools run in opposite directions, so misselection is unlikely.
All names are lowercase snake_case, but two follow a verb_object pattern (validate_bmecat, validate_oci_cart) while two follow a source_to_target pattern (bmecat_to_erp_json, csv_to_bmecat_2005). The split maps logically onto the validate/convert tool families, but it is still a mild deviation from one uniform verb_noun convention.
Four tools is tightly scoped to the domain: two validators and two converters, one per direction, with no redundant or filler entries. Nothing feels padded and every tool covers an operation an agent would realistically need for BMEcat/OCI work.
BMEcat coverage is strong (validate 1.2/2005, export to ERP JSON/CSV, and import back to BMEcat), and OCI validation is covered. Minor gaps remain: generation only produces BMEcat 2005 (no 1.2 output) and there is no tool to build or respond to an OCI cart, only to validate one.
Maintenance
Related MCP Connectors
Remote MCP: JSON repair, JSON Schema validation, JSON to TypeScript, CSV to JSON and JSON to CSV.
Audio, music, video, image, PDF, speech, text and web-check tools callable from any MCP client.
Audio, music, video, image, PDF, speech, text and web-check tools callable from any MCP client.
Create ZUGFeRD e-invoices from JSON or PDF, verify Factur-X, check VAT IDs and Peppol.
Related MCP Servers
- AlicenseAqualityDmaintenanceMCP server for DACH e-invoicing. Create XRechnung (UBL) and ZUGFeRD 2.3 (Factur-X CII) invoices, validate against EN 16931 rules, extract data from XML, and convert between UBL, CII and JSON formats.662 npm3MIT
- 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
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to explain, scrub and check ISO 20022 payment messages and SSI files entirely on the local machine, including CBPR+ readiness hints, lifecycle triage, IBAN/BIC validation and payment-vs-SSI checks against the user's own licensed reference data. Runs as a local stdio MCP server with no network calls, telemetry or bundled vendor data.MIT

invowerkofficial
AlicenseNot gradedqualityBmaintenanceEnables creating ZUGFeRD PDFs and XRechnung invoices and validating ZUGFeRD/Factur-X, XRechnung (KoSIT), and Peppol BIS e-invoices through an MCP endpoint, returning validation reports.MIT