MCP server for Obsidian

list_files_in_dir

Lists all files and directories that exist in a specific Obsidian directory.

Input Schema

NameRequiredDescriptionDefault
dirpathYesPath to list files from (relative to your vault root). Note that empty directories will not be returned.

Input Schema (JSON Schema)

{ "properties": { "dirpath": { "description": "Path to list files from (relative to your vault root). Note that empty directories will not be returned.", "type": "string" } }, "required": [ "dirpath" ], "type": "object" }