Skip to main content
Glama

SafeMarkdownEditor MCP Server

by quantalogic

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_DEBUGNoEnable debug logging when set to 10
MCP_SERVER_NAMENoServer nameSafeMarkdownEditor
MAX_TRANSACTION_HISTORYNoMaximum transaction history size for undo operations100
MARKDOWN_VALIDATION_LEVELNoValidation level (STRICT, NORMAL, PERMISSIVE) for document processingNORMAL

Schema

Prompts

Interactive templates invoked by user choice

NameDescription
document_editing_guideGuide for using the stateless document editing tools.
section_operations_examplesExamples of common section operations.

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
load_document
Load and analyze a Markdown document from a file path. Args: document_path: Path to the Markdown file (supports absolute, relative, and ~ expansion) validation_level: Validation strictness - "STRICT", "NORMAL", or "PERMISSIVE"
insert_section
Insert a new section at a specified location. The document will be saved after the operation if successful and auto_save is True.
delete_section
Delete a section by ID or heading. The document will be saved after the operation if successful and auto_save is True.
update_section
Update the content of an existing section. The document will be saved after the operation if successful and auto_save is True.
get_section
Get a specific section by ID. Args: document_path: Path to the Markdown file section_id: The section ID to retrieve validation_level: Validation strictness - "STRICT", "NORMAL", or "PERMISSIVE"
list_sections
List all sections in the document. Args: document_path: Path to the Markdown file validation_level: Validation strictness - "STRICT", "NORMAL", or "PERMISSIVE"
move_section
Move a section to a different position. The document will be saved after the operation if successful and auto_save is True.
get_document
Get the complete document content and structure. Args: document_path: Path to the Markdown file validation_level: Validation strictness - "STRICT", "NORMAL", or "PERMISSIVE"
save_document
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"
analyze_document
Analyze document structure and provide insights. Args: document_path: Path to the Markdown file validation_level: Validation strictness - "STRICT", "NORMAL", or "PERMISSIVE"

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