@shiplightai/mcp 0.1.34 → 0.1.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +10 -3
  2. package/dist/index.js +399 -411
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -53,13 +53,20 @@ Pass environment variables through your MCP config:
53
53
  }
54
54
  ```
55
55
 
56
- The server also reads inherited host environment variables, so you can export `SHIPLIGHT_API_TOKEN` before launching your MCP client instead of duplicating it in the MCP config.
56
+ The server resolves environment variables in this order:
57
+
58
+ 1. Variables passed explicitly by your MCP client config
59
+ 2. Inherited host environment variables
60
+ 3. A `.env` file in the current working directory where the MCP server starts
61
+
62
+ Existing environment variables are never overridden by `.env`, so project-local `.env` values act as a fallback.
57
63
 
58
64
  ## CLI Options
59
65
 
60
66
  | Option | Description |
61
67
  |--------|-------------|
62
- | `--cloud` | Enable cloud features (test case management, test results). Requires `SHIPLIGHT_API_TOKEN`. |
68
+ | `--cloud` | Cloud-only mode exposes only sync tools (`save_test_case`, `save_template`, `save_function`). Requires `SHIPLIGHT_API_TOKEN`. |
69
+ | `--full` | Full mode — browser tools + cloud features. Requires `SHIPLIGHT_API_TOKEN` for cloud tools. |
63
70
 
64
71
  ## What It Does
65
72
 
@@ -68,7 +75,7 @@ Once connected, your AI coding agent can:
68
75
  - **Verify its own UI changes** — Open pages, interact with elements, and assert visual conditions using AI ("Verify the success message is displayed")
69
76
  - **Debug UI issues** — Inspect console errors and network failures directly from the browser session
70
77
  - **Generate regression tests** — Every action is captured as a human-readable step, so sessions can be exported as `.test.yaml` files for fast, deterministic replay
71
- - **Sync to the cloud** — Manage test cases on Shiplight's cloud platform for team-wide regression coverage (requires `--cloud` and `SHIPLIGHT_API_TOKEN`)
78
+ - **Sync to the cloud** — Manage test cases on Shiplight's cloud platform for team-wide regression coverage (requires `--full` or `--cloud`, plus `SHIPLIGHT_API_TOKEN`)
72
79
  - **Attach to existing Chrome tabs** — Control your existing Chrome tabs via the Shiplight AI extension without recreating login state or complex setups
73
80
 
74
81
  ## Links