Skip to main content
Glama

md-mcp

A slim local viewer for Claude Code output. Claude publishes markdown through an MCP tool; you read, screenshot, or print it to PDF from a browser tab at http://127.0.0.1:4141.

Setup

npm install
claude mcp add --scope user md-mcp -- node "$PWD/src/shim.js"

That is all. The shared daemon auto-starts on the first publish call and survives Claude Code restarts. History lives in memory only; restarting the daemon clears it.

Related MCP server: browser_mcp

Use

Ask Claude to publish anything to md-mcp:

summarise the audit and publish it to md-mcp

  • Every publish appends a page to that session in the viewer.

  • Publishing with the same key updates a page in place.

  • The sidebar groups pages by Claude Code session (labelled by project dir).

  • Tail (the dot button, or t) follows new pages live; arrow keys browse.

  • Ctrl+P prints just the current page, cleanly, for PDF.

Dev

npm test          # node:test suites for the store and publish endpoint
npm run daemon    # run the daemon in the foreground

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      B
      maintenance
      Enables Claude to navigate, screenshot, read console/network, and crawl links in HTML documentation via a co-located headless Chromium and VSCode webview pane.
      19 npm
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Live markdown preview for LLM agents. Call a single tool to watch a markdown file and it opens a browser UI that streams rendered updates, changes, and history.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      A local MCP server that lets AI agents publish markdown/HTML to a browser viewer with session management, revision diffs, and live updates via a single tool call.
      2
      MIT