lstpsche/obsidian-mcp
Fast MCP server for local Obsidian vault usage by AI Agents
f7d6ed231e90obsidian-mcp5.1.1 in Cargo.tomlPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.
- In 30 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
- 72 of 92 tools, prompts and resources could not be followed through the code
- 73 tools, prompts and resources registered only in the repository's tests are not counted on this page
Top risks in plain words
- MEDIUM6 production dependencies have known vulnerabilities (worst: medium).
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Update its vulnerable packages
Use
cookie0.18.3 or later,lru0.18.2 or later,url2.5.9 or later. - Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 19 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
open_in_obsidianNo tool was seen to: start other programs on the machine; connect to the internet or other hosts; read passwords, tokens or keys; read environment variables; touch sensitive locations.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
Text it brings in from outside
No tool was seen returning text from outside the server to the model.
Not all three are present in the tools the scanner traced.
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (19: 19 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
frontmattertool Read, set, or remove frontmatter fields on a note. Actions: "get" returns all frontmatter as JSON (or null), "set" upserts a field (requires key + value), "remo
Read, set, or remove frontmatter fields on a note. Actions: "get" returns all frontmatter as JSON (or null), "set" upserts a field (requires key + value), "remove" deletes a field (requires key).
note_createtool Create a new note with optional content and YAML frontmatter. Parent directories are created automatically. Fails if the note already exists.
Create a new note with optional content and YAML frontmatter. Parent directories are created automatically. Fails if the note already exists.
note_deletetool Delete a note from the vault. Requires `confirm: true` as a safety check to prevent accidental data loss.
Delete a note from the vault. Requires `confirm: true` as a safety check to prevent accidental data loss.
note_inserttool Insert content into an existing note. \
Insert content into an existing note. \
Position: "end" (default) appends after existing content; \
"beginning" inserts after frontmatter (or at the very start if none).note_inspecttool Inspect a note. Views: "metadata" (default) returns tags, headings, outgoing links, block refs, backlinks count, frontmatter, and file stats. "targets" lists pa
Inspect a note. Views: "metadata" (default) returns tags, headings, outgoing links, block refs, backlinks count, frontmatter, and file stats. "targets" lists patchable headings with Markdown level markers, block refs, and frontmatter fields (use before note_patch).
note_movetool Move or rename a note. Parent directories at the destination are created automatically.
Move or rename a note. Parent directories at the destination are created automatically.
note_patchtool Patch a specific section of a note by targeting a heading, block reference, or frontmatter field. Supports append, prepend, and replace operations. Heading targ
Patch a specific section of a note by targeting a heading, block reference, or frontmatter field. Supports append, prepend, and replace operations. Heading targets use bare text such as "Log"; ATX marker-prefixed targets such as "## Log" are also accepted.
note_readtool Read raw note Markdown. With only path, returns the complete note. Optional expected_revision, range and max_bytes support revision-checked UTF-8 context pages.
Read raw note Markdown. With only path, returns the complete note. Optional expected_revision, range and max_bytes support revision-checked UTF-8 context pages.
note_read_manytool Read multiple notes in one bounded call. Provide exactly one of `paths` or `dir`; directory reads are non-recursive by default. The server inspects at most 100
Read multiple notes in one bounded call. Provide exactly one of `paths` or `dir`; directory reads are non-recursive by default. The server inspects at most 100 files and returns at most 262144 combined content bytes. Oversized or unprocessed notes are reported in `skipped`; use note_read for an intentionally oversized note.
note_writetool Overwrite a note's entire content. The note must already exist.
Overwrite a note's entire content. The note must already exist.
open_in_obsidiantool Open a note in the Obsidian desktop app via the obsidian:// URI scheme. Requires Obsidian to be installed.Files
Open a note in the Obsidian desktop app via the obsidian:// URI scheme. Requires Obsidian to be installed.
periodictool Manage periodic notes (daily, weekly, monthly, quarterly, yearly). \
Manage periodic notes (daily, weekly, monthly, quarterly, yearly). \
Actions: "get" — read note content (params: period, date?); \
"create" — create from template or custom content (params: period, date?, content?); \
"list" — list recent notes newest-first (params: period, limit?).search_metadatatool Search notes by metadata. Set type="tag" to find notes with a specific tag (both inline #tags and frontmatter tags), or type="frontmatter" to query by frontmatt
Search notes by metadata. Set type="tag" to find notes with a specific tag (both inline #tags and frontmatter tags), or type="frontmatter" to query by frontmatter field value. For tags: provide `tag` (required) and optional `include_nested`. For frontmatter: provide `field` (required), optional `operator` (eq/contains/exists), and `value` (required for eq/contains).
search_regextool Search across all notes using a regular expression pattern. Returns matching files with context snippets.
Search across all notes using a regular expression pattern. Returns matching files with context snippets.
search_semantictool Find conceptually related notes without requiring exact keyword matches. Results identify whole-note or passage evidence and its source_revision. A passage or p
Find conceptually related notes without requiring exact keyword matches. Results identify whole-note or passage evidence and its source_revision. A passage or preview can omit distant conditions: expand with note_read using expected_revision and the evidence range or section_range, or inspect other headings with note_inspect fields=["headings"]. include_content=true returns complete raw notes when their indexed revision is current.
search_texttool BM25-ranked full-text search across all notes. Returns matching files with relevance scores and context snippets. Supports stemming (e.g. 'program' matches 'pro
BM25-ranked full-text search across all notes. Returns matching files with relevance scores and context snippets. Supports stemming (e.g. 'program' matches 'programming'), optional fuzzy matching for typo tolerance, and field-level filtering.
vault_infotool Return aggregate vault statistics and passive semantic backend status. Inspecting status does not start indexing or attach a daemon vault.
Return aggregate vault statistics and passive semantic backend status. Inspecting status does not start indexing or attach a daemon vault.
vault_listtool List files and directories in the vault. Supports recursive listing, glob filtering, and tree view (format: "tree"). List mode returns a JSON array of paths, or
List files and directories in the vault. Supports recursive listing, glob filtering, and tree view (format: "tree"). List mode returns a JSON array of paths, or objects with indexed title, tags, size, and timestamps when include_metadata is true. Tree mode returns a tree-formatted string.
wikilinkstool Query the vault's wikilink graph. Queries: "backlinks" (requires path) finds notes linking TO a note, "outgoing" (requires path) finds links FROM a note with re
Query the vault's wikilink graph. Queries: "backlinks" (requires path) finds notes linking TO a note, "outgoing" (requires path) finds links FROM a note with resolution status, "broken" (optional path) finds unresolved wikilinks, "orphans" finds disconnected notes.
Text the model reads (90)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
vault_list tool
List files and directories in the vault. Supports recursive listing, glob filtering, and tree view (format: "tree"). List mode returns a JSON array of paths, or objects with indexed title, tags, size, and timestamps when include_metadata is true. Tree mode returns a tree-formatted string.
note_read tool
Read raw note Markdown. With only path, returns the complete note. Optional expected_revision, range and max_bytes support revision-checked UTF-8 context pages.
note_read_many tool
Read multiple notes in one bounded call. Provide exactly one of `paths` or `dir`; directory reads are non-recursive by default. The server inspects at most 100 files and returns at most 262144 combined content bytes. Oversized or unprocessed notes are reported in `skipped`; use note_read for an intentionally oversized note.
note_create tool
Create a new note with optional content and YAML frontmatter. Parent directories are created automatically. Fails if the note already exists.
note_write tool
Overwrite a note's entire content. The note must already exist.
note_insert tool
Insert content into an existing note. \\
Position: "end" (default) appends after existing content; \\
"beginning" inserts after frontmatter (or at the very start if none).note_patch tool
Patch a specific section of a note by targeting a heading, block reference, or frontmatter field. Supports append, prepend, and replace operations. Heading targets use bare text such as "Log"; ATX marker-prefixed targets such as "## Log" are also accepted.
note_delete tool
Delete a note from the vault. Requires `confirm: true` as a safety check to prevent accidental data loss.
note_move tool
Move or rename a note. Parent directories at the destination are created automatically.
search_text tool
BM25-ranked full-text search across all notes. Returns matching files with relevance scores and context snippets. Supports stemming (e.g. 'program' matches 'programming'), optional fuzzy matching for typo tolerance, and field-level filtering.
search_regex tool
Search across all notes using a regular expression pattern. Returns matching files with context snippets.
search_metadata tool
Search notes by metadata. Set type="tag" to find notes with a specific tag (both inline #tags and frontmatter tags), or type="frontmatter" to query by frontmatter field value. For tags: provide `tag` (required) and optional `include_nested`. For frontmatter: provide `field` (required), optional `operator` (eq/contains/exists), and `value` (required for eq/contains).
search_semantic tool
Find conceptually related notes without requiring exact keyword matches. Results identify whole-note or passage evidence and its source_revision. A passage or preview can omit distant conditions: expand with note_read using expected_revision and the evidence range or section_range, or inspect other headings with note_inspect fields=["headings"]. include_content=true returns complete raw notes when their indexed revision is current.
note_inspect tool
Inspect a note. Views: "metadata" (default) returns tags, headings, outgoing links, block refs, backlinks count, frontmatter, and file stats. "targets" lists patchable headings with Markdown level markers, block refs, and frontmatter fields (use before note_patch).
frontmatter tool
Read, set, or remove frontmatter fields on a note. Actions: "get" returns all frontmatter as JSON (or null), "set" upserts a field (requires key + value), "remove" deletes a field (requires key).
wikilinks tool
Query the vault's wikilink graph. Queries: "backlinks" (requires path) finds notes linking TO a note, "outgoing" (requires path) finds links FROM a note with resolution status, "broken" (optional path) finds unresolved wikilinks, "orphans" finds disconnected notes.
periodic tool
Manage periodic notes (daily, weekly, monthly, quarterly, yearly). \\
Actions: "get" — read note content (params: period, date?); \\
"create" — create from template or custom content (params: period, date?, content?); \\
"list" — list recent notes newest-first (params: period, limit?).vault_info tool
Return aggregate vault statistics and passive semantic backend status. Inspecting status does not start indexing or attach a daemon vault.
open_in_obsidian tool
Open a note in the Obsidian desktop app via the obsidian:// URI scheme. Requires Obsidian to be installed.
search_semantic tool
search_semantic tool
search_semantic tool
search_semantic tool
search_semantic tool
search_semantic tool
search_semantic tool
search_semantic tool
search_semantic tool
search_semantic tool
search_semantic tool
search_semantic tool
search_semantic tool
search_semantic tool
search_semantic tool
search_semantic tool
note_delete tool
search_semantic tool
search_semantic tool
search_semantic tool
search_semantic tool
note_read tool
search_semantic tool
note_read tool
search_semantic tool
search_semantic tool
search_semantic tool
note_write tool
search_semantic tool
note_read tool
open_in_obsidian tool
note_move tool
note_delete tool
note_read tool
note_read tool
note_write tool
note_read_many tool
note_read_many tool
note_read_many tool
note_read tool
note_write tool
note_read tool
vault_info tool
search_semantic tool
search_semantic tool
search_semantic tool
note_read tool
vault_info tool
search_semantic tool
search_semantic tool
note_read tool
vault_info tool
vault_info tool
vault_info tool
vault_info tool
vault_info tool
note_read tool
vault_info tool
search_text tool
vault_info tool
vault_info tool
search_text tool
note_read tool
search_text tool
vault_info tool
search_text tool
vault_info tool
note_read_many tool
search_text tool
search_text tool
vault_info tool
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 19 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 19 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 19 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Requests any addressNo tool sends a request to an address the caller supplies — 19 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 19 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processesNot seen in the traced code of 19 capabilities; 6 more call code the scanner could not follow, where it may happen
- Tools that touch files1 of 19 capabilities touch files; 6 more call code the scanner could not follow, where it may happen
- Tools that call the networkNot seen in the traced code of 19 capabilities; 6 more call code the scanner could not follow, where it may happen
Where the code is: 19 handlers in 1 file at commit f7d6ed231e90
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests1 manifest: Cargo.toml
- Lockfiles checked against OSV1 file resolved and checked against the OSV database
- Known vulnerabilities in production dependencies MEDIUM6 production packages with known advisories
- Known vulnerabilities in other dependenciesNo package used only for development, tests or examples has a known advisory
- MCP SDK versionrmcp 3.9.0
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentialsNot seen in the traced code of 19 capabilities; 6 more call code the scanner could not follow, where it may happen
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read (1 only in code no tool reaches)
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (6 in production)
bincodecrates.io 2.0.1 MEDIUM 1 advisory no fix yet
- MEDIUMRUSTSEC-2025-0141Bincode is unmaintained
chronocrates.io 0.4.45 MEDIUM 1 advisory no fix yet
- MEDIUMRUSTSEC-2026-0543chrono is unmaintained
cookiecrates.io 0.18.2 MEDIUM 1 advisory 0.12.00.18.3
- MEDIUMRUSTSEC-2026-0594 GHSA-8wcq-xq25-7fhmPrivate cookie nonces can repeat in processes that fork
lrucrates.io 0.16.4 MEDIUM 1 advisory 0.18.2
- MEDIUMRUSTSEC-2026-0253Potential use-after-free due to lack of panic safety in `LruCache::pop()`
pastecrates.io 1.0.15 MEDIUM 1 advisory no fix yet
- MEDIUMRUSTSEC-2024-0436paste - no longer maintained
urlcrates.io 2.5.8 MEDIUM 1 advisory 2.5.9
- MEDIUMRUSTSEC-2026-0592 GHSA-hrj5-67jp-wqp9Stack overflow in `Url::origin()` on nested `blob:` URLs
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | not stated in the code the scanner read; most local servers talk over stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | rmcp 3.9.0 |
The project's own security
| Security policy | yes SECURITY.md |
|---|---|
| Private reporting | mentioned the policy names a private channel |
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-11-14 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 1 catalog (github_search) |
|---|---|
| License | MIT |
| Created | 2026-03-18 |
| Topics | agents claude codex cursor knowledge knowledge-base knowledge-management management mcp obsidian |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.