MCP Server
The Pixel House exposes a Model Context Protocol server so AI coding assistants can trigger visual regression tests directly from your development environment.
MCP server access is included on all paid plans. Coming in v2.0.
Claude Code
Option A: Local server (recommended) — runs via the CLI with no network roundtrip for the MCP protocol. Install the CLI first, then:
claude mcp add pixelhouse -- pixelhouse mcp serve
The CLI resolves your API key from PIXELHOUSE_API_KEY, .pixelhouserc.json, or the --api-key flag.
Option B: Remote server — connect directly over HTTP, no CLI needed:
claude mcp add --transport http pixelhouse \ https://mcp.thepixelhouse.co.uk/mcp \ --header "Authorization: Bearer ph_live_your_key"
Cursor
Local server — add to .cursor/mcp.json:
{
"mcpServers": {
"pixelhouse": {
"command": "pixelhouse",
"args": ["mcp", "serve"]
}
}
}Remote server — no CLI needed:
{
"mcpServers": {
"pixelhouse": {
"url": "https://mcp.thepixelhouse.co.uk/mcp",
"headers": {
"Authorization": "Bearer ${PIXELHOUSE_API_KEY}"
}
}
}
}Windsurf
Local server — add to your MCP config:
{
"mcpServers": {
"pixelhouse": {
"command": "pixelhouse",
"args": ["mcp", "serve"]
}
}
}Remote server — no CLI needed:
{
"mcpServers": {
"pixelhouse": {
"serverUrl": "https://mcp.thepixelhouse.co.uk/mcp",
"headers": {
"Authorization": "Bearer ${PIXELHOUSE_API_KEY}"
}
}
}
}Available tools
take_screenshotCapture a URL screenshot across viewportscompare_screenshotsDiff two screenshots with pixel-level comparisonrun_visual_regressionCapture and compare against baseline in one callcreate_baselinePromote a screenshot to baselineapprove_changesAccept detected changes, update baselinelist_baselinesList baselines for a projectget_diff_reportGet regression test results with diff imagesdiscover_pagesCrawl sitemap to find testable pagesExample conversation
You
Check if my CSS changes broke the homepage layout
Claude
Running visual regression on your homepage...
No visual regressions detected. Your CSS changes are safe to ship.
Further reading
- Visual Testing for AI Coding Assistants: The MCP Guide84% of developers now use AI coding tools. Add visual regression testing to Claude Code, Cursor, and Windsurf via MCP so AI-generated UI changes get checked.
- Visual Regression Testing in Claude Code: A Complete GuideCatch unintended UI changes without leaving your editor. A step-by-step guide to visual regression testing in Claude Code using an MCP server with eight visual tools.
- From Prompt to Verified UI: An MCP Workflow Case StudyHow we use our own MCP server to catch visual regressions in AI-generated code, walked through one real change to our pricing page that a prompt quietly broke.
- What Is an MCP Server? A Plain-Language Guide for DevelopersAn MCP server is a program that gives an AI assistant new tools. With 10,000+ public servers now live, here is how the Model Context Protocol works.