Obsidian MCP Server

by cyanheads
Verified

obsidian_get_file_contents

Retrieve raw content from files in your Obsidian vault, including markdown, text, and readable formats. Specify the file path to access data with YAML frontmatter intact for seamless integration and management.

Instructions

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" }
ID: syuh40cxyk