MCP server · Audited from source
kx MCP server
by distu/kxMIT licenceAudited 10 Oct 2026 · source 3fbbaef16496
Is it safe? With care — CAUTION, grade B (89/100). It exposes 9 tools: 7 read, 2 write and 0 destructive. The audit recorded 7 findings (0 critical, 0 high, 2 medium, 5 low). Maintainer's description: Local-first MCP server and CLI for AI coding agents. Hybrid semantic + BM25 search across code, docs and notes, with SQLite and offline embeddings.
Cite
Cite this page
ModelsAtlas. “kx MCP server (distu/kx)”. Retrieved 10 Oct 2026. https://modelsatlas.com/mcp/distu/kx
Trust audit
Audit 0.4.1 · full source read 10 Oct 2026
7 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
- ShellDeclared1 observation
- 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 |
L1 Static source | Secrets, path traversal, supply chain | WARN 7 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS |
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
distuUser accountAccount type recorded when we read the repository. - PackagePublished on npm
kxat version 1.2.0 - LicenceMITFrom the repository, as read at the audited commit.
- Last pushTodayActivity of the repository when we read it.
- Source commit read3fbbaef16496The audit covers exactly this commit, read on 10 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory9 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 (7)
Sorted by severity
MEDIUMNetwork egressnet.raw_ip · cockpit-app/Sources/KxCockpit/DaemonClient.swift:5
var base = "http://127.0.0.1:7717"
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMNetwork egressnet.raw_ip · cockpit-app/run.sh:11
if ! "$NODE" -e "require('http').get('http://127.0.0.1:7717/health',r=>process.exit(r.statusCode===200?0:1)).on('error',()=>process.exit(1))" 2>/dev/null; then- Why
- No further detail recorded for this rule.
- Fix
- —
LOWInsecure cryptocrypto.weak_hash · src/searcher.ts:115
return createHash('sha1').update(content).digest('hex');- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · docs/cockpit/02-arquitetura.md:33
| | http://127.0.0.1:7717 |
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · docs/cockpit/04-daemon-http-api.md:7
- Base URL: `http://127.0.0.1:7717`
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · docs/cockpit/04-daemon-http-api.md:168
Health: curl -s http://127.0.0.1:7717/health
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
@huggingface/transformers, @modelcontextprotocol/sdk, better-sqlite3, chokidar, commander, glob, minimatch, sqlite-vec
- Why
- 12 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
Tools it exposes
9 declared in source · 0 destructive
| Tool | Risk | What it does |
|---|---|---|
megabrain_add | write | KX activity manager: cria uma atividade NOVA em .vault/megabrain/ e sincroniza o MOC-Atividades.md. Use quando o usuário pedir para registrar/adicionar/catalogar uma atividade ou task nova. Escopo do projeto atual (isolado por .kx.json; nunca cruza projeto). |
megabrain_update | write | KX activity manager: atualiza uma atividade existente — avanço (entra no Log de Progresso), bloqueio (Erros e Bloqueios + status=bloqueado), ou conclusão (status=concluida + move no MOC). Use quando o usuário relatar avanço/erro/conclusão de uma atividade. Escopo do projeto atual. |
ingest | read | Indexa um arquivo específico no banco vetorial |
megabrain_artifact_link | read | KX artifact registry: vincula um artefato ja registrado a uma atividade — usado quando o artefato caiu em |
megabrain_artifacts | read | KX artifact registry: lista os artefatos web publicados no projeto (link, versao atual, do que trata e a atividade de origem), mais recentes primeiro. Use quando o usuario perguntar |
megabrain_get | read | KX activity manager: retorna o conteúdo completo (.md) de uma atividade pelo slug ou pelo ID numerico exibido em megabrain_status. Escopo do projeto atual. |
megabrain_status | read | KX activity manager: painel de status das atividades do projeto — últimas N (padrão 20), status de cada uma e |
reindex | read | Reindexação completa ou incremental de todo o projeto |
status | read | Estatísticas do índice: total de documentos, chunks e distribuição por tipo |
Install
Package version 1.2.0 · audited commit 3fbbaef
Read the findings first. The most severe is Network egress (medium) at cockpit-app/Sources/KxCockpit/DaemonClient.swift.
One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 1.2.0. The audit covers commit 3fbbaef only.
claude mcp add kx --env KX_COCKPIT_TOKEN=${KX_COCKPIT_TOKEN} -- npx -y [email protected]{
"mcpServers": {
"kx": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"KX_COCKPIT_TOKEN": "${KX_COCKPIT_TOKEN}"
}
}
}
}The command pins the package version recorded in the source (1.2.0); the audit covers commit 3fbbaef16496. Transport: stdio. Reads this environment variable: KX_COCKPIT_TOKEN. Give it the narrowest token it needs.
Audit history
- !CAUTION B 89 / 100
First audit ·
3fbbaef16496
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/distu/kx/)
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 kx MCP server
What is the kx MCP server?
What tools does kx expose?
Is kx safe to connect to an agent?
What credentials does kx need?
How does kx run?
How current is this page?
Sources
- distu/kx on GitHub — the source we read, its licence, stars and activityObserved · 10 Oct 2026
- ModelsAtlas trust audit — CAUTION verdict for commit 3fbbaef16496Observed · 10 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 kx MCP server?
- What tools does kx expose?
- Is kx safe to connect to an agent?