VisualQ

Agents & MCP

VisualQ as the Quality MCP for Cursor, Claude Code, and coding agents — VRT, FRT, rolling health, and PR gates from your IDE.

VisualQ is built for agentification: your coding agent can run visual regression tests, functional journeys, accessibility audits, and PR quality gates — without leaving Cursor or Claude Code.

This chapter is the entry point for IDE agents. Human dashboard workflows stay in Getting started; CI pipelines stay in CI/CD.

Why a Quality MCP?

Most agents can browse locally with Playwright MCP. That is great for exploration, but it does not give you:

  • Approved baselines and diff history across viewports
  • Rolling site health (never confuse one run with a project score)
  • FRT contracts — Gherkin features compiled to deterministic Playwright
  • gate_pr_quality — a structured merge verdict for PRs

VisualQ MCP fills that gap. Install it alongside Playwright MCP:

LayerMCPRole
ExplorePlaywright MCPClick, fill, inspect DOM locally
StandardsVisualQ MCP (@visualq/mcp)VRT, FRT, health, tracking, PR gate

What you install

ComponentPackage / sourcePurpose
MCP server@visualq/mcp100+ tools — runs, health, FRT, governance
Setup CLI@visualq/setup-agentOne-command MCP + skills + rules
Cursor pluginvisualq-cursor-pluginSkills, rule, MCP template
Org agent keyDashboard → Agent API Keysvq_org_live_… — all projects in your org

Use org agent keys for IDE agents. Project CI keys (vq_live_…) are for GitHub Actions and REST CI routes only.

Architecture

flowchart LR
  subgraph IDE["Cursor / Claude Code"]
    Agent["Coding agent"]
  end
  subgraph MCP["MCP layer"]
    PW["Playwright MCP\n(local browser)"]
    VQ["@visualq/mcp\n(quality standards)"]
  end
  subgraph Cloud["visualq.ai"]
    API["MCP gateway + invoke API"]
    Worker["Playwright worker"]
    FS["Firestore\nbaselines · health · FRT"]
  end
  Agent --> PW
  Agent --> VQ
  VQ --> API
  API --> Worker
  API --> FS

Start here

  1. Quick start for agents — key, install, verify in 5 minutes
  2. MCP reference — prompts, tool profiles, transport modes
  3. Agent workflows — PR gate, VRT, FRT, onboarding, Jira

Deep dives

Rolling health rule for agents

Agents must use get_site_health or gate_pr_quality for project KPIs. Never treat latestA11yRun or a single VRT run as the site score. See Rolling page health.

On this page