Skip to main content
Glama

Obsidian Local REST API MCP Server

by j-shelfwood

write_file

Create or update files in an Obsidian vault by writing content. Choose modes: overwrite, append, or prepend. Simplifies file management via REST API.

Instructions

Write file content with different modes: overwrite (default), append, or prepend. Handles both create and update operations.

Input Schema

NameRequiredDescriptionDefault
contentYesContent to write
modeNoWrite modeoverwrite
pathYesPath to the file

Input Schema (JSON Schema)

{ "properties": { "content": { "description": "Content to write", "type": "string" }, "mode": { "default": "overwrite", "description": "Write mode", "enum": [ "overwrite", "append", "prepend" ], "type": "string" }, "path": { "description": "Path to the file", "type": "string" } }, "required": [ "path", "content" ], "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