Atlas / MCP servers / paulhkang94 / MarkView

MarkViewSAFE

mcp/paulhkang94/markview

Native macOS markdown preview + MCP server for Claude Code. Swift/SwiftUI, GFM, Mermaid, syntax highlighting. No Electron.

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
9 8r · 1w · 0d
Transport
stdio
License
MIT
Stars
38
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

[](https://github.com/paulhkang94/markview/releases/latest) &color=green) [](https://glama.ai/mcp/servers/@paulhkang94/markview)

Native macOS markdown preview with MCP server for Claude Code. Claude writes markdown — MarkView renders it live, in a real native window, while you work.

Versions: The macOS app (app badge) and the npm MCP wrapper (npm badge) are versioned independently. App releases happen when the Swift binary changes; npm patches happen for MCP server improvements. Both badges always show the latest of each.

Quick Start — Claude Code

One command to wire MarkView into every Claude Code session:

claude mcp add --transport stdio --scope user markview -- npx mcp-server-markview

That's it. Claude can now call preview_markdown to render any markdown string in a native macOS window, or open_file to open any .md file directly.

Claude Desktop Setup

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
"mcpServers": {
"markview": {
"command": "npx",
"args": ["mcp-server-markview"]
}
}
}
Note: MCP servers belong in ~/.claude.json (Claude Code) or claude_desktop_config.json (Claude Desktop), not ~/.claude/settings.json.

Installation

Homebrew (recommended)

``

Read from source at commit f60e16ad7a37OBSERVED · 2026-10-08
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code (npm)
claude mcp add mcp-server-markview -- npx -y [email protected]
03

Exposed tools (9)

8 read · 1 write · 0 destructive.

ToolRiskDescription
get_changed_filesreadList all changed files in a git repository (staged, unstaged, and untracked).
get_word_countreadCount words, characters, lines, and estimated tokens in markdown content.
lint_contentreadLint raw markdown content using MarkView
lint_filereadLint a markdown file using MarkView
open_filereadOpen an existing markdown file from disk in MarkView.
outlinereadExtract the heading tree from markdown content. Returns a JSON array of headings
preview_markdownreadRender a markdown string in MarkView
render_diff_filewriteRun git diff on a repository and render the output in MarkView with diff2html
render_diff_rawreadRender a raw unified diff string in MarkView with diff2html syntax highlighting.
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryWARN
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (7 observation(s))
Network
declared (9 observation(s))
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (13)

MEDIUMInventory / provenance · inv.binary · CWE-1104
Sources/MarkView/Resources/AppIcon.icns
AppIcon.icns
Why it matters. a compiled or binary member cannot be reviewed from source
Fix. ship source, or explain the binary in the README
LOWInventory / provenance · inv.hidden_file · CWE-1104
.public-docs.json
.public-docs.json
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
Makefile:35
cd Tests/playwright && npx playwright test && printf 'TIER=test\nTS=%s\n' "$$(date +%s)" > ../../.last-verify-at && cd ../.. && bash scripts/bundle.sh --install
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
scripts/test-hooks.py:358
self.plan["refs"] = ["refs/tags/v../../bad"]
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
scripts/test-mcp.sh:355
'arguments': {'content': 'test', 'filename': '../../etc/passwd'}
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
Tests/playwright/package.json
@playwright/test
Why it matters. 1 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
npm/package.json
@modelcontextprotocol/sdk
Why it matters. 1 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
workers/mcp/package.json
@cloudflare/workers-types, typescript, wrangler
Why it matters. 3 dependency range(s) float
Fix. pin exact versions or ship a lockfile
INFOInventory / provenance · inv.oversize · CWE-1104
Sources/MarkViewCore/Resources/mermaid.min.js
Sources/MarkViewCore/Resources/mermaid.min.js
Why it matters. 2887239 bytes not read
INFOInventory / provenance · inv.oversize · CWE-1104
Tests/playwright/__snapshots__/chromium-dark/golden-corpus.spec.ts/golden-corpus-light.png
Tests/playwright/__snapshots__/chromium-dark/golden-corpus.spec.ts/golden-corpus-light.png
Why it matters. 1111995 bytes not read
INFOInventory / provenance · inv.oversize · CWE-1104
Tests/playwright/__snapshots__/chromium/golden-corpus.spec.ts/golden-corpus-light.png
Tests/playwright/__snapshots__/chromium/golden-corpus.spec.ts/golden-corpus-light.png
Why it matters. 1139246 bytes not read
INFOInventory / provenance · inv.oversize · CWE-1104
Tests/playwright/fixtures/alerts.html
Tests/playwright/fixtures/alerts.html
Why it matters. 3262897 bytes not read
INFOInventory / provenance · inv.oversize · CWE-1104
Tests/playwright/fixtures/code-blocks.html
Tests/playwright/fixtures/code-blocks.html
Why it matters. 3266912 bytes not read

Gates applied: no_behavioural_pass.

Audited 2026-10-08 · audit v0.4.1 · source sha f60e16ad7a37full audit observations/trust-audit/mcp-server/paulhkang94__markview.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-08f60e16ad7a37SAFEB89first audit
06

Questions

What is the MarkView MCP server?

Native macOS markdown preview + MCP server for Claude Code. Swift/SwiftUI, GFM, Mermaid, syntax highlighting. No Electron.

What tools does MarkView expose?

9 in total: 8 read-only, 1 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is MarkView safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does MarkView need?

It reads GITHUB_TOKEN from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does MarkView run?

It speaks stdio, so it runs as a local process your client starts. It is published on npm as markview-mcp-worker at 1.0.0.

How current is this page?

The grade is for one exact copy of the source (f60e16ad7a37), read on 2026-10-08. The repository is watched and re-audited when it changes.

Advertisement