
Security News
White House Authorizes Private Companies to Conduct Offensive Cyber Operations
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.
@shiplightai/mcp2
Advanced tools
Stripped MCP server for UI exploration — browser tools only, no cloud dependency
MCP server for browser UI exploration. Provides tools to launch browser sessions, navigate pages, inspect the DOM, perform actions, and collect locators — designed for coding agents that explore UI then write Playwright tests with @shiplightai/sdk.
npm install -g @shiplightai/mcp2
Add to your Claude Code MCP config (~/.claude/settings.json):
{
"mcpServers": {
"shiplight": {
"command": "shiplight-mcp2"
}
}
}
Add to your Claude Desktop config:
{
"mcpServers": {
"shiplight": {
"command": "npx",
"args": ["-y", "@shiplightai/mcp2"]
}
}
}
Add to your MCP config (.cursor/mcp.json or equivalent):
{
"mcpServers": {
"shiplight": {
"command": "npx",
"args": ["-y", "@shiplightai/mcp2"]
}
}
}
| Tool | Description |
|---|---|
new_session | Launch a browser session with optional device emulation |
save_storage_state | Save cookies/localStorage for session reuse |
close_session | Close a browser session |
close_all | Close all browser sessions |
get_session_state | Get current URL and session type |
| Tool | Description |
|---|---|
navigate | Navigate to a URL |
get_page_info | Get page URL and title (lightweight) |
inspect_page | Screenshot + DOM with element indices |
act | Perform browser actions using element indices |
get_locator | Extract Playwright locator for an element |
update_variables | Set session variables for browser tasks |
clear_execution_history | Clear action history for a session |
| Tool | Description |
|---|---|
get_browser_console_logs | Get console logs (errors, warnings) |
get_browser_network_logs | Get network request logs |
clear_logs | Clear console and network logs |
get_artifact | Retrieve screenshots or DOM snapshots |
The server exposes two resources for coding agents:
shiplight://schemas/action-entity — Parameter docs for all browser actionsshiplight://docs/agent-sdk — API documentation for @shiplightai/sdk, including a workflow guide for turning UI exploration into test codeinspect_page + act to navigate the appget_locator on elements you want to test@shiplightai/sdk for AI-powered assertions and self-healingimport { test, expect } from '@playwright/test';
import { createAgent, configureSdk } from '@shiplightai/sdk';
configureSdk({ env: { GOOGLE_API_KEY: process.env.GOOGLE_API_KEY! } });
test('checkout flow', async ({ page }) => {
const agent = createAgent({ model: 'gemini-2.5-pro' });
await page.goto('https://myshop.example.com');
await page.getByRole('button', { name: 'Add to Cart' }).click();
await agent.assert(page, 'Item was added to cart');
await agent.run(page, 'Complete checkout with test data');
});
| Variable | Default | Description |
|---|---|---|
WEB_AGENT_MODEL | gemini-2.5-pro | AI model for browser agent |
TERMINATION_TIMEOUT | (none) | Session auto-close timeout in ms |
MIT
FAQs
Stripped MCP server for UI exploration — browser tools only, no cloud dependency
We found that @shiplightai/mcp2 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.

Research
/Security News
The campaign amassed more than 75,000 installs by targeting Russian-speaking users seeking access to blocked services.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.