MCP server for Obsidian

get_file_contents

Return the content of a single file in your vault.

Input Schema

NameRequiredDescriptionDefault
filepathYesPath to the relevant file (relative to your vault root).

Input Schema (JSON Schema)

{ "properties": { "filepath": { "description": "Path to the relevant file (relative to your vault root).", "format": "path", "type": "string" } }, "required": [ "filepath" ], "type": "object" }