
How to add MarkView to Cursor
Native macOS markdown preview MCP server — Claude writes markdown, MarkView renders it live in a real native window. Paste the config into ~/.cursor/mcp.json and restart Cursor.
Last updated June 14, 2026 · 34★ · stdio · no auth
Cursor config for MarkView
claude mcp add --transport stdio --scope user markview -- npx mcp-server-markview{
"mcpServers": {
"markview": {
"command": "npx",
"args": [
"mcp-server-markview"
]
}
}
}Setup steps
- 1Open Cursor → Settings → MCP → Add new MCP server (or edit ~/.cursor/mcp.json directly).
- 2Paste the MarkView config below into the "mcpServers" object.
- 3Fill in placeholder secrets, then save.
- 4Cursor reloads MCP servers automatically — check Settings → MCP for a green status dot.
- 5Ask Cursor to use one of MarkView's tools to confirm it's connected.
Before you start
- macOS 14+
- Node.js / npx (to run the mcp-server-markview wrapper)
- The MarkView app installed (via Homebrew cask, build from source, or the bundled app installer)
What MarkView can do in Cursor
preview_markdownRender markdown content in a live-reloading MarkView window.
open_fileOpen an existing .md file in MarkView.
Security
macOS-only (requires macOS 14+). The MCP server is an npm wrapper that drives the native MarkView app; the app includes an HTML sanitizer that strips scripts, event handlers, and XSS vectors from rendered markdown. No authentication or network access required.
MarkView + Cursor FAQ
Where is the Cursor config file?
Cursor reads MCP servers from ~/.cursor/mcp.json. Paste the MarkView config there under the "mcpServers" key and restart the client.
Is MarkView safe to use with Cursor?
macOS-only (requires macOS 14+). The MCP server is an npm wrapper that drives the native MarkView app; the app includes an HTML sanitizer that strips scripts, event handlers, and XSS vectors from rendered markdown. No authentication or network access required.
Does MarkView work on Windows or Linux?
No. MarkView is a native macOS app (Swift/SwiftUI) and requires macOS 14 or later.
What tools does the MCP server expose?
Two tools: preview_markdown (render a markdown string in a live MarkView window) and open_file (open an existing .md file in MarkView).
How do I add it to Claude Desktop instead of Claude Code?
Add an mcpServers entry to ~/Library/Application Support/Claude/claude_desktop_config.json with command "npx" and args ["mcp-server-markview"].