Obsidian Vault
Summary
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.
Available Actions(8)
obsidian_read_file
Retrieves the content and metadata of a file. Parameters: filePath (string), format (optional string), includeStat (optional boolean)
obsidian_update_file
Modifies a file by appending, prepending, or overwriting. Parameters: targetType (string), content (string), targetIdentifier (optional string), wholeFileMode (optional boolean)
obsidian_search_replace
Performs search-and-replace operations in a note. Parameters: targetType (string), replacements (array), useRegex (optional boolean), replaceAll (optional boolean)
obsidian_global_search
Searches the entire vault for content. Parameters: query (string), searchInPath (optional string), useRegex (optional boolean), page (optional number), pageSize (optional number)
obsidian_list_files
Lists files and subdirectories in a folder. Parameters: dirPath (string), fileExtensionFilter (optional string), nameRegexFilter (optional string)
obsidian_manage_frontmatter
Gets, sets, or deletes keys in a note's frontmatter. Parameters: filePath (string), operation (string), key (string), value (optional string)
obsidian_manage_tags
Adds, removes, or lists tags in a note. Parameters: filePath (string), operation (string), tags (array)
obsidian_delete_file
Permanently deletes a file from the vault. Parameters: filePath (string)
社区评论
暂无评论. 成为第一个评论的人!
登录以参与讨论