Skip to main content
Glama
md-log

md-log-mcp

Official
by md-log

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MDLOG_PATYesBearer Personal Access Token (PAT) minted in the md-log web app. Example: mdlog_pat_xxxxxxxxxxxxxxxxxxxxxxxx
MDLOG_API_BASE_URLYesThe hosted service base URL, including /api/v1. Example: https://app.md-log.com/api/v1

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
save_markdownA

Save (create or overwrite) a .md file in md-log by path; missing folders are auto-created. Optionally upload embedded images as assets first and rewrite their refs to asset:// links. This is a force-write (last-writer-wins) — the headline agent tool.

upload_assetA

Upload a single image as an asset (reserve -> presigned PUT -> complete) and return an 'asset://' reference you can embed in markdown image syntax: alt. Provide the image as EITHER data_base64 (inline base64) OR file_path (a local file to read) — exactly one.

append_to_markdownA

Append content to the end of an existing .md file using optimistic concurrency (GET current -> concat -> PUT with base_version_no). Auto-retries once on conflict, then surfaces CONFLICT.

update_markdownA

Replace the content of an existing .md file. Pass expected_version for optimistic concurrency (mismatch -> CONFLICT); omit it to force last-writer-wins.

get_markdownA

Read a .md file's content by path. Pass version (a version_no from list_versions) to read an OLD immutable version instead of the current one.

list_versionsA

List a .md file's immutable version history, newest first (version_no, commit_message, author, registered_at, size). Read an old version's content with get_markdown + version.

delete_markdownA

Soft-delete a .md file. Requires confirm:true (otherwise VALIDATION). Resolves the path to a document key, then DELETE /documents/{key}.

create_folderA

Create a folder path, creating every missing parent segment (mkdir -p). Already-existing folders are treated as success.

move_markdownA

Move and/or rename a .md file: from_path -> to_path. Destination folders are auto-created (mkdir -p). The document KEEPS its identity (same document key), so its whole version history and reviewers' annotations survive the move — never re-save + delete to relocate a file. Fails if a different file already occupies to_path.

move_folderA

Move a folder (with its whole subtree: documents, versions, annotations) under a new parent. new_parent_path '' or omitted = move to the root. Parent folders are auto-created. Moving a folder into its own subtree is rejected by the server.

rename_folderA

Rename a folder in place (descendant paths are rewritten automatically; documents, versions and annotations are untouched).

delete_folderA

Delete a folder. Requires confirm:true (otherwise VALIDATION). By default only an EMPTY folder is deleted (a non-empty one is refused); pass cascade:true to soft-delete the whole subtree — every subfolder and document under it (like rm -r). Documents are soft-deleted (recoverable), but prefer move_folder/move_markdown when reorganizing.

list_foldersC

Return the full folder tree.

list_filesA

List the documents (and immediate subfolders) inside a folder path. Omit path (or pass '' / '/') to list the ROOT folder.

search_markdownA

Search documents by TITLE (substring) and BODY (full-text over current versions; whole-word match, ranked, body hits carry a bolded snippet). Use it to find a prior report by its content or name.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/md-log/md-log-mcp'

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