Skip to content
LangChain

playwright stealth for LangChain

com.pulsemcp/playwright-stealth

Browser automation using Playwright with optional stealth mode to bypass anti-bot protection.

client:LangChain transport:stdio runtime:npm

Install playwright stealth in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "playwright-stealth": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "playwright-stealth-mcp-server"],
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

playwright stealth in other clients