Get the FREE Ultimate OpenClaw Setup Guide →

markview

Native macOS markdown preview app. Swift/SwiftUI, GitHub Flavored Markdown, syntax highlighting, linting, plugins. No Electron.

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio paulhkang94-markview npx mcp-server-markview

How to use

MarkView ships with an MCP server that enables AI-assisted preview of Markdown directly inside the app. The server is exposed via a lightweight stdio/JSON-RPC interface and is started by invoking the npx command for the server package (mcp-server-markview). The MCP server exposes two tools: preview_markdown, which writes content to a temporary file and opens it in MarkView for live reload, and open_file, which opens an existing Markdown file in MarkView. To try it quickly, you can run the Quick Start command using npx mcp-server-markview, then use Claude or another agent to send preview_markdown content to MarkView or request open_file to display a specific file. This setup makes it easy for AI assistants to render Markdown previews in real-time as you edit content elsewhere.

How to install

Prerequisites:

  • Node.js and npm installed (npx is included with npm).
  • Internet access to fetch the MCP server package.

Install and run the MCP server using npx:

npx mcp-server-markview

Optionally, install the CLI version for local experimentation:

npx mcp-server-markview --help

If you prefer to bundle the server package for repeated use, you can install it globally or within a project as a normal npm package, then run the server via node if the package exposes a runnable entry point. The recommended approach for quick trials is the npx command shown above.

For Claude integration, you can add the server to your Claude configuration as shown in the Claude setup section of the README (using the same npx mcp-server-markview invocation).

Additional notes

Notes and tips:

  • The MCP server for MarkView is exposed via command npx mcp-server-markview; you can substitute mcp-server-markview with your local build or a different tag if the package name changes.
  • If you encounter not found errors for npx, ensure npm is up to date and you have network access to fetch the package from npm.
  • When integrating with Claude, remember to place the mcpServers entry in ~/.claude.json (user scope) or Claude desktop config as shown in the README.
  • The Tools exposed by the MCP server are designed for simple interactions: preview_markdown writes content to a temp file and opens it in MarkView with live reload; open_file opens an existing Markdown file in MarkView.
  • If you modify MarkView locally, you may need to rebuild or reinstall the MCP server package and re-run the npx command to pick up changes.

Related MCP Servers

Sponsor this space

Reach thousands of developers