Playwright MCP
简介
微软官方的浏览器自动化 MCP Server,让 Agent 可以操作网页、填表、截图、跑端到端测试,网页 Agent 开发必备。
English
Microsoft's official MCP server for browser automation: let agents browse, fill forms, screenshot and run E2E tests.
适用场景
- 让 Agent 真正操作网页:登录、填表、点按钮、抓列表数据
- 写爬虫总被前端改版搞崩,想用语义定位替代硬编码选择器
- 把重复的网页操作流程交给 AI 跑
快速上手
- 先跑 npx @playwright/mcp@latest 确认能启动
- 在 Claude Code / Cursor 的 MCP 配置里加入该 server
- 让它打开目标页面并执行一句话任务,观察快照与点击轨迹
- 需要登录态时用 --user-data-dir 复用真实浏览器 profile
标签
相关资源
AutoGen
微软开源的多 Agent 对话框架,让多个 Agent 通过对话协作完成复杂任务,支持人机混合参与,学术与工业界应用广泛。Microsoft's open-source framework where multiple agents converse to solve complex tasks, with human-in-the-loop support.
Model Context Protocol(MCP) 精选
Anthropic 推出的模型上下文开放协议,已成为 AI 工具调用的事实标准;官方 servers 仓库收录文件系统、搜索、数据库等参考实现。Anthropic's open protocol connecting AI models to tools and data — the de-facto standard, with reference server implementations.
FastMCP
最流行的 Python MCP Server 开发框架,几行装饰器即可把函数发布为 MCP 工具,开发效率极高。The popular Pythonic framework for building MCP servers — expose functions as tools with a few decorators.