Purpose
snapmcp is positioned as a "visual documentation MCP server," aimed at documentation workflows that need to generate pixel-perfect images suitable for human reading. Unlike Playwright MCP, which drives browser interaction through token-efficient accessibility snapshots, snapmcp is responsible for rendering images, making them easy to embed in documentation. The official description states: if an agent needs to "click," use Playwright; if it needs to "show," use snapmcp. The two are often used together—using Playwright MCP for interaction and snapmcp for recording.
Main Capabilities
An MCP server, 13 tools, covering the following capture types:
- Terminal output (terminal)
- Code (code)
- Browser (browser)
- Markdown
- git diff (diffs)
- HTML
- GIF
Supports real terminal colors, Shiki syntax-highlighted code, visual diffs, PDF, and GIF. Renders using system Chrome, and can automatically install Chromium during initial setup. SSRF protection is enabled by default, with no need to enable it manually.
Usage
The official installation and usage is given as three steps, completed within two minutes:
- Install (the original text does not expand on the specific command for this step).
- Add to Claude Code (
~/.claude/claude.json). - Make a request to the agent in natural language, for example:
"Capture a terminal screenshot of git log --oneline -5 and a syntax-highlighted PNG of src/index.ts."
The agent will then call capture_terminal and capture_file, and the images will be saved to the ./captures/ directory, applying the real terminal theme and the selected syntax theme.
Other client configurations are also supported:
- OpenCode (
opencode.json) - VS Code / Cline / Roo-Cline(
settings.json→cline.mcpServers)
In addition to the MCP server, SnapMCP also comes with a complete CLI.
Use Cases
- Automated documentation: the agent writes installation guides and embeds real screenshots, including terminal output of installation commands (using real themes), syntax-highlighted configuration files, and migration diffs. One prompt, three
capture_*calls, and the images can be saved next to the markdown. - Visual QA: after UI changes, the agent uses
capture_browserto capture the affected pages, usescapture_batchto batch-generate before-and-after comparisons, and usescapture_gifto assemble them into an animated comparison for the PR description. - Terminal guides: screenshots in CLI tutorials need to match what readers see, and
capture_terminalreproduces the real prompt colors, rather than a generic dark rectangle.
Built-in Shiki Themes
27 in total: dracula, one-dark-pro, nord, tokyo-night, catppuccin-mocha, catppuccin-latte, ayu-dark, ayu-light, vitesse-dark, vitesse-light, min-dark, min-light, poimandres, rose-pine, rose-pine-moon, rose-pine-dawn, slack-dark, slack-ochin, snazzy-light, github-dark-dimmed, github-light, one-light, solarized-light, solarized-dark, material-theme, material-theme-lighter, material-theme-ocean.
Environment Requirements and License
- Runtime: Node.js ≥ 20 or Bun ≥ 1.2.
- CI runs via GitHub Actions on ubuntu / macOS / windows.
- License: MIT.
Limitations
The materials do not provide the specific names and value descriptions of the MCP server environment variables, the specific command for the first installation step, the detailed parameters of each tool, or pricing information (no pricing information is mentioned in the materials).