This Obsidian MCP server, developed by cyanheads, enables AI models to interact with Obsidian vaults through a standardized interface. Built with TypeScript and leveraging the Model Context Protocol SDK, it provides tools for file operations, content search, and metadata management within Obsidian. The implementation features atomic operations, efficient query processing, and automatic timestamp handling. It's particularly useful for AI assistants and applications needing to manage knowledge bases in Obsidian, enabling use cases like note-taking, content organization, and information retrieval without dealing directly with Obsidian's API complexities.
まだレビューはありません. 最初のレビューを投稿しましょう!
会話に参加するにはサインインしてください
Read a note as raw content, full structured form (content + frontmatter + tags + stat, with optional outgoing links), structural document map, or a single section.
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.
List vault tags with usage counts, including hierarchical parents. Ordered by count descending and capped at `limit` (default 200, max 10000), with optional `nameRegex` and `minCount` filters.
List Obsidian command-palette commands, optionally filtered by `nameRegex` on display name. Requires enabling via `OBSIDIAN_ENABLE_COMMANDS=true`.
Search the vault by text, JSONLogic, or BM25-ranked Omnisearch (when the plugin is reachable). Results paginate via opaque cursors.
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.
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).
Surgical `append` / `prepend` / `replace` against a heading, block reference, or frontmatter field.
Search-replace inside a single note, scoped to the body by default. Supports literal or regex matching with various options.
Atomic `get` / `set` / `delete` on a single frontmatter key.
Add, remove, or list tags. Operates on frontmatter `tags:` array or inline `#tag` syntax in the body.
Permanently delete a note. Always asks the user to confirm first — the call is answered with a confirmation request and retried with the answer.
Open a file in the Obsidian app UI, with `failIfMissing` and `newLeaf` toggles.
Execute an Obsidian command-palette command by ID. Opt-in via `OBSIDIAN_ENABLE_COMMANDS=true`.