Best MCP servers for testing your site at every screen size
Most browser MCP servers give your coding agent one desktop tab at a time. When you need Claude Code, Codex or Cursor to check how a web app looks across phones, foldables, tablets and desktop browsers, the right server depends on whether you want multi-device responsive sweeps, E2E automation, Chrome debugging or a cloud device farm.
Updated 25 November 2026
Comparison at a glance
Every tool below exposes an official Model Context Protocol (MCP) server verified against its own documentation on 25 November 2026. The main split is local versus cloud, single-viewport versus multi-device presets, and which rendering engines each server runs.
| MCP server | Runs on | Engines | Multi-size | Localhost | Pricing |
|---|---|---|---|---|---|
| ViewPortal | Local Mac app (stdio + loopback HTTP) | Playwright Chromium, WebKit, Firefox + optional Xcode iOS Simulator Safari; 36 device profiles incl. iPhone Duo & foldables | 6 built-in presets (up to 12 targets in one prompt), light/dark pairs, compare, batch and saved projects | Direct | 7-day free trial (no card), then £9/mo or £79/yr (3 Macs) |
| Playwright MCP | Local Node.js 20+ (stdio) or Docker | Chromium, Firefox or WebKit via --browser (one engine per instance); Playwright device descriptors | One viewport at a time: resize during a session, or set a device or size at startup | Direct | Free, open source (Apache-2.0) |
| Chrome DevTools MCP | Local Node.js LTS + Chrome (stdio) or CLI | Google Chrome & Chrome for Testing only (Blink/Chromium) | One viewport per emulate call (DPR, touch, dark mode, throttling) | Direct | Free, open source (Apache-2.0) |
| BrowserStack MCP | Remote Streamable HTTP or local Node.js 22+ | Cloud grid of real iOS/Android devices and desktop browsers (Live, Automate, Percy, A11y) | Launches cloud sessions or test suites across BrowserStack devices | Via local server + BrowserStack Local | Paid BrowserStack plans (from $12.50/mo; free for open source) |
| Browserbase MCP | Hosted Streamable HTTP (Stagehand) | Managed cloud Chromium | Single cloud session; custom viewports configured via Browserbase API/SDK | Needs tunnel | Free tier, then Developer from $20/mo, Startup from $99/mo |
| Browserless MCP | Hosted Streamable HTTP or self-hosted Node.js 24+ | Managed stealth cloud Chromium | One session at a time; screenshots, PDFs or custom Puppeteer scripts | Needs tunnel (cloud) | Free tier (1,000 units), then usage-based plans |
ViewPortal: multi-device responsive QC on Mac
ViewPortal for Mac pairs a visual side-by-side device board (real WebKit and Chromium frames with linked scroll, navigation and reload) with a local MCP server built specifically for responsive layout checks. One click in Settings → Agent access installs it into Claude Code, Codex or Cursor, or you can run the bundled CLI command from the MCP setup page.
The server exposes sixteen tools (qc_url, dual_theme, compare, batch, run_project, list_presets, list_projects, save_project, delete_project, get_started, get_run, list_runs, list_devices, list_browsers, list_engines and install_engine) over local stdio, with optional loopback HTTP on 127.0.0.1. Instead of asking your agent to resize one window four times, one prompt runs a built-in preset:
phones(4 targets: iPhone 17, 17 Pro Max, SE, Pixel 9)iphones(5 targets: iPhone 17, 17 Pro Max, Air, 17e, SE)android(3 targets: Pixel 9 in Chrome and Firefox, Pixel Tablet)tablets(3 targets: iPad mini, iPad Pro 11, Pixel Tablet)desktop(4 targets: Mac Safari, Chrome, Firefox)everything(12 targets across phones, tablets and Mac browsers)
The catalogue covers 36 device profiles (including iPhone Duo closed and open, Galaxy Z Fold7, Pixel Fold and Pixel 10 Pro Fold) and 15 browser entries, rendered with real Playwright Chromium, WebKit and Firefox engines — plus optional real Safari captures from the iOS Simulator on Macs with Xcode. Every run returns a one-line verdict, numbered issues, full-resolution PNG screenshots, labelled light/dark pairs or contact sheets, and Quirk Lens findings across eleven mobile browser rules (100vh under dynamic toolbars, safe-area insets, fixed footers and on-screen keyboards, viewport meta, theme-color, iOS input zoom, horizontal overflow, fold occlusion and Android edge-to-edge). Saved projects let your agent re-run a site’s URLs and must-have devices in one call (run_project), and all runs stay locally on your Mac.
Playwright MCP: cross-platform browser automation
Microsoft’s official Playwright MCP (@playwright/mcp, Apache-2.0) connects any MCP client to Playwright via Node.js 20+ (npx @playwright/mcp@latest) or Docker. It drives Chromium (chrome, msedge), Firefox and WebKit selected through the --browser flag, and reaches localhost directly on macOS, Linux and Windows.
Playwright MCP is built around structured accessibility-tree snapshots (browser_snapshot) so agents can click buttons, fill forms, handle dialogs, read console messages and inspect network requests deterministically without relying on screenshot coordinates. For viewport checks, you can pass startup flags such as --viewport-size "390x844", --device "iPhone 15" or --mobile (Pixel 10 for Chromium, iPhone 17 for WebKit), and call browser_resize followed by browser_take_screenshot during a session. Checking several screen sizes or engines in one pass means looping resize calls or running separate server configurations.
Chrome DevTools MCP: Chrome debugging, emulation and traces
Google’s Chrome DevTools MCP (chrome-devtools-mcp, Apache-2.0) gives agents direct access to Chrome DevTools over Puppeteer and the Chrome DevTools Protocol, as either an MCP server (npx -y chrome-devtools-mcp@latest) or a standalone CLI. It runs locally against Google Chrome or Chrome for Testing, so localhost works out of the box across macOS, Linux and Windows.
For responsive checks, its emulate tool sets viewport dimensions, device pixel ratio, mobile/touch flags and landscape orientation using a compact spec (<width>x<height>x<dpr>[,mobile][,touch][,landscape]), alongside colorScheme (light/dark/auto), prefersReducedMotion, prefersContrast, forcedColors, geolocation, CPU slowdown and network throttling. It also exposes resize_page and take_screenshot. Where it shines most is Chrome-specific investigation: recording performance traces with Core Web Vitals insights (performance_start_trace / performance_analyze_insight), running lighthouse_audit, inspecting computed styles (get_css_styles), mocking network requests and analysing heap snapshots.
BrowserStack MCP: real physical devices in the cloud
The official BrowserStack MCP Server connects Claude Code, Codex, Cursor, VS Code and ChatGPT to BrowserStack’s cloud device and browser grid. You can connect to the hosted Streamable HTTP endpoint (https://mcp.browserstack.com/mcp) with OAuth sign-in, or run the local Node.js 22+ package (npx -y @browserstack/mcp-server) to test locally hosted sites via BrowserStack Local.
It gives agents access to BrowserStack’s suite: opening manual and automated sessions on real physical iOS and Android devices and real desktop OS/browser combinations (Live, App Live, Automate, App Automate), running WCAG accessibility scans, reviewing Percy visual tests and diagnosing CI test failures. It requires a BrowserStack account (paid plans start from $12.50/month, with a free plan for open-source projects).
Browserbase MCP and Browserless MCP: hosted cloud browsers
Both Browserbase and Browserless offer official MCP servers backed by managed cloud Chromium infrastructure, aimed primarily at live-web automation, scraping and hosted agent workflows rather than local responsive layout sweeps.
- Browserbase MCP runs over hosted Streamable HTTP at
https://mcp.browserbase.com/mcpusing Stagehand (start,navigate,act,observe,extract,end). Custom viewports (browserSettings.viewport) are configured through the Browserbase API or SDK when creating a session (the older self-hosted GitHub repo with viewport CLI flags is archived). Plans start with a free tier, then Developer from $20/month and Startup from $99/month. - Browserless MCP runs hosted at
https://mcp.browserless.io/mcp(Streamable HTTP with OAuth or API token) or self-hosted via@browserless.io/mcp(Node.js 24+). It providesbrowserless_agentfor multi-turn navigation,browserless_smartscraper(markdown, HTML, full-page PNG screenshot, PDF),browserless_functionfor custom Puppeteer JavaScript, Lighthouse audits and crawling, plus guides for routing Playwright MCP or Chrome DevTools MCP over Browserless cloud WebSockets. Plans start with a free tier (1,000 units), then usage-based pricing.
Because hosted cloud browsers run outside your machine, testing a local dev server requires exposing localhost through a tunnel (unless you self-host Browserless locally).
How to choose the right MCP server
Most teams end up pairing one responsive-testing server with one general debugging or automation server, because each category solves a different job:
- Checking your local site across phones, foldables, tablets, desktops and dark mode on a Mac: start with ViewPortal. One prompt runs real WebKit, Chromium and Firefox across named presets, flags mobile quirks (
100vh, safe areas, overflow, input zoom, fold occlusion) and gives you the same devices on a visual Mac board. - Clicking through logins, checkouts and multi-step user flows on any OS: use Playwright MCP. Its accessibility-tree snapshots keep agent interactions fast and deterministic.
- Profiling slow pages, Core Web Vitals, network payloads or memory leaks in Chrome: use Chrome DevTools MCP for traces, Lighthouse audits and CSS/heap inspection.
- Verifying a release on real physical iOS/Android hardware or Windows browsers: add BrowserStack MCP for cloud access to real devices and Percy visual reviews.
- Automating public websites at scale with stealth, proxies or CAPTCHA handling: choose Browserbase or Browserless.
Let Claude Code, Codex or Cursor check every screen size on your Mac
ViewPortal for Mac bundles the sixteen-tool MCP server, 36 device profiles (including iPhone Duo and foldables), real WebKit, Chromium and Firefox rendering, Quirk Lens mobile checks and the visual side-by-side board in one local app. Install into Claude Code, Codex or Cursor in one click from Settings → Agent access, or read the MCP setup guide.
Every feature is open in a 7-day free trial with no card needed, then £9/month or £79/year (covering up to 3 Macs). Need to check responsive layouts on the move too? ViewPortal for iPhone and iPad is free on the App Store, with Pro as a one-time £4.99 unlock.
Mac: 7-day free trial (no card), then £9/month or £79/year · iOS: free, Pro £4.99 once.
Questions people ask
Which MCP server lets Claude Code or Codex test my localhost site at multiple screen sizes on a Mac?
Can Playwright MCP test mobile sizes and WebKit?
Can Chrome DevTools MCP test Safari or WebKit?
Do cloud MCP servers like Browserbase or Browserless work with localhost?
How do I install ViewPortal’s MCP server in Claude Code, Codex or Cursor?
Sources and references
Sources checked 25 November 2026 directly on each tool’s official documentation or repository.
- ViewPortal: MCP setup, presets and tools
- Microsoft: Playwright MCP repository and README
- Google Chrome DevTools: chrome-devtools-mcp repository
- Google Chrome DevTools: MCP tool reference (emulate, resize_page)
- BrowserStack Docs: Overview of the BrowserStack MCP server
- BrowserStack: Official MCP server repository
- Browserbase Docs: Browserbase MCP server
- Browserless Docs: MCP Overview