Md Log MCP
Save, edit and version Markdown reports from your coding agent into md-log
Md Log MCP is an MCP server for developer tools. It runs locally on your machine and is started by your AI client.
- Platforms
- API, CLI
- Runs
- Locally
- What it can do
- Can delete data (1 tool)
- Access
- Needs a secret key or token
- Version
- 1.3.1
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add md-log-mcp --env MDLOG_API_BASE_URL='<MDLOG_API_BASE_URL>' --env MDLOG_PAT='<MDLOG_PAT>' -- npx -y md-log-mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"md-log-mcp": {
"command": "npx",
"args": [
"-y",
"md-log-mcp"
],
"env": {
"MDLOG_API_BASE_URL": "<MDLOG_API_BASE_URL>",
"MDLOG_PAT": "<MDLOG_PAT>"
}
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"md-log-mcp": {
"command": "npx",
"args": [
"-y",
"md-log-mcp"
],
"env": {
"MDLOG_API_BASE_URL": "<MDLOG_API_BASE_URL>",
"MDLOG_PAT": "<MDLOG_PAT>"
}
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"md-log-mcp": {
"command": "npx",
"args": [
"-y",
"md-log-mcp"
],
"env": {
"MDLOG_API_BASE_URL": "<MDLOG_API_BASE_URL>",
"MDLOG_PAT": "<MDLOG_PAT>"
}
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"md-log-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"md-log-mcp"
],
"env": {
"MDLOG_API_BASE_URL": "<MDLOG_API_BASE_URL>",
"MDLOG_PAT": "<MDLOG_PAT>"
}
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add md-log-mcp --env MDLOG_API_BASE_URL='<MDLOG_API_BASE_URL>' --env MDLOG_PAT='<MDLOG_PAT>' -- npx -y md-log-mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.md-log-mcp]
command = "npx"
args = ["-y", "md-log-mcp"]
env = { MDLOG_API_BASE_URL = "<MDLOG_API_BASE_URL>", MDLOG_PAT = "<MDLOG_PAT>" }Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"md-log-mcp": {
"command": "npx",
"args": [
"-y",
"md-log-mcp"
],
"env": {
"MDLOG_API_BASE_URL": "<MDLOG_API_BASE_URL>",
"MDLOG_PAT": "<MDLOG_PAT>"
}
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "md-log-mcp": { "command": "npx", "args": [ "-y", "md-log-mcp" ], "env": { "MDLOG_API_BASE_URL": "<MDLOG_API_BASE_URL>", "MDLOG_PAT": "<MDLOG_PAT>" } } } }Or run: gemini mcp add -s user -e MDLOG_API_BASE_URL='<MDLOG_API_BASE_URL>' -e MDLOG_PAT='<MDLOG_PAT>' md-log-mcp npx -- -y md-log-mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "md-log-mcp": { "command": "npx", "args": [ "-y", "md-log-mcp" ], "env": { "MDLOG_API_BASE_URL": "<MDLOG_API_BASE_URL>", "MDLOG_PAT": "<MDLOG_PAT>" } } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "md-log-mcp": { "command": "npx", "args": [ "-y", "md-log-mcp" ], "env": { "MDLOG_API_BASE_URL": "<MDLOG_API_BASE_URL>", "MDLOG_PAT": "<MDLOG_PAT>" } } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "md-log-mcp": { "command": "npx", "args": [ "-y", "md-log-mcp" ], "env": { "MDLOG_API_BASE_URL": "<MDLOG_API_BASE_URL>", "MDLOG_PAT": "<MDLOG_PAT>" } } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "md-log-mcp": { "command": "npx", "args": [ "-y", "md-log-mcp" ], "env": { "MDLOG_API_BASE_URL": "<MDLOG_API_BASE_URL>", "MDLOG_PAT": "<MDLOG_PAT>" } } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "md-log-mcp": { "command": "npx", "args": [ "-y", "md-log-mcp" ], "env": { "MDLOG_API_BASE_URL": "<MDLOG_API_BASE_URL>", "MDLOG_PAT": "<MDLOG_PAT>" } } } }The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.
Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "md-log-mcp": { "command": "npx", "args": [ "-y", "md-log-mcp" ], "env": { "MDLOG_API_BASE_URL": "<MDLOG_API_BASE_URL>", "MDLOG_PAT": "<MDLOG_PAT>" } } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "md-log-mcp": { "command": "npx", "args": [ "-y", "md-log-mcp" ], "env": { "MDLOG_API_BASE_URL": "<MDLOG_API_BASE_URL>", "MDLOG_PAT": "<MDLOG_PAT>" } } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
MDLOG_API_BASE_URLmd-log backend API base URL (must include /api/v1)RequiredMDLOG_PATmd-log Personal Access Token (mdlog_pat_...)Required
About Md Log MCP
The server writes by path, such as my-project/2026-07-07-error-report.md, creating missing folders as it goes. Images given as base64 or a local file are uploaded first and their references rewritten to asset links, and every save becomes a new immutable version with an optional commit message. The idea is to review an agent's report rather than its diff, then read and stylus-annotate the report on web, phone or tablet.
Edits can be partial: edit_markdown applies up to 50 exact-text replacements in one write and rejects the whole call if any match is missing or ambiguous, while append_to_markdown and update_markdown use optimistic concurrency to avoid overwriting someone else's change. Any version can be restored, and a restore is itself a new version.
md-log is a hosted service, so this package is a thin client with 17 tools over two transports: local stdio via npx, or a hosted Streamable HTTP endpoint that takes the personal access token per request. It requires Node 22 or later and a token created under Settings, Tokens.
Tools this server provides (14)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 1 of 14 tools deletes data and 5 change data; 3 names don't say.
From the server's own tool labels and tool names; not verified by us.
- save_markdown
- Creates or overwrites a Markdown file by path.
- upload_assetName suggests: changes
- Uploads an image and returns an asset link.
- append_to_markdown
- Appends to an existing file with conflict control.
- edit_markdownName suggests: changes
- Applies exact-text replacements to part of a file.
- update_markdownName suggests: changes
- Replaces a file's entire content.
- restore_version
- Rolls a file back to an earlier version.
- get_markdownName suggests: reads
- Reads a file by path, optionally an old version.
- list_versionsName suggests: reads
- Lists a file's version history.
- delete_markdownName suggests: deletes
- Soft-deletes a file.
- create_folderName suggests: changes
- Creates folders along a path.
- list_foldersName suggests: reads
- Returns the folder tree.
- list_filesName suggests: reads
- Lists documents and subfolders in a folder.
- search_markdownName suggests: reads
- Searches titles and body text.
- move_markdownName suggests: changes
- Moves or renames a file.
What it does
- Save by path
- Creates or overwrites a Markdown file and auto-creates folders.
- Image handling
- Uploads embedded screenshots and rewrites them to asset links.
- Batch edits
- Applies up to 50 exact replacements as one version.
- Version history
- Lists versions and restores an earlier one as a new version.
- Conflict control
- Optimistic concurrency on append and update.
- Search and move
- Searches titles and bodies and moves or renames files.
Good for
- Archive a coding agent's analysis as a reviewable report
- Annotate an agent's report with a stylus
- Roll back a report to an earlier version
- Keep screenshots and text together in one document
- Search past reports by keyword
Pricing
Pricing unknown
Needs an md-log account; plan prices not given
Md Log MCP FAQ
What do I need to connect?
A personal access token from the md-log web app and Node 22 or later for the stdio mode.
Do I have to self-host md-log?
No. md-log is hosted at app.md-log.com and this package is only the connector.
Is anything ever overwritten?
Every save is an immutable new version, and restore creates another new version.
How many tools does Md Log MCP have?
17 tools, shared by the stdio and HTTP transports.
How do I add Md Log MCP to Claude Code?
Run this command in your terminal: claude mcp add md-log-mcp --env MDLOG_API_BASE_URL='<MDLOG_API_BASE_URL>' --env MDLOG_PAT='<MDLOG_PAT>' -- npx -y md-log-mcp
What are the best alternatives to Md Log MCP?
The closest alternatives to Md Log MCP are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.


