Skip to main content
Glama

Obsidian MCP Server

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

You must be authenticated.

Other Tools from Obsidian 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/cyanheads/obsidian-mcp-server'

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