MCP, MCP server
Kontor MCP
The sovereign e-invoice toolkit for AI agents. Official XRechnung / EN 16931 validation, ZUGFeRD in and out, 100 % offline, zero API keys.
Compatibility: Not stated.
Grade B
Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
Rescanned at commit d95749068529, unchanged since the check below.
NETWORK_NO_FIXED_HOST SECRETS_PATH_DOTENV SECRETS_ENV_READ OBFUSCATION_FILE_OVER_READ_CAP
Why this grade
- NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
tools/fetch-artifacts.ts, line 36
const res = await fetch(url, { redirect: "follow" }); - SECRETS_PATH_DOTENV Low
Mentions a .env file.
.dockerignore, line 14
.env - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
packages/client/src/bin.ts, line 29
const token = g.token ?? process.env.KONTOR_AUTH_TOKEN; - OBFUSCATION_FILE_OVER_READ_CAP Note
A file was over the read cap and was not fully read.
packages/rules/artifacts/xsd/ubl/common/UBL-CommonAggregateComponents-2.1.xsd, line 1
<?xml version="1.0" encoding="UTF-8"?>
Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.
Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.
What was checked
Plain notes from the hygiene checks.
Permissions
Pass
No shell or command execution found, and no extra permission was declared.
Install and update
Pass
No install-time script found, and dependencies are pinned or absent.
Network
Concern
can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST
tools/fetch-artifacts.ts, line 36
const res = await fetch(url, { redirect: "follow" });
Dockerfile, line 41
CMD node -e "fetch('http://127.0.0.1:'+(process.env.KONTOR_PORT||3333)+'/healthz').then(r=>process.exit(r.ok?0:1),()=>process.exit(1))"
site/index.html, line 380
fetch("https://registry.modelcontextprotocol.io/v0.1/servers?search=" + encodeURIComponent(name), { headers: { Accept: "application/json" } })
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
packages/client/src/bin.ts, line 29
const token = g.token ?? process.env.KONTOR_AUTH_TOKEN;
packages/client/src/bin.ts, line 100
if (!process.env.ANTHROPIC_API_KEY && !process.env.ANTHROPIC_AUTH_TOKEN) {
.dockerignore, line 14
.env
Show more
.dockerignore, line 13
*.log
.gitignore, line 5
.DS_Store
.gitignore, line 6
.env
.gitignore, line 8
!.env.example
CHANGELOG.md, line 31
- Docker (Task 3.2): multi-stage `Dockerfile` (`node:22-alpine`, build on the native platform, pruned `pnpm deploy` tree, non-root `node`, `HEALTHCHECK` on `/healthz`, ~70 MB, `lin
README.md, line 95
Or `cp .env.example .env && docker compose up -d` (read-only root FS, `./invoices` mounted at `/data`). Config surface and the security posture: [`packages/server/README.md`](packa
docker-compose.yml, line 1
# Example deployment: `cp .env.example .env`, put a token in it, then `docker compose up -d`.
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Note
a file was over the read cap and was not fully read.
OBFUSCATION_FILE_OVER_READ_CAP
packages/rules/artifacts/xsd/ubl/common/UBL-CommonAggregateComponents-2.1.xsd, line 1
<?xml version="1.0" encoding="UTF-8"?>
packages/rules/artifacts/xsd/ubl/common/UBL-CommonBasicComponents-2.1.xsd, line 1
<?xml version="1.0" encoding="UTF-8"?>
packages/rules/kb/generated.json, line 1
[
Licence
Pass
A licence file is present (LICENSE).
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit d95749068529. can reach a host that is not written as a fixed address. reads a credential or environment file. a file was over the read cap and was not fully read.
Date and source
Date checked:
github.com
Commit graded: d95749068529a8b82bd1046efce330aa327d717f
This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.