MCP server · Audited from source
Klag MCP server
by themoah/klagApache-2.0 licenceAudited 7 Oct 2026 · source 634d677e312d
Is it safe? Yes — SAFE, grade B (89/100). It exposes 7 tools: 5 read, 2 write and 0 destructive. The audit recorded 13 findings (0 critical, 0 high, 0 medium, 11 low). Maintainer's description: new kafka lag exporter: lightweight and extendable.
Cite
Cite this page
ModelsAtlas. “Klag MCP server (themoah/klag)”. Retrieved 7 Oct 2026. https://modelsatlas.com/mcp/themoah/klag
Trust audit
Audit 0.4.1 · full source read 7 Oct 2026
13 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemNone observedNothing seen in the source
- NetworkDeclared2 observations
- ShellNone observedNothing seen in the source
- DependenciesNot pinnedSome ranges float
- SecretsNone foundNo keys in source
“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.
Five audit layers
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS 4 findings |
L1 Static source | Secrets, path traversal, supply chain | PASS 7 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS 2 findings |
L3 Inventory | Declared tools match the source | PASS |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
Provenance & runtime
Who published it, and what the audit could and could not run
Provenance
- Repository owner
themoahUser accountAccount type recorded when we read the repository. - PackagePublished on npm
klag-websiteat version 0.2.0 - LicenceApache-2.0From the repository, as read at the audited commit.
- Last push2 days agoActivity of the repository when we read it.
- Source commit read634d677e312dThe audit covers exactly this commit, read on 7 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory7 declaredRead from the source and classed read, write or destructive.
Every value here is read from the record's own repository and audit.Suggest a correction
Findings (13)
Sorted by severity
LOWCode injectioncode.deserialize · website/scripts/gen-llms.mjs:21
parse: (str) => yaml.load(str) ?? {},- Why
- deserialises untrusted bytes into live objects
- Fix
- use json or yaml.safe_load
LOWCode injectioncode.deserialize · website/scripts/gen-skills.mjs:20
parse: (str) => yaml.load(str) ?? {},- Why
- deserialises untrusted bytes into live objects
- Fix
- use json or yaml.safe_load
LOWFilesystem / pathfs.credential_store · scripts/e2e-strimzi-test.sh:95
refresh_discovery(){ rm -rf "${HOME}/.kube/cache/discovery" "${HOME}/.kube/cache/http" 2>/dev/null || true; }- Why
- touches a credential store
- Fix
- —
LOWNetwork egressnet.beacon_words · website/astro.config.mjs:52
src: 'https://static.cloudflareinsights.com/beacon.min.js',
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.beacon_words · website/astro.config.mjs:53
'data-cf-beacon': JSON.stringify({ token: cfToken }),- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · src/test/java/io/github/themoah/klag/mcp/McpUploadIntegrationTest.java:75
endpoint = URI.create("http://127.0.0.1:" + server.actualPort() + "/mcp");- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · website/package.json
@astrojs/sitemap, @astrojs/starlight, astro, gray-matter, js-yaml, sharp, @astrojs/check, typescript
- Why
- 9 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
INFOPrompt injectionprompt.credential_read · website/src/content/docs/about.md:11
read-only credentials, and it does nothing else — it never produces, consumes, or commits
- Why
- asks the agent to read credentials
- Fix
- —
INFOPrompt injectionprompt.credential_read · website/src/content/docs/configuration/reference.md:31
settings such as `DD_*`, `OTLP_*`, and `OTEL_*` read environment variables directly and
- Why
- asks the agent to read credentials
- Fix
- —
Tools it exposes
7 declared in source · 0 destructive
| Tool | Risk | What it does |
|---|---|---|
klag | write | Agent skills for Klag, the Kafka consumer lag exporter: install it against a |
klag-llms-index | write | Project summary, quick start, key metrics, and a linked index of every page. |
get_klag_config | read | Look up Klag environment variables: name, default value, and what they do |
get_klag_doc | read | Return the full markdown of a single klag.dev page by its URL path, e.g. |
get_klag_metric | read | Look up the metrics Klag exports (klag.consumer.lag, klag.consumer.lag.velocity, |
klag-llms-full | read | The full text of every klag.dev page in one document. |
search_klag_docs | read | Full-text search across klag.dev, the documentation for Klag (the Kafka consumer |
Install
Package version 0.2.0 · audited commit 634d677
One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 0.2.0. The audit covers commit 634d677 only.
claude mcp add klag-website --env CF_ANALYTICS_TOKEN=${CF_ANALYTICS_TOKEN} -- npx -y [email protected]{
"mcpServers": {
"klag-website": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"CF_ANALYTICS_TOKEN": "${CF_ANALYTICS_TOKEN}"
}
}
}
}The command pins the package version recorded in the source (0.2.0); the audit covers commit 634d677e312d. Transport: not declared. Reads this environment variable: CF_ANALYTICS_TOKEN. Give it the narrowest token it needs.
Audit history
- ✓SAFE B 89 / 100
First audit ·
634d677e312d
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/themoah/klag/)
The badge always shows the latest audit; a maintainer cannot pin an old verdict.
Other ratings
Cited, never blended into our score
No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.
Questions about Klag MCP server
What is the Klag MCP server?
What tools does Klag expose?
Is Klag safe to connect to an agent?
What credentials does Klag need?
How current is this page?
Sources
- themoah/klag on GitHub — the source we read, its licence, stars and activityObserved · 7 Oct 2026
- ModelsAtlas trust audit — SAFE verdict for commit 634d677e312dObserved · 7 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the Klag MCP server?
- What tools does Klag expose?
- Is Klag safe to connect to an agent?