MCP & CLI
Headless entry points for the same execution engine behind Runner:
(npm run runner
run + load), npm run mock, and npm run mcp. No cloud relay — everything is local stdio/process.
Working directory examples assume the
qasignoff-backend package.
Collection runner (npm run runner -- run
)
npm run runner -- run- Platform Availability: Full Parity (CLI)
- Overview: Execute a Signoff
or Postman v2.1 collection with environments, dotenv, data files, iterations, workers, retries, and reporters (*.signoff.json
,json
,html
,pdf
,junit
).csv - How It Works (Windows App): Export or save collection/env files from the workspace, then run from PowerShell/terminal. UI Runner remains available for interactive plans.
- How It Works (VS Code Extension): Same CLI from the integrated terminal; optional UI Runner while developing.


- Code / Configuration Examples:
| Flag | Description | Default |
|---|---|---|
| Collection file (Signoff or Postman v2.1) | required |
| Environment JSON (Signoff or Postman) | — |
| Dotenv file merged after environment JSON | — |
| Data file (CSV/JSON) | — |
| Report output directory | |
| (comma-separated) | |
| Iteration count | |
| Delay between requests | |
| Retry count | |
| Parallel workers ( = sequential) | |
| Per-request timeout | |
| Stop on first failure | |
| Verbose logging | |
| overrides (highest precedence) | — |
| Run a single folder | — |
| Run one or more requests | — |
npm run runner -- run \ -c ./signoff-studio-starter.signoff.json \ -e ./signoff-studio-starter.httpbingo.signoff.env.json \ --reporters json,html,junit \ -o ./reports \ --bail -v
Exit codes: 0 ok · 1 failures (including assertions) · 2 usage/load/validation.
- Edge Cases, Troubleshooting & Pro-Tips:
- PDF needs Chrome/Edge or
(otherwise preferSIGNOFF_CHROME_PATH
).html
wins over env JSON and dotenv — use for CI secrets injection.--var- Scope with
/--folder
for fast PR checks.--request
- PDF needs Chrome/Edge or
Load testing (npm run runner -- load
)
npm run runner -- load- Platform Availability: Full Parity (CLI)
- Overview: Process-local VU sessions with ramp, think time, and optional p95 / error-rate gates. See Load testing for UI parity.
- How It Works (Windows App): Use Load panel or CLI; CLI preferred for automation.
- How It Works (VS Code Extension): Same.


- Code / Configuration Examples:
| Flag | Description | Default |
|---|---|---|
| Collection file | required |
| Environment JSON | — |
| Dotenv merged after env JSON | — |
| Load JSON report directory | |
| Virtual users | |
| Alias for | — |
| Steady-state duration | |
| Alias for | — |
| Ramp 0→N | |
| Drain after duration | |
| Pause between iterations per VU | |
| Fail if p95 exceeds | — |
| Fail if error rate exceeds (0–1) | — |
| Soft VU cap (hard 200) | |
| Verbose progress | |
| overrides | — |
| Load one folder | — |
| Load specific requests | — |
npm run runner -- load -c ./Pets.signoff.json --vus 20 --duration 60000 --p95 500 --error-rate 0.01 -v
Exit codes: 0 thresholds pass · 1 fail · 2 usage.
- Edge Cases, Troubleshooting & Pro-Tips:
- Not distributed — one process, one machine.
- Soft-capped by
(default 50).--max-vus
Mock server (npm run mock
)
npm run mock- Platform Availability: Full Parity (CLI)
- Overview: Serve a local mock from workspace collection, collection file, or OpenAPI/Swagger. Details in Mocks & OpenAPI.
- How It Works (Windows App): CLI or UI mock actions.
- How It Works (VS Code Extension): CLI from terminal; UI mock from tree.


- Code / Configuration Examples:
| Flag | Description | Default |
|---|---|---|
| Absolute Signoff workspace folder | — |
| Collection id/name or file | — |
| Folder when using a workspace | — |
| OpenAPI/Swagger JSON or YAML | — |
| Port ( = ephemeral) | |
| Less request logging | |
npm run mock -- --openapi ./petstore.yaml --port 0 npm run mock -- -w C:/abs/workspace -c Pets --folder smoke
- Edge Cases, Troubleshooting & Pro-Tips:
- Require workspace+collection, collection file, or
.--openapi - Absolute workspace paths only;
rejected...
- Require workspace+collection, collection file, or
MCP server (npm run mcp
)
npm run mcp- Platform Availability: Full Parity (local stdio MCP)
- Overview: Stdio MCP server (
) so Cursor or other local MCP clients can list and run collections. Read/execute only — no tool writes collection files. Secrets redacted in tool output.signoff-studio - How It Works (Windows App): Copy MCP snippet from collection Settings/toolbar when available; run with absolute
.--workspace - How It Works (VS Code Extension): Same server process; configure in Cursor/
independently of the VS Code Signoff webview.mcp.json


- Code / Configuration Examples:
| Flag / env | Description |
|---|---|
| Absolute workspace folder or collection file |
| Used when omitted |
| Alternate env fallback |
| Override default cap (50) |
npm run mcp -- --workspace C:/absolute/path/to/workspace
Cursor / MCP client config:
{ "mcpServers": { "signoff-studio": { "command": "node", "args": [ "C:/signoff-studio/signoff-studio-tool/qasignoff-backend/src/mcp/server.mjs", "--workspace", "C:/absolute/path/to/workspace" ] } } }
MCP tools
| Tool | Arguments | Result |
|---|---|---|
| — | id, name, request count |
| — | id, name |
| , , | id, name, method, url, protocol |
| | request JSON (secrets redacted) |
| , , | status, time, size, body preview (~12KB), assert summary |
| , , , , | summary + failed request ids |
{ "name": "run_request", "arguments": { "requestId": "GET · Query Params", "environmentId": "httpbingo", "vars": { "suiteName": "mcp-smoke" } } }
- Edge Cases, Troubleshooting & Pro-Tips:
stops after 50 requests unlessrun_collection
.confirmLarge: true- Authorization, cookies, and token-like env values are redacted in responses.
- One workspace per MCP process; restart to switch roots.
- Point requests at
for fully local agent loops.npm run mock
Workspace normalize (related CLI)
- Platform Availability: Full Parity (CLI utility in backend package)
- Overview:
(package script) repairs/normalizes on-disk workspace layout for Git-friendly collections. Use when migrating legacy state or after manual file edits.workspace:normalize
npm run workspace:normalize -- --workspace C:/absolute/path/to/workspace
- Edge Cases, Troubleshooting & Pro-Tips: Commit after normalize so teammates share the same layout.
Related
Need something else? See the FAQ. Questions: [email protected]. Bugs: [email protected].