Skip to content

Cloud Testing

Store test cases in the cloud, trigger runs, and analyze results with full runner logs, screenshots, and trace files.

Cloud tools require the --cloud flag

Cloud testing tools are only available when the MCP server is started with --cloud:

bash
claude mcp add shiplight \
  -e PWDEBUG=console \
  -e GOOGLE_API_KEY=your-google-api-key \
  -e API_TOKEN=your-shiplight-api-token \
  -- npx -y @shiplightai/mcp@latest --cloud

Without --cloud, only browser automation tools are available.

Capabilities

The AI agent can:

  • Create and update test cases from YAML flows
  • Trigger cloud test runs across environments
  • Get detailed results: step-by-step status, screenshots, runner logs
  • Manage test infrastructure: environments, test accounts, folders

Example conversation:

You: Create a test case from my login-test.yaml and run it on staging

Claude: [reads YAML, creates test case, triggers run, polls for results]
Test case #502 created. Cloud run completed in 1m 23s — all 8 steps passed.

Test Case Management

ToolDescription
save_test_caseSave a YAML flow — auto-creates or updates based on embedded test_case_id
get_test_caseGet test case details (supports YAML output with test_case_id embedded)

Test Execution

ToolDescription
run_test_caseTrigger a cloud test run
list_test_runsList test runs with filtering
get_test_run_detailsGet run status and test case results

Test Results

ToolDescription
get_test_case_resultGet detailed result with runner logs (stdout/stderr)
get_test_case_result_stepsGet step-by-step execution details
get_step_artifactsDownload screenshots and artifacts for a step

Infrastructure

ToolDescription
list_environmentsList testing environments
list_test_accountsList test accounts for an environment
get_test_accountGet test account details
create_test_accountCreate a test account with login config
list_foldersList test case folders
create_folderCreate a folder for organizing test cases
get_folderGet folder details with full path

Testing Your Local Dev Server from the Cloud

Cloud test runners cannot access localhost directly. To test your local development server from the cloud, use a tunneling service to expose it via a public HTTPS URL:

ngrok

bash
ngrok http 3000
# Gives you a URL like https://abc123.ngrok-free.app

pinggy

bash
ssh -p 443 -R0:localhost:3000 a.pinggy.io
# Gives you a URL like https://abc123.a.pinggy.link

Then use the tunnel URL as your environment URL in Shiplight Cloud:

Run my login test case on https://abc123.ngrok-free.app

TIP

Tunneling services work well for quick ad-hoc testing. For regular use, consider deploying to a staging environment instead.

Running Tests Locally

Test flows can also be exported as standalone Playwright tests for running on your own machine or in CI — no cloud runner needed. See Local Testing.

Released under the MIT License.