Skip to main content
Glama

Obsidian MCP Server

by natestrong

list_folders_tool

List and view the hierarchical structure of folders within your Obsidian vault or a specific directory, aiding in organization, verification, and understanding of folder paths and names.

Instructions

List folders in the vault or a specific directory. When to use: - Exploring vault organization structure - Verifying folder names before creating notes - Checking if a specific folder exists - Understanding the hierarchy of the vault When NOT to use: - Listing notes (use list_notes instead) - Searching for content (use search_notes) Returns: Folder structure with paths and names

Input Schema

NameRequiredDescriptionDefault
ctxNo
directoryNoSpecific directory to list folders from (optional, defaults to root)
recursiveNoWhether to include all nested subfolders

Input Schema (JSON Schema)

{ "properties": { "ctx": { "default": null, "title": "Ctx" }, "directory": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "description": "Specific directory to list folders from (optional, defaults to root)", "examples": [ null, "Projects", "Daily", "Archive/2024" ], "title": "Directory" }, "recursive": { "default": true, "description": "Whether to include all nested subfolders", "title": "Recursive", "type": "boolean" } }, "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/natestrong/obsidian-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server