MCP Rigor logo MCP Rigor

QA workspace

Use MCP Rigor in a browser to create, edit, validate, and run saved tests — no terminal needed for the daily loop.

Start it

From your test directory:

mcprigor workspace .

Choose a port if needed:

mcprigor workspace . --port 4173

Open the printed local URL, for example http://127.0.0.1:4173.

Start it from a dedicated project folder rather than your home directory. Hidden directories and unreadable folders are skipped automatically, and suite discovery stops six levels deep.

Switching the workspace folder

The footer always shows the current workspace — its label and the full directory path. Click it to open the folder picker: browse subfolders, jump to your home folder, or type an absolute path (~ works) and press Go. The picker shows how many test files sit at the top level of each folder and which workspace is currently active. Choose Use this folder to switch — the file list, history, and trends immediately come from the new folder. Switching is blocked while a run is in progress, and unsaved editor changes prompt before they are discarded.

First run

An empty folder shows a three-step welcome screen. Choose + New test file (or press Ctrl/⌘+N): the file is created from a working example and opens immediately. Point the Server: line at your MCP server command — or replace it with MCP URL: for a deployed HTTP endpoint — then Validate and ▶ Run tests.

Daily workflow

  1. Select a .mcpr suite in the left panel, or create one with + New test file.
  2. Edit the plain-language scenario. The editor provides syntax highlighting, line numbers, and autocomplete: top-level declarations at the start of a line, actions and assertions when indented, and comparison phrases after Expect "field". Accept with Tab or Enter; force the list open with Ctrl+Space.
  3. Choose Validate (Ctrl/⌘+S saves, Ctrl/⌘+Enter runs). A wording problem highlights the offending line and moves the cursor to it.
  4. Choose ▶ Run tests or Parity.
  5. Review the results panel: per-file pass/fail with durations; select a file for its full report. Drag either panel divider to resize the file list, editor, and results areas; widths persist across reloads, arrow keys resize a focused divider, and double-click resets the layout.

The editor marks unsaved changes; running or validating saves them first. If the file changed elsewhere after you opened it, the workspace refuses to overwrite it and asks you to reload.

Batch runs

Every file row has a checkbox. Selecting one or more files shows a batch bar with Validate, Parity, and ▶ Run for the whole selection (up to 20 files per run). The Run panel lists each file with its outcome and duration.

Renaming

Rename a file from the pencil icon on its row, the toolbar pencil, or by double-clicking the file name. Run history follows the new name automatically, so History and Trends stay intact. To rename an individual test, edit its Test: "…" line — history tracks tests by name within each suite.

Test runs are recorded in .mcprigor/workspace-history.jsonl (most recent 2000 entries). The results panel has three tabs:

One search box filters all three tabs. It matches suite names, test names, and error text, and highlights matches, so you can answer questions like "when did delivered start failing?" without leaving the browser.

Completed runs expose PDF, CSV, and JUnit XML downloads. The Trends tab exports a rich trends PDF, aggregate CSV, or raw history CSV. PDF reports include summary cards, pass-rate visuals, per-test detail, failures, durations, and evidence identifiers.

An HTML report button opens the full report — including the clickable request/response session timeline — in a new tab. When the workspace is started with MCPRIGOR_PUBLISH_SITE and NETLIFY_AUTH_TOKEN set, a Publish button also appears: one click hosts the report at a shareable static URL and keeps a View published ↗ link on the run. See Shareable hosted reports.

What is available

Current limits

The browser focuses on the create/edit/validate/run loop. Use the CLI for:

See the CLI reference.

Security

The workspace:

Do not expose the workspace through a public proxy. Stop it with Ctrl+C when finished.

Problems

If a suite does not appear, confirm that:

For server and test failures, see troubleshooting.