view-sim
Preview sites in phone, tablet and laptop frames and capture PNG screenshots
- Pricing
- Open source
- Platforms
- CLI, Chrome extension, firefox-extension
- Runs
- Locally
- Version
- 1.0.0
- Listing updated
- today
Similar MCP servers
About view-sim
view-sim is an open-source MCP server for design and media. It runs locally on your machine and is started by your AI client.
It can drive the view-sim browser extension or run headlessly with Playwright, so an agent can open a URL inside a device frame, navigate, and save a transparent PNG screenshot. Frames include phones, tablets, MacBooks and large displays, shown in Safari, Chrome, Firefox or Zen styling.
Headless mode needs Playwright's Chromium and WebKit browsers installed once. A bridge connects the extension to the server, and setting VIEW_SIM_EXTENSION_IDS restricts which extensions may connect; leaving it unset allows any.
It runs locally over stdio from the view-sim-mcp npm package and is MIT licensed. The README points to the main view-sim repository for the full tool list.
Install
Run in a terminal
claude mcp add view-sim -- npx -y view-sim-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"view-sim": {
"command": "npx",
"args": [
"-y",
"view-sim-mcp"
]
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"view-sim": {
"command": "npx",
"args": [
"-y",
"view-sim-mcp"
]
}
}
}Add to .vscode/mcp.json
{
"servers": {
"view-sim": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"view-sim-mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"view-sim": {
"command": "npx",
"args": [
"-y",
"view-sim-mcp"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"view-sim": {
"command": "npx",
"args": [
"-y",
"view-sim-mcp"
]
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
VIEW_SIM_EXTENSION_IDSComma-separated extension ids allowed to connect to the bridge (Chrome id and/or view-sim@itelo). Unset allows any extension.
What it does
- Device frames
- Shows pages inside phone, tablet, laptop and display frames.
- Browser styling
- Safari, Chrome, Firefox or Zen window chrome.
- Transparent PNG capture
- Saves screenshots with transparent backgrounds.
- Extension or headless
- Works through the browser extension or headlessly with Playwright.
- Bridge restriction
- Limit which extension IDs can connect to the bridge.
Good for
- Make marketing mockups of a site on a phone frame
- Check how a page looks across device sizes
- Capture screenshots for documentation
- Let an agent review responsive layout
Pricing
Open source
MIT licensed
view-sim FAQ
How do I install it?
Run claude mcp add view-sim -- npx -y view-sim-mcp.
Do I need Playwright?
Only for headless screenshots, after installing Chromium and WebKit once.
How do I restrict the extension bridge?
Set VIEW_SIM_EXTENSION_IDS to the allowed extension ids.
Which licence?
MIT.
Is view-sim free?
Yes. view-sim is open source, so you can use and self-host it for free.
How do I add view-sim to Claude Code?
Run this command in your terminal: claude mcp add view-sim -- npx -y view-sim-mcp
What are the best alternatives to view-sim?
The closest alternatives to view-sim are REA, HyperFrames by HeyGen, Context7, Chrome DevTools MCP and Codebase Memory.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.


