Shiplight AI Documentation β
AI does the work. Humans take control. β
Shiplight gives your coding agent eyes and hands in a real browser β it builds features, verifies they work, and auto-generates regression tests, all in one flow. No manual testing, no context switching, no account needed.
For a deeper look at everything included (free browser automation vs optional AI/cloud features), see What is Shiplight AI?.
Step 1: Add MCP and Skills β
Skills install via skills; the MCP server installs via add-mcp. Add -g to either command for a user-level (global) install. Restart your agent after install.
Common agents β
Each block below is copy-paste ready (non-interactive via -y).
Claude Code
npx -y skills add ShiplightAI/agent-skills -a claude-code -y && \
npx -y add-mcp "npx -y @shiplightai/mcp@latest" -n shiplight --env PWDEBUG=console -a claude-code -yCursor
npx -y skills add ShiplightAI/agent-skills -a cursor -y && \
npx -y add-mcp "npx -y @shiplightai/mcp@latest" -n shiplight --env PWDEBUG=console -a cursor -yCursor disables newly-added MCP servers by default. Enable it: Cursor β Settingsβ¦ β Cursor Settings β Tools & MCPs β Installed MCP Servers β shiplight (Disabled) β toggle the switch to enable.
VS Code
VS Code reads skills via the GitHub Copilot extension. Install skills under github-copilot and the MCP server under vscode:
npx -y skills add ShiplightAI/agent-skills -a github-copilot -y && \
npx -y add-mcp "npx -y @shiplightai/mcp@latest" -n shiplight --env PWDEBUG=console -a vscode -yCodex
npx -y skills add ShiplightAI/agent-skills -a codex -y && \
npx -y add-mcp "npx -y @shiplightai/mcp@latest" -n shiplight --env PWDEBUG=console -a codex -yGemini CLI
npx -y skills add ShiplightAI/agent-skills -a gemini-cli -y && \
npx -y add-mcp "npx -y @shiplightai/mcp@latest" -n shiplight --env PWDEBUG=console -a gemini-cli -yCopilot CLI
Requires Copilot Pro+ β select GPT-5.4 or Claude Opus 4.6 as your model. Install Copilot CLI first.
npx -y skills add ShiplightAI/agent-skills -a github-copilot -y && \
npx -y add-mcp "npx -y @shiplightai/mcp@latest" -n shiplight --env PWDEBUG=console -a github-copilot-cli -yClaude Desktop
Claude Desktop consumes MCP tools but doesn't run skills. MCP only:
npx -y add-mcp "npx -y @shiplightai/mcp@latest" -n shiplight --env PWDEBUG=console -a claude-desktop -g -yZed
Zed consumes MCP tools but doesn't run skills. MCP only:
npx -y add-mcp "npx -y @shiplightai/mcp@latest" -n shiplight --env PWDEBUG=console -a zed -yOpenCode
npx -y skills add ShiplightAI/agent-skills -a opencode -y && \
npx -y add-mcp "npx -y @shiplightai/mcp@latest" -n shiplight --env PWDEBUG=console -a opencode -yAntigravity
Antigravity's MCP config is user-level only, so add-mcp needs -g:
npx -y skills add ShiplightAI/agent-skills -a antigravity -y && \
npx -y add-mcp "npx -y @shiplightai/mcp@latest" -n shiplight --env PWDEBUG=console -a antigravity -g -yOther agents β
skills supports 40+ agents β Windsurf, Warp, Roo, Continue, Junie, Kiro, Trae, OpenHands, and more. Install skills via:
npx -y skills add ShiplightAI/agent-skills -a <agent> -ySee the full list of agents.
Manual MCP config β
For agents that add-mcp doesn't cover, add the MCP server manually. Paste this into your agent's MCP config file (location varies β check your agent's docs):
{
"mcpServers": {
"shiplight": {
"command": "npx",
"args": ["-y", "@shiplightai/mcp@latest"],
"env": {
"PWDEBUG": "console"
}
}
}
}Updating β
The MCP server always runs the latest release via npx -y @shiplightai/mcp@latest β no update step needed.
Skills are pinned locally. Update them with:
npx -y skills update -p # project-level
npx -y skills update -g # user-level (global)Step 2: Verify UI changes β
After your coding agent makes frontend changes, use /verify to have it open a browser, inspect the page, and confirm the result.
Update the navbar to include "Pricing" and "Blog" links, then use /verify to confirm they appear correctly on localhost:3000.Step 3: Create regression tests β
Use /create-tests to scaffold a test project and write YAML tests by walking through your app in a real browser. Tests run locally with npx shiplight test.
Use /create-tests to set up a test project at ./tests and write a login flow test for localhost:3000.Step 4: Triage failing tests β
When tests break after UI changes, deployments, or flow updates, use /triage to automatically reproduce failures, diagnose root causes, and fix the YAML tests. If the application itself is broken, triage reports the bug without modifying tests.
Use /triage to fix failing tests in ./tests after the latest deployment.Step 5: Sync to cloud (optional) β
With a Shiplight account, use /cloud to sync local tests to the cloud for scheduled runs, team collaboration, and result tracking. Set SHIPLIGHT_API_TOKEN in your project's .env to enable cloud tools.
Use /cloud to sync all test cases in ./tests to Shiplight cloud.Configuration β
| Variable | Required | Description | Default |
|---|---|---|---|
SHIPLIGHT_API_TOKEN | For cloud features | Shiplight API token β enables cloud sync tools. Get your token from app.shiplight.ai/settings/api-tokens. | β |
Next Steps β
- Browser Automation - Full reference for browser automation tools and actions
- Understanding YAML Test Format - Statement types, actions, conditionals, loops, variables, and templates
- Local Testing - Export tests as standalone Playwright files for local or CI execution
- Cloud Testing - Create test cases, trigger cloud runs, and analyze results