md-log-mcp
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MDLOG_PAT | Yes | Bearer Personal Access Token (PAT) minted in the md-log web app. Example: mdlog_pat_xxxxxxxxxxxxxxxxxxxxxxxx | |
| MDLOG_API_BASE_URL | Yes | The hosted service base URL, including /api/v1. Example: https://app.md-log.com/api/v1 |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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: |
| 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 |
| 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 + |
| 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 |
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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