Obsidian Local Rest Api
未认领A secure REST API and Model Context Protocol (MCP) server for your vault.
安装
npm install --save-dev obsidian-local-rest-api更多Security服务器
浏览完整目录安全概况
已认领和已认证的服务器每周接受一次静态扫描,显示代码能触及的范围(外部服务、环境变量、shell 命令、代理配置目录)以及带有已知公告的依赖。认领此列表即可获得。 安全概况的工作原理
16 个工具中显示 16 个
文档中列出的工具 (16)
内容来自项目文档。服务器握手不会验证每个工具的说明或行为。
active_file_get_path
Return the vault path of the file currently open in Obsidian
command_execute
Execute an Obsidian command by ID
command_list
List all registered Obsidian commands
open_file
Open a file in the Obsidian UI
search_query
Search using a JsonLogic query against note metadata
search_simple
Full-text search using Obsidian's built-in search
tag_list
List all tags across the vault with usage counts
vault_append
Append content to the end of a vault file
vault_copy
Copy a vault file to a new path
vault_delete
Delete a vault file (moves to trash by default)
vault_get_document_map
List the headings, block references, and frontmatter fields in a file
vault_list
List files and subdirectories inside a vault directory
vault_move
Move (rename) a vault file to a new path
vault_patch
Patch a specific heading, block reference, or frontmatter field
vault_read
Read a file's content, frontmatter, tags, and stat
vault_write
Create or overwrite a vault file