Playwright MCP Server
About
Playwright MCP Server 一个基于 FastMCP 框架的专业级 Playwright 浏览器自动化 MCP 服务器,为 LLM 应用提供强大的网页交互和数据提取能力。
Details
- Author
- ma-pony
- Downloads
- 450
- Categories
- Automation
Jump to
- Full Playwright browser control and automation
- Multi-engine support: Chromium, Firefox, WebKit
- Independent browser sessions with concurrent operation
- Smart lifecycle management and resource cleanup
- Comprehensive error handling and timeout control
- Modular design with type safety and async safety
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Playwright MCP ServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Install via pip install mcp-playwright (or uv add mcp-playwright) and run playwright install to download browsers. Start the server with the mcp-playwright command. Integrate with Claude Desktop by adding the tool’s command to the MCP configuration JSON.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"playwright mcp server": {
"mcp-playwright-ma-pony": {
"command": "uv",
"args": [
"sync"
]
}
}
}
}
McpServers
{
"mcp-playwright-ma-pony": {
"command": "uv",
"args": [
"sync"
]
}
}
Playwright MCP Server
一个基于 FastMCP 框架的专业级 Playwright 浏览器自动化 MCP 服务器,为 LLM 应用提供强大的网页交互和数据提取能力。
🌟 特性
🎯 核心功能
- 浏览器自动化: 完整的 Playwright 浏览器控制能力 - 多引擎支持: 支持 Chromium、Firefox、WebKit - 会话管理: 独立的浏览器会话,支持并发操作 - 资源管理: 智能的生命周期管理和资源清理 - 错误恢复: 完善的错误处理和超时控制🏗️ 工程化特性
- 模块化设计: 清晰的代码架构和职责分离 - 类型安全: 完整的 TypeScript 风格类型注解 - 异步安全: 基于 asyncio 的并发安全实现 - 生命周期管理: 使用 FastMCP 的生命周期机制 - 日志系统: 结构化的日志记录和监控🛠️ 工具集合
- 浏览器控制: 创建/关闭会话、页面导航 - 页面交互: 点击、输入、等待元素 - 数据提取: 文本内容、属性值、页面信息 - 高级功能: 截图、JavaScript 执行 - 资源接口: 会话状态、健康检查🚀 快速开始
安装
```bash
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.


