Skip to main content
Glama

SafeMarkdownEditor MCP Server

by quantalogic

save_document

Save Markdown documents with optional backup and validation levels (STRICT, NORMAL, PERMISSIVE) for precise content control and safety.

Instructions

Save the document (mainly for validation purposes since auto_save handles most cases). Args: document_path: Path to the source Markdown file target_path: Path to save to (if different from source) backup: Whether to create a backup before saving validation_level: Validation strictness - "STRICT", "NORMAL", or "PERMISSIVE"

Input Schema

NameRequiredDescriptionDefault
backupNo
document_pathYes
target_pathNo
validation_levelNoNORMAL

Input Schema (JSON Schema)

{ "properties": { "backup": { "default": true, "title": "Backup", "type": "boolean" }, "document_path": { "title": "Document Path", "type": "string" }, "target_path": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Target Path" }, "validation_level": { "default": "NORMAL", "title": "Validation Level", "type": "string" } }, "required": [ "document_path" ], "title": "save_documentArguments", "type": "object" }

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/quantalogic/quantalogic_markdown_mcp'

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