Obsidian MCP Server
未认领Read, write, search, and surgically edit Obsidian vault notes, tags, and frontmatter via MCP. STDIO or Streamable HTTP.
安装
docker run --rm -e OBSIDIAN_API_KEY=your-key -p 3010:3010 obsidian-mcp-server更多Search & Web服务器
浏览完整目录安全概况
已认领和已认证的服务器每周接受一次静态扫描,显示代码能触及的范围(外部服务、环境变量、shell 命令、代理配置目录)以及带有已知公告的依赖。认领此列表即可获得。 安全概况的工作原理
14 个工具中显示 14 个
文档中列出的工具 (14)
内容来自项目文档。服务器握手不会验证每个工具的说明或行为。
obsidian_append_to_note
Append content to a note. Without section, creates the file if missing. With section, appends to a specific heading, block, or frontmatter field (file must exist).
obsidian_delete_note
Permanently delete a note. Always asks the user to confirm first — the call is answered with a confirmation request and retried with the answer.
obsidian_execute_command
Execute an Obsidian command-palette command by ID. Opt-in via OBSIDIANENABLECOMMANDS=true.
obsidian_get_note
Read a note as raw content, full structured form (content + frontmatter + tags + stat, with optional outgoing links), structural document map, or a single section.
obsidian_list_commands
List Obsidian command-palette commands, optionally filtered by nameRegex on display name. Opt-in via OBSIDIANENABLECOMMANDS=true (paired with obsidianexecutecommand).
obsidian_list_notes
List notes and subdirectories under a vault path. Recursive walk (default depth 2, max depth 20; 1000-entry cap) with optional extension and nameRegex filters.
obsidian_list_tags
List vault tags with usage counts, including hierarchical parents. Ordered by count descending and capped at limit (default 200, max 10000), with the withheld remainder disclosed. Optional nameRegex and minCount narrow the set first.
obsidian_manage_frontmatter
Atomic get / set / delete on a single frontmatter key.
obsidian_manage_tags
Add, remove, or list tags. Defaults to the frontmatter tags: array; location: 'inline' or 'both' opts into mutating the note body.
obsidian_open_in_ui
Open a file in the Obsidian app UI, with failIfMissing and newLeaf toggles.
obsidian_patch_note
Surgical append / prepend / replace against a heading, block reference, or frontmatter field.
obsidian_replace_in_note
Search-replace inside a single note, scoped to the body by default. Literal or regex matching with whole-word, whitespace-flexible, and case-sensitivity options; supports capture-group replacement.
obsidian_search_notes
Search the vault by text, JSONLogic, or BM25-ranked Omnisearch (when the plugin is reachable). Results paginate via opaque cursors.
obsidian_write_note
Create a note, replace a single section in place, or — with overwrite: true — clobber an existing file. Refuses whole-file writes against an existing path by default.