MCP server · Audited from source
Local REST API MCP server
by coddingtonbear/obsidian-local-rest-apiMIT licenceAudited 22 Sep 2026 · source 3205801641e5
Is it safe? With care — CAUTION, grade B (87/100). It exposes 7 tools: 7 read, 0 write and 0 destructive. The audit recorded 14 findings (0 critical, 0 high, 2 medium, 12 low). Maintainer's description: A secure REST API and Model Context Protocol (MCP) server for your vault.
Cite
Cite this page
ModelsAtlas. “Local REST API MCP server (coddingtonbear/obsidian-local-rest-api)”. Retrieved 22 Sep 2026. https://modelsatlas.com/mcp/coddingtonbear/local-rest-api
Trust audit
Audit 0.4.1 · full source read 22 Sep 2026
14 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
- NetworkDeclared3 observations
- ShellNone observedNothing seen in the source
- DependenciesNot pinnedSome ranges float
- SecretsFoundSee the findings
“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 14 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
coddingtonbearUser accountAccount type recorded when we read the repository. - PackagePublished on npm
obsidian-local-rest-apiat version 5.2.0 - LicenceMITFrom the repository, as read at the audited commit.
- Last pushTodayActivity of the repository when we read it.
- Source commit read3205801641e5The audit covers exactly this commit, read on 22 Sep 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 (14)
Sorted by severity
MEDIUMHard-coded secretssecret.private_key · src/certificates.test.ts:133
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMHard-coded secretssecret.private_key · src/certificates.test.ts:136
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/mcpHandler.test.ts:1646
await expect(cb({ path: "a.md", destination: "../../../etc/passwd" })).rejects.toThrow(- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/mcpHandler.test.ts:1723
await expect(cb({ path: "a.md", destination: "../../../etc/passwd" })).rejects.toThrow(- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/mcpHandler.test.ts:2451
["relative traversal", "../../Ausserhalb.md"],
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/mcpHandler.test.ts:2452
["deep relative traversal", "../../../../some/other/writable/path/file.md"],
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/mcpHandler.test.ts:2454
["traversal in the middle", "notes/../../outside.md"],
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · README.md:62
curl -k https://127.0.0.1:27124/
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · README.md:66
https://127.0.0.1:27124/vault/
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · README.md:70
https://127.0.0.1:27124/vault/path/to/note.md
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · README.md:74
https://127.0.0.1:27124/vault/path/to/note.md/heading/My%20Section
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.raw_ip · README.md:81
https://127.0.0.1:27124/vault/path/to/note.md
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWNetwork egressnet.tls_off · src/integration/meta.test.ts:71
{ host: hostname, port: Number(port), rejectUnauthorized: false, servername: hostname },- Why
- certificate verification is disabled
- Fix
- leave verification on
LOWSupply chainsupply.unpinned · package.json
@eslint/js, @types/cors, @types/express, @types/glob-to-regexp, @types/jest, @types/mime-types, @types/node, @types/node-forge
- Why
- 30 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
Tools it exposes
7 declared in source · 0 destructive
| Tool | Risk | What it does |
|---|---|---|
custom_tool | read | First |
extension_tool | read | From an extension |
my_tool | read | Does something |
notifying_tool | read | From an extension |
removable_tool | read | Desc |
temporary_tool | read | Goes away |
vault_list | read | Override |
Install
Package version 5.2.0 · audited commit 3205801
Read the findings first. The most severe is Hard-coded secrets (medium) at src/certificates.test.ts.
One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 5.2.0. The audit covers commit 3205801 only.
claude mcp add obsidian-local-rest-api --env OBSIDIAN_API_KEY=${OBSIDIAN_API_KEY} -- npx -y [email protected]{
"mcpServers": {
"obsidian-local-rest-api": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"OBSIDIAN_API_KEY": "${OBSIDIAN_API_KEY}"
}
}
}
}The command pins the package version recorded in the source (5.2.0); the audit covers commit 3205801641e5. Transport: streamable-http. Reads this environment variable: OBSIDIAN_API_KEY. Give it the narrowest token it needs.
Audit history
- !CAUTION B 87 / 100
Score 88 -> 87 ·
3205801641e5 - !CAUTION B 88 / 100
First audit ·
47c34ac34b2c
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/coddingtonbear/local-rest-api/)
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 Local REST API MCP server
What is the Local REST API MCP server?
What tools does Local REST API expose?
Is Local REST API safe to connect to an agent?
What credentials does Local REST API need?
How does Local REST API run?
How current is this page?
Sources
- coddingtonbear/obsidian-local-rest-api on GitHub — the source we read, its licence, stars and activityObserved · 22 Sep 2026
- ModelsAtlas trust audit — CAUTION verdict for commit 3205801641e5Observed · 22 Sep 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 Local REST API MCP server?
- What tools does Local REST API expose?
- Is Local REST API safe to connect to an agent?