Obsidian MCP Server

by cyanheads
Verified

obsidian_list_files_in_dir

Lists all files and directories that exist in a specific Obsidian directory. Returns a hierarchical structure showing files, folders, and their relationships. Useful for exploring vault organization and finding specific files.

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.", "format": "path", "type": "string" } }, "required": [ "dirpath" ], "type": "object" }