Obsidian MCP Server

by cyanheads
Verified

obsidian_get_file_contents

Return the content of a single file in your vault. Supports markdown files, text files, and other readable formats. Returns the raw content including any YAML frontmatter.

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" }