AGENT SKILL
playwright-mcp
Use this skill when the user needs browser automation — navigate, click, type, take screenshots, extract page data via MCP.
- License 许可
- MIT
- 最近更新
- 2026-11-02
- Stars
- ★ 57
- Forks
- 5
01 前言 Front Matter
- name
- playwright-mcp
- description
- Use this skill when the user needs browser automation — navigate, click, type, take screenshots, extract page data via MCP.
03 SKILL.md 正文
Playwright MCP — Browser Automation for AI Agents
Official Microsoft MCP server (32.5k⭐). Control browser via MCP tools over stdio. Works with any MCP client.
Commands
playwright-mcp <resource> <action>— Execute playwright-mcp commandsplaywright-mcp self mcp— Register playwright-mcp MCP server for agent useplaywright-mcp self start— Start playwright-mcp MCP server manuallyplaywright-mcp _ _— Passthrough to playwright-mcp CLI
Quick Start
sc playwright-mcp self mcp # Register MCP server
# Then agents can use browser tools directly
MCP Tools Available
Once registered, agents get these tools:
| Tool | Description |
|---|---|
browser_navigate |
Navigate to a URL |
browser_click |
Click element by selector |
browser_fill |
Fill input field |
browser_snapshot |
Get page state (accessible snapshot) |
browser_screenshot |
Take screenshot |
browser_press_key |
Press keyboard key |
browser_close |
Close current page |
Usage (via Agent)
Agents can say:
- "Navigate to https://example.com"
- "Take a screenshot of the page"
- "Click the login button"
- "Fill the search box with 'query'"
Requirements
- Node.js 18+ (for npx)
- First run auto-downloads @playwright/mcp from npm
Notes
- Each agent session spawns a new browser context
- Screenshots return base64-encoded PNG
- Uses Chromium by default (auto-installed)
- For persistent sessions, keep the daemon running
04 同仓库更多 Skills
sc-machin-mcp
暂无简介
★ 57
supercli.quickstart
SuperCLI capability router — discover and execute CLI commands through namespace.resource.action interface
★ 57
zzdoc
Use this skill to compile scdoc manpages with a fast Zig-based compiler.
★ 57
zx
Use this skill when the user wants to a tool for writing better scripts using node.js.
★ 57
zvm
Use this skill when the user wants to manage multiple Zig compiler versions.
★ 57
quickstart
暂无简介
★ 57