Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

kx MCP server

by distu/kxMIT licenceAudited 10 Oct 2026 · source 3fbbaef16496

npm kx 1.2.0stdio★ 5
!CAUTIONGrade B · 89/100 · 10 Oct 2026 · 3fbbaef
5GitHub stars

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.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
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

Trust score89/100!CAUTION B
0 critical0 high2 medium5 low0 info

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

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS
L1 Static sourceSecrets, path traversal, supply chainWARN 7 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS
L3 InventoryDeclared tools match the sourcePASS
L4 SandboxRun in isolation and watch behaviourSKIPPED

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 npmkx at 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
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-04 Network egressCWE-200 · CWE-319Layer L1
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
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
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
F-04 Network egressCWE-200 · CWE-319Layer L1
|               |  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
F-04 Network egressCWE-200 · CWE-319Layer L1
- 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
F-04 Network egressCWE-200 · CWE-319Layer L1
Health: curl -s http://127.0.0.1:7717/health
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@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

7 read2 write0 destructive
ToolRiskWhat it does
megabrain_addwriteKX 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_updatewriteKX 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.
ingestreadIndexa um arquivo específico no banco vetorial
megabrain_artifact_linkreadKX artifact registry: vincula um artefato ja registrado a uma atividade — usado quando o artefato caiu em
megabrain_artifactsreadKX 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_getreadKX 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_statusreadKX activity manager: painel de status das atividades do projeto — últimas N (padrão 20), status de cada uma e
reindexreadReindexação completa ou incremental de todo o projeto
statusreadEstatí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]

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

  1. !CAUTION B 89 / 100

    First audit · 3fbbaef16496

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION BMODELSATLASCAUTION · B
[![ModelsAtlas: CAUTION B](https://modelsatlas.com/mcp/distu/kx/badge.svg)](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?
Local-first MCP server and CLI for AI coding agents. Hybrid semantic + BM25 search across code, docs and notes, with SQLite and offline embeddings.
What tools does kx expose?
9 in total: 7 read-only, 2 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is kx safe to connect to an agent?
With care. The audit graded it B (89/100) and found 7 things worth knowing before you trust this server, listed below with the exact line each was found on.
What credentials does kx need?
It reads KX_COCKPIT_TOKEN from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does kx run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as kx at 1.2.0.
How current is this page?
The grade is for one exact copy of the source (3fbbaef16496), read on 2026-10-10. The repository is watched and re-audited when it changes.

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.