MCP server · Audited from source
Brain.md MCP server
by mi4uu/brain.mdAGPL-3.0 licenceAudited 9 Oct 2026 · source db3b8ed9ff75
Is it safe? Yes — SAFE, grade B (89/100). It exposes 17 tools: 16 read, 1 write and 0 destructive. The audit recorded 13 findings (0 critical, 0 high, 0 medium, 9 low). Maintainer's description: Local-first markdown notes with a first-class MCP server. 16 tools + 2 resources for Claude Code, Claude Desktop, Cursor and any MCP agent. Per-folder permissions, semantic RAG via LanceDB, single Bun binary. AGPL.
Cite
Cite this page
ModelsAtlas. “Brain.md MCP server (mi4uu/brain.md)”. Retrieved 9 Oct 2026. https://modelsatlas.com/mcp/mi4uu/brain-md
Trust audit
Audit 0.4.1 · full source read 9 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
- FilesystemDeclared5 observations
- NetworkDeclared8 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 2 findings |
L1 Static source | Secrets, path traversal, supply chain | PASS 9 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
mi4uuUser accountAccount type recorded when we read the repository. - PackagePublished on npm
@brain/webat version 0.4.10 - LicenceAGPL-3.0From the repository, as read at the audited commit.
- Last push53 days agoActivity of the repository when we read it.
- Source commit readdb3b8ed9ff75The audit covers exactly this commit, read on 9 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory17 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
LOWFilesystem / pathfs.traversal · scripts/gen-web-assets.ts:54
const importPath = "../../../web/dist/" + rel;
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · server/src/web/assets.ts:11
import f0 from "../../../web/dist/.DS_Store" with { type: "file" };- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · server/src/web/assets.ts:12
import f1 from "../../../web/dist/assets/KaTeX_AMS-Regular-BQhdFMY1.woff2" with { type: "file" };- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · server/src/web/assets.ts:13
import f2 from "../../../web/dist/assets/KaTeX_AMS-Regular-DMm9YOAa.woff" with { type: "file" };- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · server/src/web/assets.ts:14
import f3 from "../../../web/dist/assets/KaTeX_AMS-Regular-DRggAlZN.ttf" with { type: "file" };- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · server/test/api.rag.test.ts:68
baseURL: "http://127.0.0.1:1",
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
typescript
- Why
- 1 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWSupply chainsupply.unpinned · server/package.json
@elysiajs/cors, @lancedb/lancedb, @modelcontextprotocol/sdk, apache-arrow, elysia, gpt-tokenizer, onnxruntime-web, yaml
- Why
- 11 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
LOWSupply chainsupply.unpinned · web/package.json
@codemirror/autocomplete, @codemirror/commands, @codemirror/lang-markdown, @codemirror/language, @codemirror/search, @codemirror/state, @codemirror/view, @lezer/highlight
- Why
- 57 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
INFOInventory / provenanceinv.oversize · server/src/rag/assets/ort-wasm-simd-threaded.wasm
server/src/rag/assets/ort-wasm-simd-threaded.wasm
- Why
- 13022405 bytes not read
- Fix
- —
INFOInventory / provenanceinv.oversize · web/public/icon_.svg
web/public/icon_.svg
- Why
- 1027734 bytes not read
- Fix
- —
INFOSupply chainprompt.pipe_to_shell · README.md:121
curl -fsSL https://raw.githubusercontent.com/mi4uu/brain.md/main/install.sh | bash
- Why
- No further detail recorded for this rule.
- Fix
- —
INFOSupply chainprompt.pipe_to_shell · README.md:162
curl -fsSL https://raw.githubusercontent.com/mi4uu/brain.md/main/install.sh | bash
- Why
- No further detail recorded for this rule.
- Fix
- —
Tools it exposes
17 declared in source · 0 destructive
| Tool | Risk | What it does |
|---|---|---|
write_note | write | No description in the source |
append_note | read | No description in the source |
compare_notes | read | No description in the source |
context_for_query | read | No description in the source |
current_datetime | read | No description in the source |
find_orphans | read | No description in the source |
find_related | read | No description in the source |
find_similar_tasks | read | No description in the source |
get_backlinks | read | No description in the source |
get_tasks | read | No description in the source |
list_notes | read | No description in the source |
list_tags | read | No description in the source |
read_note | read | No description in the source |
search_notes | read | No description in the source |
semantic_outline | read | No description in the source |
similar_notes | read | No description in the source |
weekly_digest | read | No description in the source |
Install
Package version 0.4.10 · audited commit db3b8ed
One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 0.4.10. The audit covers commit db3b8ed only.
claude mcp add web --env BRAINMD_LOG_OAUTH=${BRAINMD_LOG_OAUTH} -- npx -y @brain/[email protected]{
"mcpServers": {
"web": {
"command": "npx",
"args": [
"-y",
"@brain/[email protected]"
],
"env": {
"BRAINMD_LOG_OAUTH": "${BRAINMD_LOG_OAUTH}"
}
}
}
}The command pins the package version recorded in the source (0.4.10); the audit covers commit db3b8ed9ff75. Transport: streamable-http. Reads this environment variable: BRAINMD_LOG_OAUTH. Give it the narrowest token it needs.
Audit history
- ✓SAFE B 89 / 100
First audit ·
db3b8ed9ff75
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/mi4uu/brain-md/)
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 Brain.md MCP server
What is the Brain.md MCP server?
What tools does Brain.md expose?
Is Brain.md safe to connect to an agent?
What credentials does Brain.md need?
How does Brain.md run?
How current is this page?
Sources
- mi4uu/brain.md on GitHub — the source we read, its licence, stars and activityObserved · 9 Oct 2026
- ModelsAtlas trust audit — SAFE verdict for commit db3b8ed9ff75Observed · 9 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 Brain.md MCP server?
- What tools does Brain.md expose?
- Is Brain.md safe to connect to an agent?