
Research
/Security News
60 Malicious Ruby Gems Used in Targeted Credential Theft Campaign
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
aisquare-playwright-mcp
Advanced tools
Browser automation tools for AI assistants. Control web browsers directly from VS Code Copilot.
Ctrl+Shift+P
)Recommended tools to try first:
browser_codegen_start
- Start recording your browser actionsbrowser_codegen_stop
- Stop recording and get the generated codebrowser_navigate
- Navigate to any websitebrowser_snapshot
- Take a snapshot of the current pageIf you prefer manual setup or use other MCP clients:
Add to your MCP configuration:
{
"mcpServers": {
"aisquare-playwright": {
"command": "npx",
"args": ["aisquare-playwright-mcp@latest"]
}
}
}
npm install -g aisquare-playwright-mcp
Ask Copilot things like:
Essential Tools:
browser_navigate
- Go to any websitebrowser_snapshot
- See what's on the pagebrowser_click
- Click buttons and linksbrowser_type
- Fill in text fieldsbrowser_codegen_start/stop
- Record and generate test codeAdvanced Tools:
Tools not showing up?
Installation taking too long?
You can customize the MCP server behavior using command line arguments:
{
"mcpServers": {
"aisquare-playwright": {
"command": "npx",
"args": [
"aisquare-playwright-mcp@latest",
"--headless",
"--browser", "chrome"
]
}
}
}
Available Options:
--allowed-origins <origins> Allow specific origins (semicolon-separated)
--blocked-origins <origins> Block specific origins (semicolon-separated)
--browser <browser> Browser to use: chrome, firefox, webkit, msedge
--headless Run browser in headless mode
--device <device> Emulate device, e.g., "iPhone 15"
--viewport-size <size> Browser viewport size, e.g., "1280,720"
--user-agent <ua> Custom user agent string
--proxy-server <proxy> Proxy server, e.g., "http://myproxy:3128"
--isolated Use isolated browser sessions
--port <port> Port for standalone server mode
--output-dir <path> Directory for output files
--save-trace Save Playwright traces
--vision Use screenshot mode instead of snapshots
For complex setups, use a configuration file:
npx aisquare-playwright-mcp --config config.json
Example config.json:
{
"browser": {
"browserName": "chromium",
"headless": false,
"launchOptions": {
"channel": "chrome",
"args": ["--disable-web-security"]
},
"contextOptions": {
"viewport": { "width": 1920, "height": 1080 },
"userAgent": "Custom User Agent"
}
},
"server": {
"port": 3000,
"host": "localhost"
},
"capabilities": ["core", "tabs", "pdf", "files"],
"network": {
"allowedOrigins": ["https://example.com"],
"blockedOrigins": ["https://ads.example.com"]
},
"outputDir": "./output",
"vision": false
}
Run different browser configurations for different tasks:
{
"mcpServers": {
"playwright-chrome": {
"command": "npx",
"args": ["aisquare-playwright-mcp@latest", "--browser", "chrome"]
},
"playwright-firefox": {
"command": "npx",
"args": ["aisquare-playwright-mcp@latest", "--browser", "firefox"]
},
"playwright-mobile": {
"command": "npx",
"args": ["aisquare-playwright-mcp@latest", "--device", "iPhone 15"]
}
}
}
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
:
{
"mcpServers": {
"aisquare-playwright": {
"command": "npx",
"args": ["aisquare-playwright-mcp@latest"]
}
}
}
Go to Cursor Settings
→ MCP
→ Add new MCP Server
:
aisquare-playwright
npx
aisquare-playwright-mcp@latest
{
"mcpServers": {
"aisquare-playwright": {
"command": "docker",
"args": ["run", "-i", "--rm", "aisquare/playwright-mcp"]
}
}
}
import { createConnection } from 'aisquare-playwright-mcp';
import { SSEServerTransport } from '@modelcontextprotocol/sdk/server/sse.js';
// Create connection with custom config
const connection = await createConnection({
browser: {
launchOptions: { headless: true },
contextOptions: { viewport: { width: 1920, height: 1080 } }
}
});
// For HTTP server setup
const transport = new SSEServerTransport('/messages', res);
await connection.server.connect(transport);
Browser profiles are stored at:
Windows: %USERPROFILE%\AppData\Local\aisquare-playwright\mcp-profile
macOS: ~/Library/Caches/aisquare-playwright/mcp-profile
Linux: ~/.cache/aisquare-playwright/mcp-profile
Use --user-data-dir
to customize the location.
License: Apache-2.0
FAQs
AiSquare Playwright Tools for MCP
The npm package aisquare-playwright-mcp receives a total of 54 weekly downloads. As such, aisquare-playwright-mcp popularity was classified as not popular.
We found that aisquare-playwright-mcp 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.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.
Research
/Security News
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.