Skip to main content
Glama

Obsidian Local REST API MCP Server

by j-shelfwood

list_directory

List directory contents with pagination to prevent overload. Specify path, recursion, and limits to retrieve files efficiently within an Obsidian vault using a local REST API.

Instructions

List directory contents with pagination to prevent context overflow. Shows immediate contents by default.

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum items to return
offsetNoPagination offset
pathNoDirectory path to list.
recursiveNoInclude subdirectories recursively

Input Schema (JSON Schema)

{ "properties": { "limit": { "default": 50, "description": "Maximum items to return", "type": "number" }, "offset": { "default": 0, "description": "Pagination offset", "type": "number" }, "path": { "default": ".", "description": "Directory path to list", "type": "string" }, "recursive": { "default": false, "description": "Include subdirectories recursively", "type": "boolean" } }, "type": "object" }

Other Tools from Obsidian Local REST API MCP Server

Related Tools

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/j-shelfwood/obsidian-local-rest-api-mcp'

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