Kontor MCP
NPM · @KONTOR-MCP/SERVER · 2 COMPONENTS
Offline e-invoice tools for AI agents: validate, audit, convert and generate XRechnung/ZUGFeRD.
Available components
Last scanned (3 hours ago)
Scores higher than 95% of npm servers
Category Documents and Files
How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →
Supply Chain Security81
- No malware found by supply-chain analysis.Pass
- CVE check failed: a known high-severity CVE affects @modelcontextprotocol/sdk 1.30.0, a direct dependency. A fixed version is available. View diagnostics → Fail
- No install/post-install scripts declared.Pass
- 38 of 124 dependencies flagged as unhealthy. View diagnostics → Partial
Provenance & Transparency100
- Source repository is publicly reachable at the declared URL. View diagnostics → Pass
- Cryptographically verified build provenance (signed, bound to DashankaNadeeshanDeSilva/kontor-mcp). View diagnostics → Pass
- Clear OSI-approved license (Apache-2.0).Pass
- Actively maintained (last published 70 days ago).Pass
- Publishes a security disclosure policy (SECURITY.md).Pass
Schema Quality & AI Usability87
- 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).Pass
- AI-judged instruction clarity (excellent).Pass
- Tool/resource definitions use about 2851 tokens (~101/item across 28 items; 8 tools + 20 resources), lean.Pass
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management100
- No destabilizing schema changes in the last 30 days.Pass
Tool Coverage99
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 95% of tool parameters carry a description.Partial
- Structured output schemas are declared (100% of tools); any adoption earns full credit.Pass
Tool Safety100
- No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
- We read all 8 captured tool definition(s), and no name or description among them implies an irreversible operation.Pass
- An AI judge read all 10 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
- Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 31 Oct 26 +1
- Stability: 0.97 → pass security
- 30 Oct 26 −1
- Stability: pass → 0.97 functional
- 28 Oct 26 0
- GHSA-f897-62hf-6gxq affects this package: high ▼ security
- 24 Oct 26 +1
- CVE-2023-54404 affects this package: high ▼ security
- Stability: 0.97 → pass security
- 23 Oct 26 −1
- Stability: pass → 0.97 functional
- 21 Oct 26 +1
- CVE-2026-111767 affects this package: high ▼ security
- CVE-2026-111771 affects this package: high ▼ security
- CVE-2026-111768 affects this package: high ▼ security
- CVE-2026-111769 affects this package: high ▼ security
- Security disclosure: unverified → pass ▲ functional
- 20 Oct 26 −1
- Security disclosure: pass → unverified ▼ functional
- 17 Oct 26 +1
- Stability: 0.97 → pass security
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 5 Nov 2026 · Analysed npm/@kontor-mcp/server@1.0.4
Provenance Verified
A signed build attestation was found and verified, binding this exact artifact to the source repository it claims to come from.
| Result | Verified |
|---|---|
| Ecosystem | npm |
| Reason | Verified |
| Discovered via | Registry attestation endpoint |
| Source repo | DashankaNadeeshanDeSilva/kontor-mcp |
| Certificate issuer | https://token.actions.githubusercontent.com |
| Certificate SAN | https://github.com/DashankaNadeeshanDeSilva/kontor-mcp/.github/workflows/release.yml@refs/tags/v1.0.4 |
| Rekor log index | 2605417628 |
| Predicate type | SLSA build provenance https://slsa.dev/provenance/v1 |
| Subject digest | sha512:73602f43b25b4acc52819aa586dd8644869f270fbf6b53523b569a64f3eaf381f104a73deb5911e1e83f52652ef07f3d4f6d61524d43829bd35b920d2 |
Background: How many MCP packages publish verified provenance →
Vulnerabilities 7 findings
| ID | CVE | Severity | Vector | Fix available |
|---|---|---|---|---|
| GHSA-22jm-h49p-29qw | CVE-2026-111767 | high | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L | yes |
| GHSA-46jr-4wx8-v453 | CVE-2026-111768 | high | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | yes |
| GHSA-6prh-2h8m-c8cw | CVE-2026-111769 | medium | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N | yes |
| GHSA-6qxp-vccf-f47h | CVE-2026-104850 | high | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | yes |
| GHSA-f897-62hf-6gxq | high | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | yes | |
| GHSA-rvq5-wwqv-78pq | CVE-2026-111771 | medium | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N | yes |
| GHSA-mrhx-c7xc-m3w5 | CVE-2023-54404 | high | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | yes |
Background: What a vulnerability scan can and cannot prove →
Dependencies 124 packages
| Packages resolved | 124 |
|---|---|
| Stale | 38 |
| No linked repository | 1 |
| Tree resolution | Complete |
Background: SBOMs and build attestations, explained →
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →
audit_invoice Audit e-invoice ~293
One-call audit for accounts payable: parse + validate (XSD, official EN 16931 / XRechnung rules, Kontor plausibility: totals recomputed, VAT rates, IBAN, Leitweg-ID check digits, dates, duplicates) and return header facts, VAT breakdown, verdict, grouped findings with fix hints and an accept / review / reject recommendation with rationale. Fully offline. Input: `file_path` (absolute, local filesystem only) or `content_base64` (required for chat attachments / sandboxed uploads).
| Name | Type | Req | Description |
|---|---|---|---|
| content_base64 | string | – | Base64-encoded document content (alternative to file_path) |
| content_type | string | – | MIME type of content_base64; auto-detected when omitted |
| file_path | string | – | Absolute path on the machine running this server to an XML (UBL/CII) or ZUGFeRD/Factur-X PDF file. For chat attachments or sandboxed uploads (e.g. /mnt/user-data/...) the server cannot see that files… |
| known_invoice_numbers | array | – | Invoice numbers already booked/known to the caller; a match yields KONTOR-PLAUS-DUPLICATE and recommendation 'review'. The server stores nothing. |
| lang | string | – | Language of explanations and summaries |
| profile_override | string | – | Force a rule set by CustomizationID / guideline identifier |
| Name | Type | Req | Description |
|---|---|---|---|
| disclaimer | string | yes | – |
| findings | object | yes | – |
| header | object | yes | – |
| layers | object | yes | – |
| rationale | object | yes | – |
| recommendation | string | yes | – |
| stats | object | yes | – |
| timingsMs | object | yes | – |
| verdict | string | yes | – |
No examples provided.
check_obligations Check e-invoicing obligations (Germany) ~408
Offline decision tree over the German e-invoicing mandate (§ 14 / § 27 Abs. 38 UStG, UStDV §§ 33/34/34a, E-RechV): what applies to an issuer or receiver (B2B / B2G / B2C), from when, transition rules (2026, 2027 with the €800,000 prior-year turnover threshold, 2028), exemptions (small business, small-amount invoices, exempt supplies, cross-border), accepted formats and whether a Leitweg-ID is needed. Every answer carries the primary sources, the date the legal parameters were last verified, and a non-advice disclaimer.
| Name | Type | Req | Description |
|---|---|---|---|
| annual_revenue_eur | number | – | Issuer's total turnover (§ 19 Abs. 2 UStG) of the PRIOR calendar year in EUR |
| counterparty | string | yes | b2b: both parties are businesses · b2g: a German public-sector buyer is involved · b2c: a consumer is involved |
| cross_border | boolean | – | The other party is not established in Germany |
| date | string | – | Date of supply / reference date (default: today) |
| direct_order_net_eur | number | – | B2G only: net value of a federal direct order (Direktauftrag) |
| exempt_supply_4_8_29 | boolean | – | The supply is VAT-exempt under § 4 Nr. 8–29 UStG (e.g. financial services, most property letting) |
| invoice_gross_eur | number | – | Gross invoice total in EUR (Kleinbetragsrechnung ≤ 250 €) |
| lang | string | – | Language of explanations and summaries |
| role | string | yes | Are you sending (issuer) or receiving the invoice? |
| small_business_19_ustg | boolean | – | Issuer applies the small-business scheme (§ 19 UStG Kleinunternehmer) |
| Name | Type | Req | Description |
|---|---|---|---|
| asOf | string | yes | – |
| disclaimer | string | yes | – |
| lastVerified | string | yes | Date the embedded legal parameters were last verified against the primary sources |
| obligations | array | yes | – |
| summary | string | yes | – |
| verifiedBy | string | yes | – |
No examples provided.
convert_invoice Convert e-invoice ~355
Convert an invoice: extract the XML from a ZUGFeRD/Factur-X PDF, convert UBL ↔ CII via the EN 16931 semantic model (post-validated, with an honest loss report of anything that did not survive), or render a self-contained HTML preview to show the invoice to a human. Optional `output_path` writes the artifact (no overwrite unless `overwrite=true`). Fully offline. Input: `file_path` (absolute, local filesystem only) or `content_base64` (required for chat attachments / sandboxed uploads).
| Name | Type | Req | Description |
|---|---|---|---|
| content_base64 | string | – | Base64-encoded document content (alternative to file_path) |
| content_type | string | – | MIME type of content_base64; auto-detected when omitted |
| file_path | string | – | Absolute path on the machine running this server to an XML (UBL/CII) or ZUGFeRD/Factur-X PDF file. For chat attachments or sandboxed uploads (e.g. /mnt/user-data/...) the server cannot see that files… |
| lang | string | – | Language of explanations and summaries |
| output_path | string | – | Optional absolute path to write the artifact to (.xml for XML targets, .html for the preview); never overwrites unless overwrite=true. |
| overwrite | boolean | – | – |
| target | string | yes | extract-xml: bare XML out of a ZUGFeRD/Factur-X PDF · xrechnung-ubl: XRechnung 3.0 UBL via the semantic model · cii: UN/CEFACT CII (keeps the source's EN 16931 identifier) · html-preview: self-contai… |
| Name | Type | Req | Description |
|---|---|---|---|
| artifact | string | yes | – |
| disclaimer | string | yes | – |
| filenameHint | string | yes | – |
| findings | array | yes | – |
| lossReport | array | yes | – |
| mimeType | string | yes | – |
| sourceFormat | object | yes | – |
| target | string | yes | – |
| valid | boolean | – | Post-conversion validation verdict (XML targets) |
| writtenTo | string | – | – |
No examples provided.
explain_rule Explain validation rule ~95
Explain an EN 16931 / XRechnung rule id (e.g. BR-DE-15): official text, plain-language explanation (DE/EN), affected business terms, fix hint. Unknown ids get nearest-match suggestions.
| Name | Type | Req | Description |
|---|---|---|---|
| lang | string | – | Language of explanations and summaries |
| rule_id | string | yes | Rule identifier, e.g. BR-DE-15, BR-CO-10, BR-S-08 |
| Name | Type | Req | Description |
|---|---|---|---|
| disclaimer | string | yes | – |
| entry | object | – | – |
| found | boolean | yes | – |
| ruleId | string | yes | – |
| suggestions | array | – | – |
No examples provided.
generate_invoice Generate XRechnung / ZUGFeRD ~409
Create a compliant e-invoice from structured data: XRechnung 3.0 (UBL 2.1, default) or a ZUGFeRD 2.3 / Factur-X PDF/A-3 with embedded factur-x.xml (`target: zugferd-pdf`, profiles EN16931 / BASIC / EXTENDED). Amounts, VAT breakdown and totals are derived decimal-safe; the result is validated internally — for PDFs the XML is read back out of the generated file first (fail-honest: `valid` reports the real verdict, findings tell what is missing). Optional `output_path` writes the .xml / .pdf to the server's local filesystem (no overwrite unless `overwrite=true`). Fully offline.
| Name | Type | Req | Description |
|---|---|---|---|
| invoice | object | yes | Invoice data. Amounts are derived server-side (decimal-safe): line nets, VAT breakdown per category/rate, totals. |
| lang | string | – | Language of explanations and summaries |
| output_path | string | – | Optional absolute path on the server's local filesystem to write the result to (.xml for xrechnung-ubl, .pdf for zugferd-pdf). Existing files are not overwritten unless overwrite=true. For zugferd-pd… |
| overwrite | boolean | – | – |
| target | string | – | Output format: `xrechnung-ubl` (XRechnung 3.0 UBL XML, default — required for German public-sector buyers) or `zugferd-pdf` (ZUGFeRD 2.3 / Factur-X PDF/A-3 with embedded factur-x.xml — the hybrid for… |
| zugferd_profile | string | – | ZUGFeRD/Factur-X profile for target zugferd-pdf: EN16931 (default, full EN 16931 content), BASIC (subset — terms outside BASIC are dropped from the XML and reported), EXTENDED. |
| Name | Type | Req | Description |
|---|---|---|---|
| autoFixes | array | yes | – |
| disclaimer | string | yes | – |
| findings | array | yes | – |
| format | string | yes | xrechnung-3.0-ubl | zugferd-2.3-<profile> |
| pdf_base64 | string | – | The PDF/A-3 (base64) for target zugferd-pdf when no output_path was given |
| plausible | boolean | yes | No error-level KONTOR-PLAUS-* findings |
| profile | string | – | – |
| taxBreakdown | array | yes | – |
| totals | object | yes | – |
| valid | boolean | yes | Official verdict of the internal validation (XSD + EN 16931 + XRechnung) — never assumed |
| writtenTo | string | – | – |
| xml | string | yes | XRechnung UBL, or the CII XML embedded in the ZUGFeRD PDF |
No examples provided.
list_capabilities List capabilities ~84
Introspect this server: supported formats and profiles, bundled standard versions (XRechnung, EN 16931, KoSIT configuration, XSDs), rule knowledge-base stats, code lists, legal parameters' last-verified date, tools/resources/prompts and the sovereignty statement (offline, no persistence).
| Name | Type | Req | Description |
|---|---|---|---|
| lang | string | – | Language of explanations and summaries |
| Name | Type | Req | Description |
|---|---|---|---|
| bundledStandards | object | yes | – |
| codelists | array | yes | – |
| formats | object | yes | – |
| knowledgeBase | object | yes | – |
| legal | object | yes | – |
| limits | object | yes | – |
| prompts | array | yes | – |
| resources | array | yes | – |
| server | object | yes | – |
| sovereignty | string | yes | – |
| tools | array | yes | – |
No examples provided.
parse_invoice Parse e-invoice ~210
Detect the format (UBL/CII, EN 16931, XRechnung version, ZUGFeRD/Factur-X profile) of an XML or ZUGFeRD PDF invoice and return its EN 16931 semantic model (BT-annotated). Fully offline. Input: `file_path` (absolute, local filesystem only) or `content_base64` (required for chat attachments / sandboxed uploads).
| Name | Type | Req | Description |
|---|---|---|---|
| content_base64 | string | – | Base64-encoded document content (alternative to file_path) |
| content_type | string | – | MIME type of content_base64; auto-detected when omitted |
| file_path | string | – | Absolute path on the machine running this server to an XML (UBL/CII) or ZUGFeRD/Factur-X PDF file. For chat attachments or sandboxed uploads (e.g. /mnt/user-data/...) the server cannot see that files… |
| lang | string | – | Language of explanations and summaries |
| Name | Type | Req | Description |
|---|---|---|---|
| format | object | yes | – |
| invoice | object | yes | – |
| invoiceAnnotated | object | yes | – |
| object | – | – | |
| warnings | array | yes | – |
No examples provided.
validate_invoice Validate e-invoice ~239
Validate an XML or ZUGFeRD PDF invoice against XML Schema and the official EN 16931 / XRechnung Schematron rules (KoSIT-equivalent verdict) plus Kontor plausibility checks, with plain-language explanations and fix hints. Fully offline. Input: `file_path` (absolute, local filesystem only) or `content_base64` (required for chat attachments / sandboxed uploads).
| Name | Type | Req | Description |
|---|---|---|---|
| content_base64 | string | – | Base64-encoded document content (alternative to file_path) |
| content_type | string | – | MIME type of content_base64; auto-detected when omitted |
| file_path | string | – | Absolute path on the machine running this server to an XML (UBL/CII) or ZUGFeRD/Factur-X PDF file. For chat attachments or sandboxed uploads (e.g. /mnt/user-data/...) the server cannot see that files… |
| lang | string | – | Language of explanations and summaries |
| profile_override | string | – | Force a rule set by CustomizationID / guideline identifier |
| skip_layers | array | – | Validation layers to skip |
| Name | Type | Req | Description |
|---|---|---|---|
| disclaimer | string | yes | – |
| findings | array | yes | – |
| format | object | yes | – |
| layers | object | yes | – |
| ruleSets | array | yes | – |
| scenario | – | yes | – |
| stats | object | yes | – |
| timingsMs | object | yes | – |
| verdict | string | yes | – |
No examples provided.
How do I install the Kontor MCP server?
Kontor MCP runs locally as an npm package, launched with npx -y @kontor-mcp/server. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.
npm · @kontor-mcp/server
claude mcp add dashankanadeeshandesilva-kontor-mcp -- npx -y @kontor-mcp/server
What is the Kontor MCP server?
Kontor MCP is listed in the public MCP registry as io.github.DashankaNadeeshanDeSilva/kontor-mcp. Offline e-invoice tools for AI agents: validate, audit, convert and generate XRechnung/ZUGFeRD. This page covers its npm package (@kontor-mcp/server).
Is the Kontor MCP server safe to use?
Kontor MCP scores 92 out of 100 on VerifyMCP. We recorded 7 known advisories against it as of 5 November 2026. It declares no install or post-install scripts. Its build provenance is signed and verified. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.
What tools does the Kontor MCP server expose?
Kontor MCP exposes 8 tools: parse_invoice, validate_invoice, audit_invoice, generate_invoice, convert_invoice, and 3 more. Their descriptions and schemas cost roughly 2,093 tokens of context every time the server is loaded.
Is the Kontor MCP server still maintained?
Kontor MCP is still listed as active in the MCP registry. We last reached this channel on 5 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.
What licence is the Kontor MCP server under?
Kontor MCP declares the Apache-2.0 licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.