What dependencies does Playwright MCP Server require?
Python 3.x, the `fastmcp>=2.0.0` and `playwright` packages, and the Playwright Chromium browser installed via `playwright install chromium`.
@san0808
基本信息
This server provides a comprehensive set of tools to control a web browser instance using Playwright, exposed via the Model Context Protocol (MCP). It allows AI models or other MCP clients to perform complex web browsing tasks across multiple pages/tabs.
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"playwright_mcp_server": {
"command": "python",
"args": [
"client_example.py"
]
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
This server provides a comprehensive set of tools to control a web browser instance using Playwright, exposed via the Model Context Protocol (MCP). It allows AI models or other MCP clients to perform complex web browsing tasks across multiple pages/tabs.
Install the Python dependencies (pip install "fastmcp>=2.0.0" playwright) and install Playwright’s Chromium browser (playwright install chromium). Run the server via the FastMCP CLI, e.g. fastmcp run main.py --transport sse --port 8001, then execute the provided client example script.
Python 3.x, the `fastmcp>=2.0.0` and `playwright` packages, and the Playwright Chromium browser installed via `playwright install chromium`.
Use the FastMCP CLI: `fastmcp run main.py --transport sse --port 8001`. Alternatively, a client example using stdio transport is included.
Yes, `playwright_evaluate` and `playwright_execute_javascript` are powerful and can execute arbitrary code. Use with caution or disable them if the server is exposed publicly.
The server can be run with SSE (WebSocket) or stdio transport, as shown in the usage examples.
MIT License.
Give your AI agent the live web. One MCP server for Search, Fetch, Browser, and Agent: browse real sites, extract structured data, fill forms, and run multi-step workflows. Search and Fetch are free.

Model Context Protocol Servers
MCP server paired with a browser extension that enables AI agents to control the user's browser.
Helps AI assistants access text content from bot-protected websites. MCP server that fetches HTML/markdown from sites with anti-automation measures using Scrapling.
评论