Playwright MCP Server
Browser Automationstdiov0.1.5
Microsoft's official Playwright MCP server that provides browser automation capabilities for AI agents. Enables navigating web pages, clicking elements, filling forms, taking screenshots, and extracting content. Supports headless and headed modes with Chromium, Firefox, and WebKit browsers. Ideal for web testing, scraping, and interactive browsing tasks.
Connect
Add this configuration to .claude/mcp.json
{
"mcpServers": {
"playwright": {
"command": "npx",
"args": [
"-y",
"@playwright/mcp"
]
}
}
}Tools (5)
browser_navigate
Navigate the browser to a specified URL.
{
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"description": "URL to navigate to"
}
}
}browser_click
Click an element on the page using a CSS or text selector.
{
"type": "object",
"required": [
"selector"
],
"properties": {
"selector": {
"type": "string",
"description": "CSS selector or text content to identify the element"
}
}
}browser_fill
Fill an input field with text.
{
"type": "object",
"required": [
"selector",
"value"
],
"properties": {
"value": {
"type": "string",
"description": "Text to fill into the input"
},
"selector": {
"type": "string",
"description": "CSS selector for the input element"
}
}
}browser_screenshot
Take a screenshot of the current page or a specific element.
{
"type": "object",
"properties": {
"selector": {
"type": "string",
"description": "Optional CSS selector to screenshot a specific element"
}
}
}browser_get_text
Extract text content from the page or a specific element.
{
"type": "object",
"properties": {
"selector": {
"type": "string",
"description": "Optional CSS selector to extract text from"
}
}
}Resources
This server does not expose any resources.
Prompts
This server does not expose any prompts.
Server Information
- Author
- Microsoft (@microsoft)
- License
- Apache-2.0
- Version
- 0.1.5
- Stars
- 32,997
- Last Updated
- May 25, 2026